Commit graph

28135 commits

Author SHA1 Message Date
toaster
63aaec65b1 Add roundqueue -show
Reveals the next Round in the queue via server shout message.
Can be used manually, or with automate commands for tournament rulesets that permit foreknowledge of the next Round without requiring the host to work off memory or document.
2024-10-11 13:46:30 +01:00
toaster
512ec6c2eb XD_REQMAPQUEUE --> PT_REQMAPQUEUE
It was technically possible for custom clients to spoil future rounds of a tournament queued while they are connected to a server.
Making it a PT direct packet to the servernode both solves this problem AND reduces irrelevant NetXCmd traffic for clients.
2024-10-11 13:46:26 +01:00
toaster
8bd50ddb65 clearscores is now setscore
- `setscore 0 50` will set the player in slot 0's score to 50 points
- `setscore 0 50 -add` will add 50 points to their score
- `setscore -clear` will clear all players' score, as per the old function
- Command will error if PWR is in use (no roundqueue/`usepwrlv 0`/cheats off in GP)
- The previous cheat `setscore` is renamed to `setroundscore`
2024-10-11 13:40:11 +01:00
Eidolon
f579d25770 Merge branch 'saveg-fixes' into 'master'
p_saveg fixes

See merge request KartKrew/Kart!2472
2024-10-08 00:28:16 +00:00
Antonio Martinez
7d584c1f79 Fix mobjcache memory leak after reloading gamestate
Weird history splice from 711804be
2024-10-07 19:15:51 -05:00
Antonio Martinez
b3086d011d Convert p_saveg to C++ 2024-10-07 19:15:51 -05:00
Sal
39a0724db6 Merge branch 'no-snull' into 'master'
SOC/Lua null struct safety

Closes #1488

See merge request KartKrew/Kart!2469
2024-10-05 15:26:06 +00:00
Sal
7ad44ec693 Merge branch 'fix-overtime-resync' into 'master'
Fix Battle Overtime resync under certain conditions

Closes RingRacers#205 and #1353

