Commit graph

21912 commits

Author SHA1 Message Date
Indev
9f31eeaa72 Make lookback instant locally, also add toggle to do same in replays 2026-03-25 01:55:54 +03:00
NepDisk
298849b70c Update comment 2026-02-22 21:17:28 -05:00
NepDisk
77d9f53724 I completely forgot about changing this back 2026-02-22 21:14:47 -05:00
yamamama
890a033b98 Add Mompi to the credits, update hashes again 2026-02-22 20:38:16 -05:00
minenice55
3db54b9e64 disable attract screen demos for now 2026-02-22 18:01:36 -05:00
Alug
8ca8f79909 Dedicated: dont create or destroy ANY lua hud drawlist
not needed at all in dedi
2026-02-22 17:15:19 -05:00
Alug
c3ee45e6fa blua: attempt emergency garbo collection on file io operations if they fail
ports of
e885dee5ab

and

3d838f635c

prevents massive memory leaks and other issues due to faulty lua scripts
2026-02-22 17:05:53 -05:00
James R
22d7e6331d Got_Luacmd: ensure lua stack is large enough for command arguments 2026-02-22 16:32:41 -05:00
Alug
7de2db3e3c consolelib: fix some early returns not properly cleaning lua stack 2026-02-22 16:31:44 -05:00
Alug
57e06de95d lib_concat: fix zero lenght string case
continue the loop, not return, it might just be an empty line, so returning might break some luas
0 lenght would make realloc allocate nothing at all, so just skip it
2026-02-22 16:29:19 -05:00
Indev
d0f0744dcf Push empty string instead of null if len == 0 in lua_pushlstring 2026-02-22 16:29:00 -05:00
Eidolon
c9e8924a86 Check Lua stack before pushing cons args
Prevents a Lua stack overrun when executing absurd console commands for
local-only lua commands.
2026-02-22 16:25:37 -05:00
Roberto Ierusalimschy
14122c3098 Avoid computing invalid addresses
luaV_execute should compute 'ra' only when the instruction uses it.
Computing an illegal address is undefined behavior even if the address
is never dereferenced.
2026-02-22 16:23:07 -05:00
Alug
ead56b83e3 luaS_newlstr: use hash also for checking strings
taken from raptorjit
we can check the hash first to skip quite a bunch of memcmps which should be faster in most cases (hopefully but quick timedemo tests confirmed that)
2026-02-22 15:20:51 -05:00
Alug
c582767603 blua: handle 0 length strings in hash_sparse 2026-02-22 15:20:41 -05:00
Alug
b0cf9cdc18 Experiment: replace lua´s string hash with luajits ARX hash
the string hashing was the most hit and most spent in part of the whole game in alot of cases
replacing it with luajits algo absolutely massively improves lua performance (10-15fps in my bench timedemos!)
however idk how all this stuff exactly works so this needs alot of testing to make sure nothing breaks
ive rewritten the unaligned ptr access slightly to use memcpy for safety with some platforms that require stricter alignment
2026-02-22 15:20:29 -05:00
NepDisk
1dab7ed7ff Bring these back since we might need them 2026-02-22 14:18:19 -05:00
NepDisk
f5cba44f18 Rekill hardcoded azerty
something something SDL textinput mode
2026-02-22 13:31:27 -05:00
NepDisk
de8bbc8525 Revert "Add back missing azerty stuff"
This reverts commit f9be340ca1.
2026-02-22 13:28:14 -05:00
NepDisk
f9be340ca1 Add back missing azerty stuff 2026-02-22 13:08:16 -05:00
GenericHeroGuy
80dbf97d25 Fix gamecube controllers 2026-02-22 18:28:13 +01:00
GenericHeroGuy
c317aaa18e genius? 2026-02-22 11:26:54 +01:00
GenericHeroGuy
990e21c446 Fix restat in replays, and increment demoversion for the new changes 2026-02-22 11:12:10 +01:00
NepDisk
4945f0f792 Check for gravflip for wind cancel 2026-02-22 02:17:46 -05:00
NepDisk
9d15158d28 Kill heavy airdrop on upwards wind too 2026-02-22 01:53:06 -05:00
NepDisk
087d53cacc Prevent heavy airdrop softlocking in goo 2026-02-22 01:45:54 -05:00
NepDisk
926e5b6edf Nerf heavy drop pogospring height 2026-02-22 01:29:48 -05:00
NepDisk
9e2a3c6ab8 Give bubble boost better pogo jumps 2026-02-22 01:28:05 -05:00
NepDisk
ba7a28cb65 Force RGB flag to fix AMD for now 2026-02-21 22:50:04 -05:00
minenice55
cdd5485a4f Update d_event.h 2026-02-21 22:18:20 -05:00
minenice55
eca1a1452b get this to synch correctly again 2026-02-21 21:20:17 -05:00
minenice55
e22a39d212 register the dummy cvars too 2026-02-21 20:38:12 -05:00
minenice55
3b2ec88e1d is this a good idea 2026-02-21 20:24:06 -05:00
minenice55
0edd948fa7 save new weaponpref data to demos
not sure if this is correct
2026-02-21 17:54:49 -05:00
NepDisk
30c789bfc2 Don't additive position num normally 2026-02-21 12:48:37 -05:00
NepDisk
3b298c2a25 Vendoring Tracy again
Having this as a submodule is causing issues
2026-02-21 12:36:05 -05:00
toaster
4847282eeb sdl/i_system.cpp: Remove FUNCNORETURN on signal_handler()
Fixes ERRORMODE compliation after !2372
2026-02-21 10:00:26 -05:00
NepDisk
10e11ba5ce Default waterskip bricks on 2026-02-21 09:23:39 -05:00
NepDisk
a3f34f11df Cast this so compiler shuts up 2026-02-21 07:29:00 -05:00
minenice55
385a20058f Update i_video.cpp 2026-02-21 02:59:07 -05:00
minenice55
9669192e10 what the fuck were these sdl memsets for
only ones in the entire codebase btw
2026-02-21 02:31:43 -05:00
minenice55
247dd4a437 turns out this needs its own pickup type (due to op order) 2026-02-21 00:26:09 -05:00
NepDisk
24fed48281 Merge pull request 'Fix FreeBSD build' (#217) from Hanicef/blankart:fix-freebsd-build into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/217
2026-02-21 00:26:07 +01:00
Gustaf Alhäll
47ed04d864
Fix FreeBSD build 2026-02-20 23:45:26 +01:00
NepDisk
085ffd8185 Redo keyboardlayout
Based on this commit from Saturn: 423ca0eca0
2026-02-20 16:30:29 -05:00
NepDisk
516a05c4bf Add improved requried flags for each san 2026-02-20 10:58:32 -05:00
NepDisk
752548e7ca Add other sanitizers 2026-02-20 10:50:05 -05:00
NepDisk
2e147367eb Add lsan cmake flag 2026-02-20 10:41:56 -05:00
minenice55
d031a9a3e7 use the added sounds 2026-02-20 01:23:14 -05:00
NepDisk
6fb8ddf82e Don't sink cam on exiting players 2026-02-19 22:23:00 -05:00