Commit graph

21615 commits

Author SHA1 Message Date
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
Alug
3fbacbbca2 dont compare our floatangle to ANGLE_180
smol oops
2025-06-25 21:39:35 +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
Sky Dusk
ffde1365a5 Remove format whitelist for read only Lua IO and allow more formats. 2025-06-24 12:15:20 -04:00
NepDisk
d4f0336ede Shut up dedicated 2025-06-24 11:42:21 -04:00
NepDisk
6fa3c4f751 Fix dedi crash due to invalid pstartmap value 2025-06-24 10:54:34 -04:00
NepDisk
3da0b4ce0c Add waterpaneltime to be neysynched
I always forget something...
2025-06-24 10:48:58 -04:00
NepDisk
02196b622c Allow reading and writing *time variables from SOC and Lua
This should also for simple edits such as extending hyudoro length without janky lua scripts
2025-06-24 10:44:48 -04:00
NepDisk
fec3c19bd0 Fix Windows Clang compile 2025-06-24 07:51:33 -04: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
GenericHeroGuy
99d44c9954 Call F_MenuPresTicker correctly 2025-06-17 02:33:22 +02:00