Commit graph

21536 commits

Author SHA1 Message Date
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
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
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
GenericHeroGuy
ca7caf3dd5 Various changes between 2018-11-16 and 2018-11-20 2025-06-17 02:15:11 +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
NepDisk
e340a7f1e6 Merge branch 'socmenus2' into viewserver2 2025-06-15 12:36:44 -04: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
38495d4449 Fix some clang warnings 2025-06-14 16:46:49 -04:00
NepDisk
e8bafe7fc5 Add kartdebugshrink and remove NOSHOWHELP from kart vars 2025-06-14 08:09:28 -04:00
NepDisk
1947eb6277 Remove GS_CONTINUING and GS_GAMEEND 2025-06-13 10:25:52 -04:00
Oni
3eff2ef292 Merge branch 'dont-rewrite-the-past' into 'master'
Don't rewrite the past if we might still need to send it

See merge request KartKrew/Kart!1333
2025-06-13 09:46:30 -04:00
toaster
30e63490cd Merge branch 'max-errors' into 'master'
CMakeLists.txt: add -fmax-errors=5 for GNU

See merge request KartKrew/Kart!1357
2025-06-13 09:42:05 -04:00
NepDisk
de5434ea23 Add support for using custom SDL2 mappings 2025-06-13 09:40:57 -04:00
James R
1553224270 D_SRB2Main: set music volume on init :) 2025-06-13 09:36:40 -04:00
Oni
3d475504e3 Merge branch 'reset-command' into 'master'
Add 'reset' command to reset a cvar to its default value

See merge request KartKrew/Kart!1382
2025-06-13 09:34:46 -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
NepDisk
614506381d Make Ring Burnout sound Only play for local players 2025-06-12 10:58:33 -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
NepDisk
6a122b0600 Implement ring spam nerf
Less impactful in vanilla + rings. With Chaining and Stacking on however this makes a big difference since it prevents you from having a large stack count forever if you can keep chugging rings
2025-06-11 19:02:06 -04:00
NepDisk
457527d77a GL renderer changes
Always draw the skybox to prevent it from randomly going black and remove deprecated polyskys define. Thaanks Alug for suggestion and assistance.
2025-06-11 13:40:11 -04:00
NepDisk
12c93988e6 Experiment: always stack rubberband boost 2025-06-11 00:39:15 -04:00
NepDisk
a306d117a8 Fix music going away on unfocus 2025-06-11 00:38:15 -04:00
NepDisk
b93a8215c8 Make bonuschars.kart an Iwad 2025-06-10 18:41:20 -04:00
NepDisk
64fd5b93ac raise skinlimit to 4096
Why not UINT16_MAX? Thats 22gb of allocation lmao
2025-06-10 15:38:11 -04: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
Alug
37ea829b2f fix the horrible ffloorclip clearing loops
if yall ever decide to get rid of the static screensize buffer, the compiler will just straight up never optimize those loops and it will turn some maps into absolute cache miss hell, using std::fill only cause it looks fancy lmao
2025-06-08 22:16:30 +02:00