Commit graph

21566 commits

Author SHA1 Message Date
GenericHeroGuy
286dfc7a43 Add strbuf_append_m to simplify lumpname reading 2025-06-26 22:59:08 +02:00
GenericHeroGuy
4c93f0eae7 Operation: Gotta Go Fast 2025-06-26 21:38:52 +02:00
GenericHeroGuy
edae0b45ad Do I have news for you! 2025-06-26 01:55:56 +02:00
GenericHeroGuy
91636209ff And finally... W_CheckNumForNamePwad 2025-06-26 01:45:45 +02:00
GenericHeroGuy
24de618653 Remove W_CheckNumForName
NOW long menuitem patches are supported lol
Staff ghosts support long map names now
The runsoc command and linedef special 415 support longnames now
2025-06-26 01:27:28 +02:00
GenericHeroGuy
146ac557ba Remove W_GetNumForName
Still no longnames for sounds/music, but that's a story for another day
2025-06-26 00:18:20 +02:00
GenericHeroGuy
d37b987acb Remove W_CachePatchName, everything's safe
Menu headerpics, menuitem patches and old-style map thumbnails/minimaps now
support longnames
2025-06-25 23:42:36 +02:00
GenericHeroGuy
5aaa72e10a Sanitize bgname and ttname 2025-06-25 23:26:32 +02:00
GenericHeroGuy
e987c96651 Sanitize textprompts and cutscenes 2025-06-25 22:49:42 +02:00
GenericHeroGuy
2ff383a248 Replace shortname functions with stubs, and some trivial caller replacements 2025-06-25 22:20:07 +02:00
GenericHeroGuy
7aae6775e6 Use LUMPERROR instead of INT16_MAX, and MAX_WADFILES instead of UINT16_MAX
The 32768th lump of a file works now lol
2025-06-25 17:47:57 +02:00
GenericHeroGuy
684ded7647 Formally deprecate the shortname functions
and make TestValidLump actually work
2025-06-25 14:57:37 +02:00
GenericHeroGuy
4a3ae30984 Switch to xxHash for hashing lump data
And shrink lumpinfo_t to a nice, round 32 bytes. We don't support 64-bit
file sizes anyway
2025-06-25 02:09:59 +02:00
GenericHeroGuy
4ffd4621e4 Let's clean this shit up properly
lumpinfo_t is now private. Wanna iterate thru lumps? Use the W_* functions
2025-06-25 00:43:46 +02:00
GenericHeroGuy
927f30e51f Aww yeah, string buffers baby! 2025-06-24 01:05:56 +02:00
NepDisk
e5f8c4c990 Update hash and disable nofilehash 2025-06-23 13:20:12 -04:00
GenericHeroGuy
2c5c65062c shut 2025-06-23 19:13:10 +02:00
NepDisk
6bdcd0f608 Merge pull request 'SOC Menus 2: Back with a vengeance' (#64) from socmenus2 into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/64
2025-06-23 19:05:15 +02:00
GenericHeroGuy
e7f8d1102b Rename menu drawers to use the MD_ prefix 2025-06-23 18:58:46 +02:00
GenericHeroGuy
35c4239078 Hashes and copyrights 2025-06-23 18:52:58 +02:00
GenericHeroGuy
884c8c7387 Add an automatic offset for string cvars
Also rename getheight because that name sucks
2025-06-23 18:48:23 +02:00
GenericHeroGuy
b019271cc0 PRRRRRROMOTION 2025-06-23 17:56:30 +02:00
GenericHeroGuy
4be55967f4 ASan kakkoii desu 2025-06-23 17:29:56 +02:00
NepDisk
6b8144134d Add expert support to viewserver 2025-06-23 00:09:36 -04:00
NepDisk
3ec3320774 Merge branch 'blankart-dev' into socmenus2 2025-06-23 00:07:35 -04:00
GenericHeroGuy
3a98364bf8 Use get_number for menu coordinates 2025-06-23 01:08:13 +02:00
NepDisk
1c4c734cfb Bind drift to space in menus 2025-06-22 17:53:43 -04: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
NepDisk
a3367858b8 Add expert speed 2025-06-22 11:13:00 -04:00
GenericHeroGuy
83cfe66219 Fix menuitem memory leaks 2025-06-22 01:02:23 +02:00
NepDisk
b7bdd2ff6f Remove SRVMS3 2025-06-21 12:44:47 -04:00
GenericHeroGuy
ef7d5ec03f Softcode, and add offsets to drawfills for recreating M_DrawTextBox 2025-06-21 02:42:53 +02:00
GenericHeroGuy
af4cb5573b Add drawfill item type and clean up item flags 2025-06-21 02:01:55 +02:00
GenericHeroGuy
44666c339a Merge remote-tracking branch 'origin/viewserver2' into socmenus2 2025-06-21 00:14:09 +02:00
NepDisk
d34a40601c Fix palette getting reset on resynch 2025-06-20 14:30:56 -04:00
NepDisk
018c008f79 Fold mapthumbnail into IT_PATCH block 2025-06-20 12:26:02 -04: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
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
eb90f3bece Merge branch 'blankart-dev' into socmenus2 2025-06-19 15:41:34 -04:00
NepDisk
17b799bb01 Add Linux toolchain file I've been using 2025-06-19 15:40:46 -04:00
NepDisk
db66b00ec0 Merge branch 'blankart-dev' into socmenus2 2025-06-19 13:05:47 -04:00
NepDisk
f64b79260e Fix blendmodes on HWR_DrawFill not working
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2670
2025-06-19 01:01:28 -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
7852dfbf3a Merge branch 'socmenus2' into viewserver2 2025-06-17 17:03:16 -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
23fb99cc9e Refactor menu tree iterators to use menustack, fix menu music 2025-06-17 18:20:02 +02:00