NepDisk
3ec3320774
Merge branch 'blankart-dev' into socmenus2
2025-06-23 00:07:35 -04:00
GenericHeroGuy
a87d76ed13
Fix scrolling, and uhhhh things related to switching to relative offsets
2025-06-22 22:12:11 +02:00
NepDisk
a3367858b8
Add expert speed
2025-06-22 11:13:00 -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
GenericHeroGuy
271eaeef6f
Fix going back, fix replay hut segfaulting
2025-06-17 23:21:40 +02:00
NepDisk
e340a7f1e6
Merge branch 'socmenus2' into viewserver2
2025-06-15 12:36:44 -04:00
GenericHeroGuy
8ded7ad542
More styles, more softcoding, patches actually usable now!
2025-06-15 17:19:21 +02:00
NepDisk
1947eb6277
Remove GS_CONTINUING and GS_GAMEEND
2025-06-13 10:25:52 -04: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
NepDisk
41e3d9b285
Fix broken MS menu
2025-06-09 17:05:50 -04:00
GenericHeroGuy
f14e5f2f56
Softcode server list page and sound options
2025-06-09 22:53:54 +02: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
2252c16acb
Rewritten scrolling and coordinate logic
2025-06-07 21:01:29 +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
d0d8236bad
Fix waterpanel in deh_tables
2025-06-03 13:21:47 -04:00
GenericHeroGuy
12dfdd2f11
Remove Pandora's Box and Emblem Hints
2025-06-03 19:16:12 +02:00
GenericHeroGuy
308d2efb31
Deduplicate a bunch of routines
2025-06-03 18:48:35 +02: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
cdff8d6c7c
Be quiet you
2025-05-31 13:33:58 -04:00
NepDisk
989f01d644
Kill SF_HIGHRES
2025-05-31 09:23:36 -04:00
NepDisk
9cf5b4e79f
Update stuff for new menu additions
2025-05-30 00:14:15 -04:00
GenericHeroGuy
13a0378cea
Turn namehash/nameofs into a struct, and linearly allocate freeslots
...
Also fix bugged skincolor & precipprops clear in lua_infolib
2025-05-19 18:22:00 +02:00
GenericHeroGuy
360e7419e8
Merge branch 'blankart-dev' into infostuff
2025-05-19 15:23:51 +02:00
NepDisk
05f1e18084
Large Menu commit
...
Ports 2.2's scrolling menu, port SRB2Kart Custom build Menucap cvar, register new menus
2025-05-18 23:55:03 -04:00
GenericHeroGuy
1d0a066590
Add name hashing for supported info types
2025-05-18 18:13:04 +02:00
GenericHeroGuy
0009807746
Unify info lookup functions for SOC/Lua/ACS
...
Use MAX* constants instead of -1 for invalid values, because enum signedness
is implementation-defined
2025-05-18 17:37:47 +02:00
NepDisk
5b8f200e1a
Safeguard respawn next even more
2025-05-14 23:18:20 -04:00
GenericHeroGuy
e3f8019b84
And menus
2025-05-14 16:43:20 +02:00
GenericHeroGuy
1b095d220e
Why stop there? Go for skincolors too :^)
2025-05-14 16:06:11 +02:00
GenericHeroGuy
1793c2ea95
Use string buffers for mobjs and states
2025-05-14 15:35:26 +02:00
NepDisk
fa750c450a
Make sneaker types no longer a magic number
2025-05-08 09:23:55 -04:00
NepDisk
fea7aa001b
Use constants instead of magic numbers for roulette info
2025-05-03 12:48:02 -04:00
NepDisk
9584982685
Revert Rewrite mines
...
As much as this pains me, this might be needed for lua compat.
This reverts commit 1381a56077 .
2025-04-29 18:10:57 -04:00
NepDisk
105eb85bd3
Get rings from any itembox, expose more functions to lua and battle related things
2025-04-21 19:56:04 -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
a580bc9433
Port v1 objects pt 4.5: extra stuff
2025-04-09 16:39:58 -04:00
NepDisk
3445e6b6e6
Fix new waypoint jank
2025-04-05 11:38:12 -04:00
GenericHeroGuy
4b3b96536d
Expose gc_respawn
2025-03-26 18:53:21 +01:00
GenericHeroGuy
dc791e494d
Merge branch 'blankart-dev' into socmenus
2025-03-26 18:49:30 +01:00
GenericHeroGuy
8a6a49ce03
Menutype header
...
Also add more than 1 freeslot
2025-03-24 17:09:27 +01: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
NepDisk
7270ae178d
Support for MF2_SHADOW
2025-03-22 16:57:35 -04:00