GenericHeroGuy
e276709d0c
A whole lot of refactoring and updates to cvars
...
cvar items now use their argument to specify the amount to add for each key
press, replacing IT_CV_INTEGERSTEP
cvar items are automatically displayed as strings if they don't have
PossibleValues, replacing IT_CV_STRING
2025-06-12 22:21:49 +02:00
GenericHeroGuy
f30ddcfad2
Three(!?) new methods for placing menu items
...
Relative: changes the coordinates relative to the current ones
Temporary relative: displaces the coordinates temporarily
Overlay: draws at absolute coordinates, no clipping
Along with custom cursor offsets and Item Styles(tm), this eliminates
M_DrawControl
2025-06-12 16:54:43 +02:00
GenericHeroGuy
fd48ecd4ca
Make the camera options work again
2025-06-09 23:26:56 +02:00
GenericHeroGuy
f14e5f2f56
Softcode server list page and sound options
2025-06-09 22:53:54 +02: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
acb2cb752e
Factor out item drawing into a separate function
2025-06-07 22:47:08 +02:00
GenericHeroGuy
2252c16acb
Rewritten scrolling and coordinate logic
2025-06-07 21:01:29 +02:00
GenericHeroGuy
d18ebe8827
The five-for-one menu drawing special!
2025-06-07 13:58:01 +02:00
GenericHeroGuy
df30f44c35
nice job dumbass
2025-06-06 02:23:43 +02:00
GenericHeroGuy
e9d764eaa6
Move keyhandler from menuitems to menu (and clean up event handling)
...
Also make empty menus work
2025-06-06 02:16:21 +02:00
GenericHeroGuy
1a0285d193
Let keyhandlers pass through events
...
Hooray, keyhandlers no longer eat your entire keyboard!
2025-06-05 22:29:51 +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
8288eaf733
Port Saturn Tooltips
2025-06-04 21:35:24 -04:00
GenericHeroGuy
a8b8510188
Menu flags rework
...
As I found out the hard way, shit's still hardcoded...
So now, hidden/grayed out/secret are completely separate flags rather than
being baked into the other status fields!
Lots of cleanup and refactoring along the way...
You can now change an item from a call to a submenu without segfaulting
due to hardcode messing with the flags :^)
Also, completely blank items now default to being non-interactible, much
more sensible than defaulting to call
2025-06-04 21:41:05 +02:00
GenericHeroGuy
12dfdd2f11
Remove Pandora's Box and Emblem Hints
2025-06-03 19:16:12 +02:00
GenericHeroGuy
e680b12eac
Remove character descriptions
2025-06-03 18:58:09 +02:00
GenericHeroGuy
308d2efb31
Deduplicate a bunch of routines
2025-06-03 18:48:35 +02:00
GenericHeroGuy
231b067af1
Pass argument for IT_CALL
...
and fix server list softlock
2025-06-03 17:01:25 +02:00
GenericHeroGuy
c3fe4fb71e
Coordinates, arguments, tooltips, string buffers
2025-06-03 16:01:19 +02:00
GenericHeroGuy
0952b94d3f
Update mappatch hash
2025-06-03 14:05:10 +02:00
GenericHeroGuy
1b0ea34476
Add No Spread flag for patch finish lines
2025-06-03 01:10:11 +02:00
NepDisk
10c858186f
Change Ring Racers refernce in file to Blankart
2025-06-02 15:17:58 -04:00
NepDisk
c1ca05c6c5
Adjust some stuff to accout for how the map header toggle works
2025-06-02 15:11:39 -04:00
NepDisk
b087b5e372
Port JugadorXEI's Terrain library for Lua
...
Credits go to JugadorXEI for the code in this. https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/103\#d1c6f6fa1ba8207cb6aaef9f4a47d9a0b6b8b5c1
Modifications have been made to account for extra terrainflags, new terraintypes and removal of Ring Racers specfic types
2025-06-02 14:38:33 -04:00
NepDisk
9d864729db
Port v.cachePatch second parameter for rotation from Classic
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2662
2025-06-02 11:23:51 -04:00
NepDisk
4a29babb66
Inline P_MobjWasRemoved
2025-06-02 11:14:16 -04:00
GenericHeroGuy
f63e6d5462
Fix missing hitbox for Mementos Reaper
2025-06-02 16:22:55 +02:00
NepDisk
b0b9d97b1f
add MF_PAIN fallback just in case
2025-06-02 09:39:49 -04:00
NepDisk
3f98670fa4
Prevent antigrief from affecting bots
2025-06-02 09:10:13 -04:00
NepDisk
d6a7c5d5a1
Const void not void const
2025-06-01 20:34:47 -04:00
NepDisk
d3567cf7d4
Add back prev and next check
2025-06-01 10:09:23 -04:00
NepDisk
ea2677b3d4
Warning cleanup
2025-06-01 09:35:41 -04:00
NepDisk
d371be5c45
Clear more stuff on player exit like kart
2025-06-01 08:42:44 -04:00
NepDisk
cea824d5a5
This is a dev branch we don't need the beta tag
2025-05-31 14:03:59 -04:00
NepDisk
e1bda81f2c
Server Commit system to prevent old clients from joining then desynching
2025-05-31 14:02:07 -04:00
NepDisk
cdff8d6c7c
Be quiet you
2025-05-31 13:33:58 -04:00
NepDisk
39b4248983
Simple fix for fog planes until blendtran is properly fixed
2025-05-31 13:04:34 -04:00
NepDisk
45b92e7cf2
Clear boost info when hit
...
Should hopefully resolve instances where you blast off after a hit
2025-05-31 11:05:06 -04:00
NepDisk
989f01d644
Kill SF_HIGHRES
2025-05-31 09:23:36 -04:00
NepDisk
b59cf3c189
The acutal fix
2025-05-30 01:07:43 -04:00
NepDisk
bd5ebef91a
Test Fix
2025-05-30 00:45:02 -04:00
NepDisk
9cf5b4e79f
Update stuff for new menu additions
2025-05-30 00:14:15 -04:00
NepDisk
3decf36748
Fix this if statement
2025-05-29 13:36:57 -04:00
NepDisk
5ce7eef8d8
Add some encore stuff to GL renderer
2025-05-29 13:14:57 -04:00
NepDisk
e78e49e3c1
Texture precaching
...
A simple port from saturn
2025-05-29 12:06:51 -04:00
NepDisk
06ce9ddac8
Don't free sprites on addon load
2025-05-29 10:29:29 -04:00
NepDisk
cda4515780
Fix bananadrag wrap around
2025-05-29 10:10:08 -04:00
NepDisk
03c78ea8a5
I forgor these return 0 on match
2025-05-28 18:41:48 -04:00
NepDisk
3a38c437c2
Port support for interpoints for non powerlevel scoring
2025-05-28 16:23:33 -04:00