See merge request KartKrew/Kart!2468
2024-10-05 15:25:44 +00:00
Sally Coolatta
9cce0811d8 Fix flipped G_SameTeam in K_FindJawzTarget 2024-10-04 19:20:07 -04:00
Sally Coolatta
68eb4311f0 Fix osx pipeline being unhappy for unordered_map
- v_draw.hpp was simply missing the header entirely.
- r_debug_printer.cpp is the weird one -- unordered_set's definition uses unordered_map, but it seems like osx's standard library does not include it in their definition? wut?
2024-10-04 19:07:31 -04:00
Sally Coolatta
83edda8f11 SOC/Lua null struct safety
- SOC cannot edit S_NULL. (It already does it this way for sfxinfo and mobjinfo.)
- Lua cannot get or set S_NULL & MT_NULL. (It already does it this way for sfxinfo.)
- Lua cannot set a custom mobjinfo field called "string". (There is already a getter called "string", so this would create weird behavior for someone who doesn't know about it.)
2024-10-04 18:35:46 -04:00
James R
1b4bdf247c Fix Battle Overtime resync under certain conditions
Resync can be triggered when server/clients differ in the
number of Overtime laser objects spawned. For example,
when one of the clients is in splitscreen.

- MT_OVERTIME_PARTICLE had a spawnstate of S_NULL
- P_SetupStateAnimation is always called on spawn,
  regardless of if the spawnstate is S_NULL
- S_NULL inexplicably has FF_RANDOMANIM in its frame flags
  - This is NOT intentional and the likely source of the
    error is SOC/Lua
- Setting MT_OVERTIME_PARTICLE's spawnstate to S_INVISIBLE
  solves the problem
2024-10-04 14:57:29 -07:00
toaster
af5a65440d Compilation error repair
The compiler is just not smart enough to see that program flow is completely under order, so make sure every variable is initialised
(also change some variable types here and there)
2024-09-28 20:27:50 +01:00
Oni
71588f490f Merge branch 'queue-skin' into 'master'
Queued skin/color changes

See merge request KartKrew/Kart!2452
2024-09-28 17:46:42 +00:00
Oni
c357f544d5 Merge branch 'descriptive-controls' into 'master'
Descriptive controls

See merge request KartKrew/Kart!2460
2024-09-28 17:46:12 +00:00
Antonio Martinez
94db0ebc0e Admin Tools descriptige input 2024-09-28 03:03:40 -07:00
Antonio Martinez
f721eca7be Shorter key names 2024-09-28 02:52:31 -07:00
Antonio Martinez
bac60e3af8 Improve descriptive zvote offsetting 2024-09-27 15:43:19 -07:00
Antonio Martinez
c2f56050c3 Descriptive spectator controls 2024-09-27 15:24:54 -07:00
Antonio Martinez
7161de29fd Migrate old profiles, set descriptiveinput Modern 2024-09-27 06:44:00 -07:00
Antonio Martinez
dfd15ca8a2 Real definitely final button unfuck TWO 2024-09-27 05:29:57 -07:00
Antonio Martinez
b1bd711d5e Really definitely final button literal unfuck 2024-09-27 05:29:47 -07:00
Antonio Martinez
555e4eaa4c Final raw button literal fixups?! 2024-09-27 04:44:59 -07:00
Antonio Martinez
d7eebe1016 Use splitfont for FPZ help text 2024-09-27 04:20:44 -07:00
Antonio Martinez
00e97a4387 fix Top, FPZ help text 2024-09-27 04:19:34 -07:00
Antonio Martinez
f12f69559b Unused warning TWO 2024-09-27 03:30:52 -07:00
Antonio Martinez
a51ec95237 Fix extra debug print in patch allocation 2024-09-27 03:29:07 -07:00
Antonio Martinez
92c2f5d5a5 Unused warning 2024-09-27 03:29:07 -07:00
Antonio Martinez
7a9793f202 Fix profile control menu youfuckedups 2024-09-27 03:29:07 -07:00
Antonio Martinez
89036e07eb big ol fucking fuck 2024-09-27 03:29:07 -07:00
Antonio Martinez
8e47e37af1 Responsive button display setting, no more standardbuttons 2024-09-27 03:28:40 -07:00
Antonio Martinez
c6d3f78246 bring that enum in 2024-09-27 03:28:40 -07:00
Antonio Martinez
c96b96eb5f Fix saturn type C 2024-09-27 03:28:40 -07:00
Antonio Martinez
cad7273ff4 Controller type refactor 2024-09-27 03:28:40 -07:00
Antonio Martinez
80912b173c Descriptiveinput in profiles, various 6bt. modes 2024-09-27 03:28:40 -07:00
Antonio Martinez
598a91039b Change help text for descriptiveinput 2024-09-27 03:28:40 -07:00
Antonio Martinez
d1798c80fe Descriptive input: expanded 6bt support 2024-09-27 03:28:40 -07:00
Antonio Martinez
bd1b4ac9c3 Fix general flag handling in boxed drawing mode (transparency, slidein) 2024-09-27 03:28:39 -07:00
Antonio Martinez
16727f8df8 Fix spacing on profile charsel control help 2024-09-27 03:28:39 -07:00
Antonio Martinez
88bd460cde Fix midvote wrong coords (resolves mystery keyboard patch in tutorial) 2024-09-27 03:28:39 -07:00
Antonio Martinez
9eaf53b11f Misc menu fixups 2024-09-27 03:28:39 -07:00
Antonio Martinez
246bab7618 Debug cleanup 2024-09-27 03:28:39 -07:00
Antonio Martinez
d531fd744c Remove goofy largebutton y offset testing 2024-09-27 03:28:39 -07:00
Antonio Martinez
5563a06827 Lua ABC -> Lua 123, move dpad to generic to make room for lua gamecontrol translation 2024-09-27 03:28:39 -07:00
Antonio Martinez
397db81a73 TA fix 2024-09-27 03:28:39 -07:00
Antonio Martinez
81d6ac9f6e FUCK A DRAWBUTTON 2024-09-27 03:28:39 -07:00
Antonio Martinez
7573c7dac9 idk 2024-09-27 03:28:38 -07:00
Antonio Martinez
dfdd46d69f Something something large buttons 2024-09-27 03:28:38 -07:00
Antonio Martinez
1d7aa0ee18 Inline dialogue advance prompt 2024-09-27 03:28:38 -07:00
Antonio Martinez
9a669ff864 scratchass big buttons 2024-09-27 03:28:38 -07:00