Commit graph

18 commits

Author SHA1 Message Date
James R
bea1cccdde Virtual Keyboard: rewrite keyboard-gamepad switching
- Input handling is done straight in G_MapEventsToControls
- If a keyboard event is received, switch off virtual
  keyboard
  - Removed the input lock while virtual keyboard is
    sliding away
- If a gamepad event is received, and it is a change of at
  least half the full range, switch on virtual keyboard
2024-03-05 17:03:05 -08:00
James R
e86ae4b22b G_AddGhost, G_GetStaffGhostBrief: fix bugged unlockables code
This was causing the following crash:

    I_Error(): Ghost is not a record attack ghost DXD (ziptic = 1)
2024-03-05 02:56:37 -08:00
James R
4e763a058e Fix G_AddGhost and G_GetStaffGhostBrief to handle unlockables and mapmusrng 2024-03-03 22:39:16 -08:00
James R
e563f6271f Replays: auto-save when new recording starts
- Saves if the map changes
2024-03-03 06:31:07 -08:00
James R
8c76dee523 Virtual Keyboard: dynamically allocate cache; allow full size of replay title buffer 2024-03-03 06:31:06 -08:00
James R
38e1ae1c53 Replays: let name be changed any time until the file is saved 2024-03-03 06:30:54 -08:00
James R
8fa01ee558 Replays: use Virtual Keyboard for title entry
- This shortens the maximum title length from 64 to 31
  characters
2024-03-03 06:30:54 -08:00
SteelT
cc99ead23b Merge branch 'bugfix-roundup' into 'master'
Misc bug fixes

Closes #1097 and #1096

See merge request KartKrew/Kart!1992
2024-03-03 01:45:35 +00:00
Oni
b00255e333 Merge branch 'replay-stupid-parties' into 'master'
Emulate parties when watching replays

Closes #1090

See merge request KartKrew/Kart!1977
2024-03-02 21:29:43 +00:00
Eidolon
5fd7f4ee65 Allow G_LoadDemoInfo to load TA demos 2024-03-02 12:24:07 -06:00
Eidolon
ad538b3bb9 Fix returning to menu after TA replay 2024-03-01 17:38:22 -06:00
Eidolon
20cb01fb94 (demo v9) Demo save unlocks and mapmusrng
Fixes KartKrew/Kart#1093
2024-03-01 17:27:41 -06:00
James R
adebfb000c Replays: keep party in sync with current viewpoints
- More and more parts of the game rely on parties
- Parties are assumed to match the displayplayers
- This fixes A/B/C/D nametags
2024-03-01 06:09:07 -08:00
James R
3179183df7 Replays: do not initialize displayplayers to INT32_MAX
- Only demo playback does this and it's a mystery why
2024-03-01 06:04:20 -08:00
Eidolon
012b82bd9c Defer StartTitle after demo conclusion
Fixes KartKrew/Kart#1055
2024-02-27 19:51:23 -06:00
Eidolon
32715fbe66 Rewrite replay standings extrainfo 2024-02-25 10:23:46 -06:00
Eidolon
7a4c4fb5bf Replace strncpy calls to strlcpy to fix warnings 2024-02-25 10:23:46 -06:00
Eidolon
0f96337124 g_demo.c -> g_demo.cpp 2024-02-25 10:23:46 -06:00
Renamed from src/g_demo.c (Browse further)