Commit graph

1289 commits

Author SHA1 Message Date
NepDisk
7efc3adf6f [Patch] vid.buffer 2025-10-18 16:05:01 -04:00
NepDisk
39e17bce4b remove ylookup, columnofs and topleft lookups
based on 2da89f1946
move screens array to vid struct
remove a bunch of unused stuff

this speeds up 4 player splitscreen ever so slighty
mostly just alot cleaner than the mess it was before
2025-10-18 13:04:39 -04:00
NepDisk
ff467c676c port over most fixes from srb2classics clang-tidy pr
Based on 939354f483
2025-10-17 10:32:21 -04:00
NepDisk
166648f008 Kill BUGTRAP
This probably never worked
2025-10-17 09:55:24 -04:00
NepDisk
0450f45635 Kill MSVC
We are a GCC and Clang household, get this shit outta here
2025-10-16 20:42:11 -04:00
NepDisk
f60e499f91 Implement Worst mode for lagless (for #129) 2025-09-26 15:05:28 -04:00
James R
fba66c4084 Do not disable and reenable sounds entirely when window focus changes
Sounds are not started if the window is unfocused,
regardless of sound_disabled.

Fixes -nosound not working (sounds would always be
reenabled if window comes into focus).
2025-09-20 17:45:38 +02:00
NepDisk
ef481b936f Use US default as default... Crazy 2025-09-14 10:55:12 -04:00
NepDisk
5f97577561 Add cvar for keyboard layout 2025-09-14 10:52:38 -04:00
NepDisk
72596e8d03 Port addfilelocal from saturn
Modified to turn off features we don't have / prevent resyncs
2025-09-14 01:06:05 -04:00
NepDisk
d00e674088 Port Native keyboard 2025-09-13 22:41:48 -04:00
GenericHeroGuy
e92362f36c (WIP) Rewrite screen capture code for GIFs
Downscaling is now performed during screen capture instead of GIF writing
This may or may not make GIF recording faster?
Maybe it would be faster if I knew how OpenGL worked...
Regardless, the m*th in the GIF code is gone, fixing the high/odd res issues

Also includes a little deduped hardware code, and GL 4.3 debugging code
2025-09-09 23:09:51 +02:00
StarManiaKG
a2ecd5dbdd Set maximum window size for SDL 2025-09-06 15:45:09 -04:00
NepDisk
325d14e1a0 Thanks debian 2025-09-03 09:41:22 -04:00
NepDisk
b4304ca9df Refactor software blitting logic
eabb09e14e
2025-09-02 21:56:55 -04:00
GenericHeroGuy
423a9ee8a6 Lots of fixes for the intermission background
* On GL, the background no longer disappears if the game is paused
* On GL, changing resolutions now draws SRB2BACK instead of a white void
* On software, changing resolutions redraws the level instead of awkwardly
  stretching the background to fill the screen
2025-08-27 21:32:47 +02:00
Anonimus
698984c0fe Fix major compile issues
* Fixes gme issues (hopefully)
* Adds ntsecapi.h for Windows compiling
2025-08-25 18:14:03 -04:00
NepDisk
9d0c396c2d Implement Drafting toggle
This is based on an older version of tether with number tweaks and a visual overhal designed to fit our needs. Takes some inspiration from the open assets slipstream mod from v1 for some number tweaks and the visual aspect. The speedboost has been rebalanced to be stronger for low speeds than before in a way where low speeds don't get shafted nor do they overshine high speed. High weight has had its leniency nerfed and general radius has been lowered to 2560 from 3072.
2025-08-25 17:03:00 -04:00
NepDisk
bc82e2564c Multipassword and salts
SRB2Classic ports by Hanicef
2025-08-23 20:42:10 -04:00
K J
74e6a93193 fix: multiple additional buffer overruns
found by Zwip-Zwap_Zapony
2025-08-22 22:52:59 -04:00
NepDisk
b865638cb8 Port restrict and LIKELY/UNLIKELY macros and mark stuff for blitting loop as const and with register 2025-08-18 09:59:58 -04:00
GenericHeroGuy
34f7d76aeb Switch to calling SDL_GetDesktopDisplayMode in VID_GetRefreshRate
Avoids freezing on SDL3 + X11, otherwise behaves the same on My Machine(tm)
Also remove that annoying useless mouse grab on startup
2025-08-17 18:06:35 +02:00
NepDisk
a61d92cc5b Finish porting SRB2Classic blitstuff 2025-08-16 17:59:55 -04:00
Gustaf Alhäll
2c0120055d Fix segfault on startup on software 2025-08-16 17:50:45 -04:00
NepDisk
e0d0d99cf3 Borderless window toggle
https://github.com/Indev450/SRB2Kart-Saturn/pull/193
2025-08-13 19:26:25 -04:00
NepDisk
02a1066d73 [PATCH] Don't search the entire path for wads
Thanks Alug
2025-08-09 13:40:07 -04:00
NepDisk
ec7fbb9be8 [PATCH} FIx controller hotplug
Thanks Alug
2025-08-07 09:26:54 -04:00
toaster
55825960ba Fixed Oni's controller-related SIGFPE 2025-08-06 21:48:47 -04:00
NepDisk
d3f261b0d3 Add OpenGL hint to SDL 2025-07-27 12:02:07 -04:00
NepDisk
580f2da4bf Set SDL2 app name hint
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2697
2025-07-20 18:24:33 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
f004b36dbb Revert 'Merge pull request 'File loading refactor' (#68) from wadstrbuf into blankart-dev'
This reverts commit f72475b557, reversing
changes made to 0c89c85aae.

Sorry Generic this branch is really cool but it needs more work. I shouldn't have merged it too early...
2025-06-30 01:45:01 -04: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
2ff383a248 Replace shortname functions with stubs, and some trivial caller replacements 2025-06-25 22:20:07 +02:00
NepDisk
db66b00ec0 Merge branch 'blankart-dev' into socmenus2 2025-06-19 13:05:47 -04:00
NepDisk
1947eb6277 Remove GS_CONTINUING and GS_GAMEEND 2025-06-13 10:25:52 -04:00
NepDisk
de5434ea23 Add support for using custom SDL2 mappings 2025-06-13 09:40:57 -04:00
NepDisk
a306d117a8 Fix music going away on unfocus 2025-06-11 00:38:15 -04: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
c958ce87ca I_RegisterSysCommands so video cvars are registerd before menu init happens 2025-06-03 13:47:29 -04:00
NepDisk
de91aa3a13 Clean up of I_video port 2025-06-03 12:52:32 -04:00
NepDisk
00d08c851f i_video.c refactor port
based on 4de2d81815
2025-06-03 12:06:19 -04:00
NepDisk
d6a7c5d5a1 Const void not void const 2025-06-01 20:34:47 -04:00
NepDisk
ea2677b3d4 Warning cleanup 2025-06-01 09:35:41 -04:00
NepDisk
c06e3d3352 Catch Animdefs error instead of I_Erroring 2025-05-26 10:38:44 -04:00
NepDisk
64e99e8c26 fix video menu coloring and add extra video modes 2025-05-21 10:43:31 -04:00
NepDisk
3163dcf9c4 Remove bird window shake
sorry jartha
2025-05-15 14:35:46 -04:00
NepDisk
bd7ab20efc Some Cmake fixes 2025-05-01 20:03:51 -04:00
NepDisk
dd176a9efd Clang fixes 2025-05-01 15:16:53 -04:00
GenericHeroGuy
4e9ffdaf13 Scrub more references to MD5 2025-04-26 00:57:51 +02:00