GenericHeroGuy
3a98364bf8
Use get_number for menu coordinates
2025-06-23 01:08:13 +02:00
GenericHeroGuy
e66cc9c5be
Make sticker a style, use mapnames instead of numbers for thumbnail items
2025-06-22 22:44:59 +02:00
GenericHeroGuy
a87d76ed13
Fix scrolling, and uhhhh things related to switching to relative offsets
2025-06-22 22:12:11 +02:00
GenericHeroGuy
83cfe66219
Fix menuitem memory leaks
2025-06-22 01:02:23 +02:00
GenericHeroGuy
af4cb5573b
Add drawfill item type and clean up item flags
2025-06-21 02:01:55 +02:00
NepDisk
1d600210fa
softcode mapthumbnail drawing
2025-06-20 12:03:37 -04:00
NepDisk
875f1d44b2
More clean up and softcoding
2025-06-20 10:30:55 -04:00
NepDisk
db66b00ec0
Merge branch 'blankart-dev' into socmenus2
2025-06-19 13:05:47 -04:00
GenericHeroGuy
666b9f4582
Softcode background/scroll/fade, clean up effects logic
...
Oh and the config save in M_ClearMenus actually works now lmao
2025-06-17 22:23:28 +02:00
GenericHeroGuy
205d1401f6
Start reviving menupres stuff
...
I may or may not regret this
2025-06-17 00:53:42 +02:00
GenericHeroGuy
11b9cd993d
Expanded styles (ITF_THIN2 and IT_RIGHT), rename CvarSlider to Slider
2025-06-16 21:11:14 +02:00
GenericHeroGuy
955da518ca
Replace TextHeader and TextWhite with styles
2025-06-15 18:06:52 +02:00
GenericHeroGuy
8ded7ad542
More styles, more softcoding, patches actually usable now!
2025-06-15 17:19:21 +02:00
NepDisk
d96c16b157
Fix skynum skyboxes being broken in clang due to undefined behaviour
2025-06-14 16:59:48 -04:00
NepDisk
1947eb6277
Remove GS_CONTINUING and GS_GAMEEND
2025-06-13 10:25:52 -04:00
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
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
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
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
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
c3fe4fb71e
Coordinates, arguments, tooltips, string buffers
2025-06-03 16:01:19 +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
GenericHeroGuy
c3fe5e80ac
Screw checking for nameofs being zero, just keep count of mobjs/states
2025-05-18 14:46:24 +02:00
GenericHeroGuy
711944350e
Deduplicated freeslotting code
2025-05-14 18:56:28 +02: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
bd233a9201
Per map track complexity and modifier max
2025-05-13 15:49:21 -04:00
NepDisk
d8e1083429
Refactor some HUD elements and bring colorized hud support
2025-05-05 17:51:39 -04:00
NepDisk
012df40fcd
Terrain Def Mapheader toggle
2025-04-21 13:31:41 -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
LJ Sonic
3f30e97609
No longer store wadnum in sprnames
2025-04-10 09:54:02 -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
GenericHeroGuy
8c2803607d
Show names for menu/menuitem warnings
2025-03-25 17:11:52 +01:00
GenericHeroGuy
784fc8f46c
Last-minute curse: no menus for dedis, empty item names instead of '.'
2025-03-25 01:35:07 +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
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
802a86422d
Impromptu support for menuitem replacement
...
Need this for Discord menus right about now
2025-03-21 17:47:48 +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
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