Commit graph

1676 commits

Author SHA1 Message Date
NepDisk
2830abb7d0 Clean up viewserver code a small bit
This also makes the cheats command show what cvars are active for easy checking
2025-06-19 19:36:02 -04:00
NepDisk
7534f7de3b Merge branch 'socmenus2' into viewserver2 2025-06-19 18:50:17 -04:00
NepDisk
db66b00ec0 Merge branch 'blankart-dev' into socmenus2 2025-06-19 13:05:47 -04:00
NepDisk
3f34bc68d3 viewserver2 refactoring
This now takes advantage of regular menu drawing with styles and an enter routine instead of hardcoded v_draw*string calles
2025-06-18 20:09:44 -04:00
NepDisk
7852dfbf3a Merge branch 'socmenus2' into viewserver2 2025-06-17 17:03:16 -04:00
GenericHeroGuy
99d44c9954 Call F_MenuPresTicker correctly 2025-06-17 02:33:22 +02:00
NepDisk
38495d4449 Fix some clang warnings 2025-06-14 16:46:49 -04:00
NepDisk
1947eb6277 Remove GS_CONTINUING and GS_GAMEEND 2025-06-13 10:25:52 -04:00
NepDisk
7c712836f3 Refactor and rework viewserver
Thanks to the srb2 classic team and luigi budd for the original version
2025-06-09 15:43:40 -04:00
GenericHeroGuy
56edab2480 Remove a TON of special-case menu code
You can now combine submenu/cvar/call to allow for more complex behavior,
without the need for keyhandlers. All those dummy menuitems relying on
keyhandlers now use cvars, like everything else does.

Yes, several things are still hardcoded, but player setup no longer
needs its own miniature menu system :^)
2025-06-08 17:15:17 +02:00
GenericHeroGuy
e6dc870b2b Wire up and start using enterroutines 2025-06-05 19:47:08 +02:00
GenericHeroGuy
5a0a889cd1 Menu functions now return INT32
Just my best guess what everything should return. Doesn't matter right now
2025-06-05 19:47:08 +02:00
NepDisk
d3567cf7d4 Add back prev and next check 2025-06-01 10:09:23 -04:00
NepDisk
d371be5c45 Clear more stuff on player exit like kart 2025-06-01 08:42:44 -04:00
NepDisk
e78e49e3c1 Texture precaching
A simple port from saturn
2025-05-29 12:06:51 -04:00
NepDisk
3a38c437c2 Port support for interpoints for non powerlevel scoring 2025-05-28 16:23:33 -04:00
NepDisk
8faba2dd35 Basic voting rows port
Still crashes and seems to mess with the newgametype
2025-05-28 10:51:18 -04:00
NepDisk
1884d6db2a Fix annoying encore behaviour in voting 2025-05-28 01:19:08 -04:00
NepDisk
25a8e3dd4d Don't fallback for change viewpoint 2025-05-23 13:31:33 -04:00
NepDisk
7d7e107fc2 Lower starting Rings back to 5 2025-05-22 08:30:51 -04:00
NepDisk
04d3cea9e6 Fix flipcam playerflag sticking 2025-05-22 08:17:36 -04:00
NepDisk
f8443108a7 More various fixes 2025-05-18 15:44:30 -04:00
NepDisk
30eb87487b Use negative here instead 2025-05-18 14:19:33 -04:00
NepDisk
b9836e4925 Add toggle for deadzone style
The game now defaults to Kart style deadzone to remove that stiffness felt on shallower angles
2025-05-18 14:06:56 -04:00
Alug
f072746216 unlock everything when using modkartdata save
doesent make too much sense having to unlock everything again when playing mods
2025-05-14 11:45:27 -04:00
NepDisk
fea7aa001b Use constants instead of magic numbers for roulette info 2025-05-03 12:48:02 -04:00
NepDisk
1c22f3870b Fix gaining rings on respawn when roulette is active 2025-04-27 10:14:04 -04:00
Anonimus
00470714c0 Make bots drift 2025-04-25 16:21:57 -04:00
Alug
d8b6b8e981 make a backup of save data before writing to it 2025-04-19 14:18:18 -04:00
NepDisk
06d35a774e Merge branch 'blankart-dev' into portv1objects 2025-04-15 16:41:57 -04:00
NepDisk
1d1f697f2f Compat changes for TOLs 2025-04-15 16:39:19 -04:00
NepDisk
976495df59 Merge branch 'blankart-dev' into portv1objects 2025-04-13 08:52:23 -04:00
NepDisk
539395b8ea Make TA itembreaker always use deathmatch start 0 if race start doesn't exist 2025-04-13 08:51:53 -04:00
NepDisk
f153776929 Merge branch 'blankart-dev' into portv1objects 2025-04-13 06:54:03 -04:00
NepDisk
8bf5180385 RA preset fixes 2025-04-13 06:53:47 -04:00
NepDisk
15a02fdeed Merge branch 'blankart-dev' into portv1objects 2025-04-12 13:23:55 -04:00
NepDisk
28a493dbc3 Tri map records pt.3: Finalize changes 2025-04-12 13:12:24 -04:00
NepDisk
0ab033c497 Tri map records pt.1 2025-04-12 09:13:58 -04:00
NepDisk
6125e1d5d0 Merge branch 'blankart-dev' into portv1objects 2025-04-11 10:04:42 -04:00
NepDisk
f7cff08ae6 Disable emblem updates when RA mods are on 2025-04-11 10:04:02 -04:00
NepDisk
a580bc9433 Port v1 objects pt 4.5: extra stuff 2025-04-09 16:39:58 -04:00
GenericHeroGuy
c936c24d15 Replace mainwads with an enum
The mainwads check in G_SetGameModified is replaced by a modifiedgame check
in D_SRB2Main
2025-04-03 17:36:13 +02:00
NepDisk
79e81564c4 Freecam pause exception 2025-04-01 20:47:02 -04:00
NepDisk
104bfaa7fe Fix democam not moving 2025-04-01 20:30:09 -04:00
NepDisk
911afb22a6 Move freecam state to camera_t
Based on fa89576f34 p1 still controls both cameras for now.
2025-04-01 13:57:27 -04:00
James R
e0a191f4d5 Replace spectator movement with demo freecam 2025-03-30 08:55:40 -04:00
NepDisk
d72f4e8917 Assorted RR party changes 2025-03-29 08:42:27 -04:00
GenericHeroGuy
dc791e494d Merge branch 'blankart-dev' into socmenus 2025-03-26 18:49:30 +01:00
GenericHeroGuy
016435b3b9 Fix jank attack
Consistently call D_StartTitle, don't glitch out on invalid replays etc
2025-03-25 15:55:56 +01:00
NepDisk
35a7f420af Fix spectate button, allow respawning local players 2-4, allow respawn to be binded to button 2025-03-24 18:54:58 -04:00