Commit graph

26269 commits

Author SHA1 Message Date
James R
af285f309c Menus/Profiles: tweak character select interpolation 2024-02-22 02:31:51 -08:00
AJ Martinez
71b352cd67 Check for removed target of MT_DROPTARGET_SHIELD 2024-02-22 03:11:00 -07:00
AJ Martinez
3d512c9787 Merge branch 'addmessage-button-codes' into 'master'
AddMessage fixes

See merge request KartKrew/Kart!1938
2024-02-22 05:38:24 +00:00
AJ Martinez
31272cafa0 AddMessage fixes 2024-02-21 21:55:08 -07:00
Eidolon
f998d1a929 Merge branch 'json-gamedata' into 'master'
Rewrite gamedata format

See merge request KartKrew/Kart!1931
2024-02-22 02:46:41 +00:00
Eidolon
64fbadcc81 Merge branch 'stats-music' into 'master'
Stats & time attack intermission music

See merge request KartKrew/Kart!1936
2024-02-22 02:35:57 +00:00
Eidolon
6dc6bb63a7 Play TIMENT for mode attack intermission 2024-02-21 19:13:14 -06:00
Eidolon
ec6e96ca49 Rename cup emerald field to gotemerald, make bool 2024-02-21 18:44:58 -06:00
Eidolon
b1cf0207bf Remove unused _saveid fields from in-mem gamedata 2024-02-21 18:44:44 -06:00
Eidolon
4824b5d434 Allow cup records in gamedata to be flexibly-sized 2024-02-21 18:40:35 -06:00
AJ Martinez
09cdc60697 Suppress bufo spawn, bufo sound, and hud messages when exiting 2024-02-21 17:22:15 -07:00
Eidolon
fdff7bbe9f Clean up risky default-init of gamedata structs 2024-02-21 18:20:00 -06:00
Eidolon
38940ee568 Rename goner gamedata struct to milestones 2024-02-21 17:51:53 -06:00
Eidolon
ee064b5395 Set stats menu music to EXSTAT 2024-02-21 17:37:01 -06:00
Eidolon
ce6b76b0cf Fix spraycans on JSON, store can color name 2024-02-21 08:35:15 -06:00
Eidolon
266fe6d65d Fix cup data loading from json 2024-02-20 21:28:53 -06:00
Eidolon
ec1041eaa2 Add support for spb attack records in json gamedata 2024-02-20 19:29:41 -06:00
Sally Coolatta
7745c3e837 Continues "penalty" starts positive now
Before:
0 continues = 0 pts
1 continue = -20 pts
2 continues = -40 pts
3 continues = -60 pts

After:
0 continues = +40 pts
1 continue = +20 pts
2 continues = 0 pts
3 continues = -20 pts
2024-02-20 19:27:45 -05:00
Eidolon
a5b870a0b3 io: Always discard file_ pointer on close() 2024-02-20 01:26:00 -06:00
James R.
36b4e88e11 Merge branch 'fix-admin-commands' into 'master'
Put bounds checking on promote and demote commands

See merge request KartKrew/Kart!1916
2024-02-20 04:20:44 +00:00
James R.
7b6d02509a Merge branch 'fix-lua-command-exploit' into 'master'
Fix Lua command crash exploit

See merge request KartKrew/Kart!1917
2024-02-20 04:20:33 +00:00
James R.
e0a77bd14a Merge branch 'rename-tm' into 'master'
C++ compat: rename tm -> g_tm

