Commit graph

1573 commits

Author SHA1 Message Date
GenericHeroGuy
c3fe5e80ac Screw checking for nameofs being zero, just keep count of mobjs/states 2025-05-18 14:46:24 +02:00
GenericHeroGuy
e3f8019b84 And menus 2025-05-14 16:43:20 +02:00
NepDisk
8bf5180385 RA preset fixes 2025-04-13 06:53:47 -04:00
NepDisk
28a493dbc3 Tri map records pt.3: Finalize changes 2025-04-12 13:12:24 -04:00
NepDisk
807e95a011 Tri map records pt.2: prevent menu crashes 2025-04-12 09:38:17 -04:00
NepDisk
0ab033c497 Tri map records pt.1 2025-04-12 09:13:58 -04:00
NepDisk
e01b29ac09 Fix up some issues with TA mods commit
Thanks GHG for the help
2025-04-11 08:23:57 -04:00
NepDisk
9cd4294c21 TA support for extra game toggles 2025-04-10 19:53:44 -04:00
NepDisk
93d35d275d Minor fixes for menu and lua 2025-04-05 21:37:37 -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
f81c764057 Fix Splitscreen freecam
Based on fec0f13419 0b7a6ed7f5
2025-04-01 18:36:40 -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
c84d9f24fd P_DemoCameraMovement: don't let A button press from menu carry over to rise camera 2025-03-30 09:01:29 -04:00
James R
e0a191f4d5 Replace spectator movement with demo freecam 2025-03-30 08:55:40 -04:00
GenericHeroGuy
28eafd639e Fix D-pad inputs in menu from pads other than player 1's 2025-03-28 16:15:26 +01:00
GenericHeroGuy
dc791e494d Merge branch 'blankart-dev' into socmenus 2025-03-26 18:49:30 +01:00
GenericHeroGuy
3c3b509aa7 Remove M_MenuItemRange
I don't like else-if chains,
but I also don't like weird, unnecessary constraints
2025-03-26 00:11:08 +01:00
GenericHeroGuy
68a29ad0dc Don't use K&R syntax for messagebox routines which was removed in C23
Yup, that's not just a function declaration thing...
Starting to doubt if this is a net improvement
2025-03-25 23:33:33 +01:00
GenericHeroGuy
eeeca0a6ba And maybe clear the message box when clearing menus... 2025-03-25 21:34:09 +01:00
GenericHeroGuy
fd7eb9e06d Refined message box code, consistent DrawPatchFill
M_StartMessage now takes a function pointer instead of an object pointer.
No more FUNCPTRCAST
2025-03-25 21:23:57 +01:00
GenericHeroGuy
f27e486f4b Fix M_GetGametypeColor crash 2025-03-25 19:38:52 +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
GenericHeroGuy
0fda4cf017 Add custom options menu
A dedicated menu for addons to insert their own options submenus
2025-03-24 23:45:09 +01:00
GenericHeroGuy
0a573d3c5c Fix player setup menu checking the wrong menuitems
The skin option is now grayed-out when forceskin is enabled for presumably
the first time since 2017
2025-03-24 21:45:15 +01:00
GenericHeroGuy
6235219a9f Move version info stuff so it doesn't draw when a message box is shown 2025-03-24 20:31:57 +01:00
James R
a5be688b82 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
2025-03-24 13:57:04 -04:00
GenericHeroGuy
eb481b6ac4 Remove unused SRB2 menutypes
Also remove MP_OFFLINESERVER, since that's just MP_SPLITSCREEN (oops)
2025-03-24 16:39:17 +01:00
GenericHeroGuy
a609c7b5ce Replace prevmenu with menustack
menustack[0] replaces both menuactive and activeMenuId
Hopefully this is the last major change to the codebase...
2025-03-23 01:47:19 +01:00
NepDisk
247b566275 Toggle for singleplayer itembreaker 2025-03-22 17:08:20 -04:00
GenericHeroGuy
4933f96422 Clean up menuitem functions 2025-03-22 20:54:12 +01:00
GenericHeroGuy
f51868ed3f No more menu_t definitions, use menutype constants everywhere 2025-03-22 01:40:33 +01:00
GenericHeroGuy
fca25051cb SOC the server connection menu 2025-03-22 00:45:38 +01:00
GenericHeroGuy
8471ecabd8 SOC the Discord menus
Thanks nep for making rich presence build again lol
2025-03-21 18:00:05 +01:00
GenericHeroGuy
802a86422d Impromptu support for menuitem replacement
Need this for Discord menus right about now
2025-03-21 17:47:48 +01:00
GenericHeroGuy
8465dd5fcf Fix compile and missing menus 2025-03-21 14:28:45 +01:00
GenericHeroGuy
fedf429c9b Merge branch 'blankart-dev' into socmenus 2025-03-21 13:58:19 +01:00
GenericHeroGuy
d0bb9a33ce DEATH TO ALL HARDCODE MENUS
except master server and discord :^)
2025-03-20 02:14:28 +01:00
GenericHeroGuy
65a86671fe Menuitem names, GO! 2025-03-20 01:35:30 +01:00
GenericHeroGuy
bb3688a8c3 Remove commented out stuff in m_menu.c 2025-03-19 17:13:27 +01:00
GenericHeroGuy
3d016d4009 Sweep through the remaining menus
Server list remains untouched because I can't test it
2025-03-19 13:47:42 +01:00
GenericHeroGuy
f3226c84a4 SOC the pause menus
Oops, I reopened pandora's box :^)
2025-03-19 00:49:22 +01:00
GenericHeroGuy
56dcba3594 SOC the entire main menu 2025-03-18 23:16:44 +01:00
GenericHeroGuy
d916fee3a6 Expose menu routines/drawers
Plus some extras for SOCcing more menus
2025-03-16 22:21:50 +01:00
GenericHeroGuy
480c91516d Rename titlepics to headers, fold quit routines into normal routines
To avoid confusion with all the TitlePicsAbc stuff in SOC
None of the extant quit routines ever return false, do this to simplify SOC
code and maybe prevent evil trap menus :P
2025-03-16 22:03:41 +01:00
NepDisk
ffa9a782e4 Add missing hud toggles to menu 2025-03-15 09:36:42 -04:00
GenericHeroGuy
0e30c0c5eb SOC menus, part 1 2025-03-15 04:03:44 +01:00
NepDisk
bffe2268f3 Add more stuff to the menu 2025-03-14 12:17:39 -04:00
NepDisk
d60322311f Music test from Saturn Pt2: I got it to stop crashing lmao
It was conflicting with the musicdef backwards compat and tried using Source when it doesn't exist.
2025-03-14 11:44:08 -04:00
NepDisk
ad44ec0aa7 Merge pull request 'Refactored Input code' (#26) from newinput into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/26
2025-03-13 17:40:51 +00:00