Commit graph

20748 commits

Author SHA1 Message Date
Indev
a8f29fbdf2 New statistics menu (WIP) 2025-02-25 14:31:46 -05:00
Indev
87693db34e Check for spectator in K_StatRound 2025-02-25 14:18:29 -05:00
Indev
151b0ba9d9 Wipe kart stats on game data reload 2025-02-25 14:15:42 -05:00
Indev
437b8425c7 That was from testing a 2025-02-25 14:15:36 -05:00
Indev
1922870773 Make custom stats fully compatible between different versions, so new fields can be added in future without save corruptions 2025-02-25 14:15:29 -05:00
NepDisk
c8e78711a6 dont throw a warning about addons with custom gamedata
just ignore it
2025-02-25 14:15:19 -05:00
Indev
778e30ade2 G_PlayerReborn didn't work for 'respawns' stats, maybe G_DoReborn will? 2025-02-25 14:13:04 -05:00
Indev
ec59f0a233 Player kartstuff's get reset in G_PlayerFinishLevel, so need to call K_StatRound earlier 2025-02-25 14:11:59 -05:00
Alug
ddd9a5a71e no need to strcmp just check for "savemoddata"
that bool only ever gets set to true if the savegame has been switched to the modded one and unlike in srb2 this WILL never be reset to false again
2025-02-25 14:10:45 -05:00
Alug
3560e60348 save vanilla save when switching to modified savegame
also add check so we dont rerun this everytime setgamemodified is called
2025-02-25 14:10:39 -05:00
Alug
19b7019e40 remove "majormods" checks from stuff that saves to savegame
so its only there to throw a notice when you load an addon
2025-02-25 14:09:56 -05:00
Indev
939ffd61db Forgor respawns 2025-02-25 14:05:13 -05:00
Indev
e29aca5ff0 Oops 2025-02-25 14:04:13 -05:00
Alug
f9a2623773 make game use seperate save when addons are loaded
so you can record attack and it will also keep saving to statistics
also added a few things it now keeps track of
TODO: unfuck the statistics page and add a 2nd one perhaps? due to space reasons
menucode is hell
2025-02-25 14:04:02 -05:00
NepDisk
8b142ceb62 Add kartstats
4942db2806
2025-02-25 14:00:10 -05:00
NepDisk
475524e7ad Add shield sounds and rework bubbleshield
BS now only has two defend / attack uses, trap gives less height and you can dropdash from the trap
2025-02-25 11:40:25 -05:00
GenericHeroGuy
458aef786b Restore wind/conveyor specials for Kart maps 2025-02-25 02:59:07 +01:00
GenericHeroGuy
0b081230c4 Fix oopsie in binary mace setup 2025-02-25 01:58:29 +01:00
NepDisk
8d704be49c Merge remote-tracking branch 'origin/cherries' into blankart-dev 2025-02-24 19:32:26 -05:00
toaster
ab243e6ffa Fix G_UpdateVisited, this time in a forward-thinking way
- Check for if a single local player isn't spectator or no-contested.
- Clean up code to return early if exclusionary conditions are met, rather than one long if conditional bundling them together
2025-02-25 01:05:21 +01:00
James R
b31e79b742 Kill last of DJGPP, WATTCP, _WINDOWS (ol' DirectDraw) 2025-02-25 00:42:42 +01:00
James R
febde8d181 Remove NONET 2025-02-25 00:31:59 +01:00
Alam Ed Arias
2658038feb Let stop building a NONET build of Kart 2025-02-24 23:48:10 +01:00
James R
45c388b1f1 Fix HUD drawing crash if 1 or more KITEM_NONE
blame 375fb72de
2025-02-24 23:47:02 +01:00
NepDisk
b70282811e Drawfill nametag stem 2025-02-24 17:11:39 -05:00
toaster
1b53d6b4bf Fix special map usage
- Free header on `CLEAR LEVELS` even if it's `tutorialmap`
- `titlemap` infinite recursion prevention Z_Free's instead of leaking
2025-02-24 22:45:26 +01:00
toaster
bde16b96a0 Skip over locked maps/cups when getting nextmap
(carve out an exception for marathon mode, although we will probably want to lock that behind all cups available)
2025-02-24 22:45:26 +01:00
James R
44defb4a86 K_GetRollingRouletteItem: support Battle 2025-02-24 22:45:26 +01:00
James R
ef6addf5d8 Add K_GetRollingRouletteItem, refactor item drawers
Roulette now cycles through all single items (that have
odds). Added missing shields and drop target.
2025-02-24 22:45:23 +01:00
Sally Coolatta
6b6b180738 Remove itnext at top of MobjThinker also 2025-02-24 21:51:44 +01:00
Sally Coolatta
2864b2abd6 NULL itnext in general on removal 2025-02-24 21:51:26 +01:00
James R
fca0231cc7 Add a mode to the toggle command, cycle a set of values
toggle timescale 0.2 0.75 1

If timescale is 0.2, go to 0.75
If timescale is 0.75, go to 1
If timescale is 1 or any other value, go to 0.2
2025-02-24 21:25:34 +01:00
James R
0f8d61fff2 command.c: refactor Setvalue, create CV_CompleteValue 2025-02-24 21:09:06 +01:00
James R
8992878b84 Move choose and chooseweighted commands to command.c
Fixes disabled under dedicated and it's the appropriate
place for these. Effectively cherry pick of 35b82b6dd9
2025-02-24 21:08:18 +01:00
toaster
7b6857bbe9 Replay hut: Show nolvl if the user hasn't added the map, or blanklvl if they have. 2025-02-24 21:02:41 +01:00
toaster
73fbca5629 Refactor handling of escape input a little
- Includes port of KartKrew/Kart-Public!250
2025-02-24 20:22:44 +01:00
toaster
f733d816e8 Modify render delta tics in the server connection ticker
Necessary so Egga Channel visual behaves properly
2025-02-24 20:16:43 +01:00
toaster
1e7eb4a24c Move gamekeydown/deviceResponding memset to D_StartTitle
Fixes an issue where, if the last button used on the menu was ESC going back to the title screen, the connection would be aborted immediately.
2025-02-24 20:15:25 +01:00
toaster
1e1bcd8fc8 Clear menus in one location.
Fixes a number of weird extra fade and gamestate set events.
2025-02-24 20:11:41 +01:00
SteelT
9e2be91e31 Fix function prototype 2025-02-24 20:07:48 +01:00
NepDisk
3779da57a5 Add more stuff to mapnamespace 2025-02-24 00:53:59 -05:00
NepDisk
5a8deb7784 Use mapnamespace for doceiling/dofloor compat 2025-02-24 00:42:09 -05:00
NepDisk
bfb4042d20 Fix Splitscreen lapcount 2025-02-23 23:40:41 -05:00
NepDisk
1a3295f670 More warning fixes, restore old pause, No void in 3p splitscreen 2025-02-23 21:45:33 -05:00
NepDisk
c25974b4b7 Be quiet please. 2025-02-23 21:04:06 -05:00
NepDisk
fce49599d3 Warn about Ring Racers maps 2025-02-23 20:40:20 -05:00
NepDisk
76e40adaf8 Item graphic tweaks 2025-02-23 19:12:44 -05:00
NepDisk
d5d1da5786 Check .kart extension for compatmode 2025-02-23 18:52:40 -05:00
GenericHeroGuy
d5cc422ec3 Make Sonic... slightly less hardcoded
Moved all the skin info to a P_SKIN lump in main.pk3
Also disabled P_SKIN for compatmode files (it's broken anyway)
2025-02-24 00:43:50 +01:00
NepDisk
c6daa4da80 Revert 'New solid object bouncing, and updated player bouncing'
This reverts commit 5ac5ca89d0.
2025-02-23 18:04:20 -05:00