Commit graph

23851 commits

Author SHA1 Message Date
NepDisk
553a2507ae Remove unused SDL headers 2026-02-12 20:50:19 -05:00
NepDisk
c5fe606343 Attempt to fix gamepad input pt1 2026-02-12 16:53:32 -05:00
NepDisk
1ca56d100a Rename joystick index related things to joystick id
Since SDL3 doesn't use indexes this should make it less confusing when I start working on this
2026-02-12 16:14:47 -05:00
NepDisk
8b28f97e81 Use in pixels since this is supposed to be the correct way of doing this 2026-02-12 14:16:37 -05:00
NepDisk
c89be92461 Set wayland scale hint if on Linux
Thanks Alug!
2026-02-12 13:09:22 -05:00
Gustaf Alhäll
c093fdce8e Fix resolution being forced back to 320x200 (again) 2026-02-12 12:52:57 -05:00
Gustaf Alhäll
aff75e6624 Fix resolution occationally resetting on startup 2026-02-12 12:39:28 -05:00
Gustaf Alhäll
5cbfb20298 Remove realwidth and realheight 2026-02-12 12:31:33 -05:00
NepDisk
bcc5d6a205 Clean up comments 2026-02-12 10:48:11 -05:00
NepDisk
60e7563168 Put joystick add/remove event into seperate functions 2026-02-12 10:44:39 -05:00
NepDisk
cdeaa583dd Do not register controllers under camera lmao 2026-02-12 03:45:11 -05:00
NepDisk
b85887f0f1 Attempt to fix the joystick being lost midgame 2026-02-12 03:35:00 -05:00
NepDisk
156e07d02c More cmake stuff 2026-02-12 03:01:51 -05:00
NepDisk
1dcd44458d Remove debian-template dir
Will put this back later if we need it.
2026-02-12 01:50:45 -05:00
NepDisk
54992c8d43 Rename rest of SDL2 refs and remove even more unused thirdparty libs 2026-02-12 01:43:36 -05:00
NepDisk
2059a99a44 Fix software using linear filter by default 2026-02-12 01:17:37 -05:00
NepDisk
656ad85a8f Port to SDL3
Thanks to SRB2Classic for refernce!!!
2026-02-12 00:39:19 -05:00
NepDisk
47bcd68596 edit required backend files and remove unused libs 2026-02-11 23:07:09 -05:00
NepDisk
177343594e Kill Support for mixer sound
SDL3 doesn't have a public mixer yet anyway so its probably fine :)
2026-02-11 22:50:56 -05:00
NepDisk
277131a5a3 Rename SRB2SDL to BLANKART 2026-02-11 22:44:28 -05:00
NepDisk
651ceae556 AAAAAAAA
Thanks SDL2-Compat
2026-02-11 21:12:27 -05:00
NepDisk
4593b44db3 Disable more mouse stuff if its been disabled 2026-02-11 20:58:43 -05:00
NepDisk
1fc21e1286 Lowercase instead of uppercase the string 2026-02-11 19:56:16 -05:00
NepDisk
eed7625a45 Use alloca instead of a c++ vla for W_HashLumpName 2026-02-11 19:39:42 -05:00
NepDisk
1e0ee984ee Fix warnings 2026-02-11 17:07:19 -05:00
NepDisk
6b4081663a Revert "Fix map hooks not providing the current maps in compatmode"
This reverts commit 5de81eb62b.
2026-02-11 15:34:06 -05:00
minenice55
4d1454a299 why was different from kart 2026-02-11 15:25:32 -05:00
NepDisk
229d5cd564 Don't Draw flame meter when exiting
You are no longer playing so lets clean up the screen
2026-02-11 12:51:01 -05:00
NepDisk
26fe00f1e8 Fix invalid items or itemamount from displaying SAD in the item slot 2026-02-11 12:42:59 -05:00
NepDisk
e30774477f Package SDL2 with appimage
The fact SDL2 has been killed off makes this super annoying as SDL2-compat is pretty buggy and breaks all the time
2026-02-11 12:21:16 -05:00
minenice55
c70c22efe6 still doesn't work
but use K_BotDefaultSpectator more
2026-02-11 01:42:46 -05:00
minenice55
5fd1955845 doesn't work for what we need but...
implement K_BotDefaultSpectator
2026-02-10 23:25:51 -05:00
minenice55
c9755c9712 getting somewhere? 2026-02-10 22:54:06 -05:00
NepDisk
46e9d659a9 AppImage building support 2026-02-10 20:21:16 -05:00
minenice55
8feb843c11 remove the nuke 2026-02-10 18:45:14 -05:00
minenice55
86e47fe1ae I went to war on the bots and got nuked
DOESN'T FULLY WORK
2026-02-10 18:14:08 -05:00
minenice55
968b6642d8 this is probably a bad idea 2026-02-10 17:26:58 -05:00
minenice55
40d566f607 UNTESTED stop bots from spawning in item breaker 2026-02-10 17:04:51 -05:00
NepDisk
5de81eb62b Fix map hooks not providing the current maps in compatmode 2026-02-10 11:35:42 -05:00
Alug
adce4197e0 make lumpnumcache case sensitive + optimize + replace quickncase hash with FNV1a
lumpnumcache can be case sensitive W_CheckNumForName should also look for uppercase stuff and W_LumpExists is case sensitive anyways
this avoids having to always account for case (toupper/tolower) during hash and string comparisons and even allows us to even directly compare our strings instead of using fastcmp (std::strings allow this!)
from some benchmarking externally this makes this faster quite a bit
2026-02-10 09:22:02 -05:00
NepDisk
71175d82ca Don't allow bots to do grip turns in the air 2026-02-09 22:41:22 -05:00
NepDisk
21000c7969 Refactor and Clean up various respawn related functions 2026-02-09 22:18:49 -05:00
minenice55
fbbb3c543e make non-overheating flame shield unable to damage players
and tweak visuals to convey overheating a bit more
also raises the flamometer up a bit
2026-02-09 21:05:03 -05:00
NepDisk
bfa0569815 Make burn out boosting less strong 2026-02-09 18:30:56 -05:00
Alug
018ba7be55 HWR_CreateBlendedTexture: init a bunch of stuff 2026-02-09 17:46:04 -05:00
Alug
f4120fe776 move gamepad led ticker after render logic
this does not really matter but save a tiny little amount of time before rendering a frame
2026-02-09 17:39:42 -05:00
NepDisk
b2ee66cffb Tweak around recovery dash numbers a bit 2026-02-09 14:29:17 -05:00
NepDisk
89d2fd24f6 Reset Flamedash when flamestore expires
This makes it so that the turning loss given by the flameshield resets when you use up your flameshield, rather then lingering.
2026-02-09 13:17:19 -05:00
NepDisk
739c449745 Kick this down for reworked numbers 2026-02-08 23:49:42 -05:00
minenice55
a38c3a843a UNTESTED; cut flame shield temperature and fuel by 10% 2026-02-08 22:02:35 -05:00