See merge request KartKrew/Kart!1932
2024-02-20 04:14:18 +00:00
SteelT
6f2a73e911 streams.cpp: include cstring for strerror 2024-02-19 21:52:37 -05:00
Eidolon
af7800c17b C++ compat: rename tm -> g_tm
This one's not even C++. It's in the ISO C standard library. :(
2024-02-19 19:36:42 -06:00
Eidolon
b0348526cd Rewrite gamedata format 2024-02-18 21:10:36 -06:00
AJ Martinez
adef95cf55 Add generic SFX (and use two of 'em for virtual keyboard) 2024-02-17 22:57:53 -07:00
Oni
e0fe5543fa Merge branch 'fix-podiumcup-condition' into 'master'
Fix PodiumCup grade condition + debugchallenges fix

Closes #833

See merge request KartKrew/Kart!1929
2024-02-18 04:11:25 +00:00
Oni
77ffc08444 Merge branch 'fix-antigrief-all-spectators' into 'master'
Ignore no-contest antigrief if no humans left

Closes #1018

See merge request KartKrew/Kart!1927
2024-02-18 03:51:09 +00:00
Oni
94636921f8 Merge branch 'safer-cfg-saving' into 'master'
Save config to temp file and move into place

Closes #1020

See merge request KartKrew/Kart!1926
2024-02-18 03:50:56 +00:00
Oni
159c41425b Merge branch 'const-netxcmd-buffer' into 'fix-lua-command-exploit'
Pass const pointer to all netxcmd handlers

See merge request KartKrew/Kart!1918
2024-02-18 03:21:38 +00:00
Oni
e9af71faf0 Merge branch 'dont-clear-demo-attract' into 'master'
Don't reset demo.attract in D_ClearState

Closes #1053

See merge request KartKrew/Kart!1928
2024-02-18 03:17:24 +00:00
Eidolon
0a0179e1df Merge branch 'fix-7th-place-game-over' into 'master'
Lose player life before P_CheckRacers on exit

Closes #1022

See merge request KartKrew/Kart!1924
2024-02-18 01:48:34 +00:00
Eidolon
d30cdbd479 Merge branch 'fix-mt-sscandle' into 'master'
Fix MT_SSCANDLE initialization

Closes #1052

See merge request KartKrew/Kart!1925
2024-02-18 01:48:00 +00:00
Oni
674a5e8c7a Merge branch 'limited-footfix' into 'master'
GL: Don't pull papersprites towards camera

Closes #988

See merge request KartKrew/Kart!1923
2024-02-18 01:22:14 +00:00
Oni
8649e34ccd Merge branch 'no-explosion-thrust' into 'master'
Battle polish mk.420

Closes #1041 and #1050

See merge request KartKrew/Kart!1922
2024-02-18 01:22:01 +00:00
James R
cc240600e9 M_CheckCondition: fix UCRP_PODIUMCUP GP grade
- PodiumCup grade condition was completely broken and
  checked against the cup ID instead of the grade letter
2024-02-17 16:39:07 -08:00
James R
2e60465638 debugchallenges: unset conditionset achieved
If you undo an unlock, fixes that unlock automatically
unlocking itself the next time conditions are evaluated.
2024-02-17 16:38:13 -08:00
Eidolon
4cab794932 Don't reset demo.attract in D_ClearState
Fixes KartKrew/Kart#1053 allowing credits to continue after demo is
exited.
2024-02-17 17:59:20 -06:00
toaster
d87fba3f57 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into separate-spb-attack-records 2024-02-17 23:13:06 +00:00
toaster
8033417551 Y_CalculateMatchData: Only use player tally if data is valid 2024-02-17 23:12:31 +00:00
toaster
b70e59755f Tie SPB Attack and Encore together
- A method to access Encore in Time Attack
    - so we have SOME Encore singleplayer content on launch
- Also available for Versus mode (in Special Attack)
    - Finally, Encore rematches have a way to access them!
    - Obviously will not spawn a chasing SPB, it's just a signal for "hard mode"
- Relevant gametype + unlock checks have been abstracted into M_EncoreAttackTogglePermitted
2024-02-17 23:11:58 +00:00
Eidolon
9c14c59929 Fix MT_SSCANDLE initialization 2024-02-17 16:35:46 -06:00
Eidolon
d917a7f394 Ignore no-contest antigrief if no humans left
Allows all-bots races to continue to intermission and advance to next
level. Fixes KartKrew/Kart#1018
2024-02-17 16:23:08 -06:00
Oni
793e56b66d Merge branch 'gp-egg-tv' into 'master'
Grand Prix support for replays

Closes #1042, #993, and #1044

See merge request KartKrew/Kart!1921
2024-02-17 22:04:13 +00:00
Eidolon
ad0ced4da0 Save config to temp file and move into place
Fixes KartKrew/Kart#1020 by not trying to write over ringconfig until
we have successfully written the whole config out, then atomically
replacing the old config with the new one using C++17 FS.
2024-02-17 15:41:32 -06:00
Eidolon
d3783dec11 Lose player life before P_CheckRacers on exit
Fixes KartKrew/Kart#1022 by ensuring the player has 0 lives by the time
P_CheckRacers indirectly calls G_BeginLevelExit.
2024-02-17 15:12:04 -06:00
AJ Martinez
25ea0bf743 Exclude all "3D Geometry" sprites from sprite-clip hack 2024-02-14 04:14:28 -07:00
AJ Martinez
77617c9d31 GL: Don't pull papersprites towards camera 2024-02-13 18:19:52 -07:00
AJ Martinez
c1c31c28ef Use proper sound for periodic bufo reminder 2024-02-13 00:29:40 -07:00
James R
8bf2343a5d Egg TV: Prisons, Sealed Star and Versus icons 2024-02-12 18:22:59 -08:00