minenice55
d4b62c7fa2
replace BT_SHAKE with a dedicated shake value
...
also adds a tilt value
implements a GT7-style wheel dot when tilt steering is being used
2026-03-02 00:48:04 -05:00
minenice55
093a4fb969
add tilt control cvar to menus
2026-03-01 00:43:01 -05:00
minenice55
db0afed3fd
implement BT_SHAKE and code cleanup
2026-03-01 00:24:55 -05:00
minenice55
d5fc5ab7f0
tune correction a bit
2026-02-28 01:31:38 -05:00
minenice55
2010b0376d
implement new wheel gfx
2026-02-28 00:27:30 -05:00
minenice55
0b28d8bf67
rotated steering wheel display?
...
needs some work
2026-02-26 23:46:23 -05:00
minenice55
a5b5955d28
pinch the tilt towards the extremes
2026-02-26 23:21:49 -05:00
minenice55
4bc182901f
Update g_game.c
2026-02-26 22:53:35 -05:00
minenice55
2389b64803
add tiltcontrol cvar
2026-02-26 22:52:32 -05:00
minenice55
3bda3ded66
properly implement tilt based axis
2026-02-26 22:49:27 -05:00
minenice55
d3b02613f2
fix some math issues
2026-02-26 21:22:43 -05:00
minenice55
dc04ac2f66
this feels quite good now
2026-02-26 18:04:52 -05:00
minenice55
a7ddeddbe4
get sensor fusion and basic tilt steering working
2026-02-26 02:20:10 -05:00
minenice55
0cfb873f4f
convert accelerometer data to gs
2026-02-25 19:12:42 -05:00
minenice55
db22fc9c46
Update g_game.c
2026-02-25 19:06:53 -05:00
minenice55
e87a135315
holy math
2026-02-25 19:01:31 -05:00
minenice55
a71395e7a8
prep for accelerometer control
2026-02-25 11:26:45 -05:00
NepDisk
2e2862e79f
Make this heavy airdrop branch more explicit to prevent lightairdrop from falling through
2026-02-25 08:31:37 -05:00
NepDisk
8aa512e2a4
Revert "blua: attempt emergency garbo collection on file io operations if they fail"
...
This reverts commit c3ee45e6fa .
2026-02-25 08:20:07 -05:00
Alug
b0da7ac519
hash_sparse: change length checks
...
dont early return on 0 len, let it be the falltrough case, this seems to help branch prediction
2026-02-24 12:47:33 -05:00
NepDisk
76a08efd78
Fix signal handler issues
...
Thanks Alug! f4dc161831 e35dc9e097 2f684bba95
2026-02-24 12:41:20 -05:00
Alug
80db0bde07
lua_pushlstring: prefer luaS_newlstr over luaS_new
...
the latter calls strlen which is not needed as the empty string has no length
2026-02-24 12:22:18 -05:00
NepDisk
569404dfe1
w_wad: replace unordered_map with verstable hashmap for lumpnumcache + convert back to C from C++
...
Thanks Alug! 014a22e933
2026-02-24 11:12:07 -05:00
NepDisk
7ec95f7d96
Nerf bot ringchain threshold
2026-02-24 10:21:57 -05:00
NepDisk
f8ba24191a
Don't bot stack sneakers when accel is not held or bot is braking
...
This might solve some cases of a bot stacking sneakers when it shouldn't
2026-02-24 09:45:49 -05:00
NepDisk
d4abf4dfcb
Fix some cases of bots randomly tapping brake in the air
2026-02-24 09:40:23 -05:00
NepDisk
f18dee3db7
Allow bots to stack sneakers
...
When stacking is on bots will attempt to stack them together. Their timing is based on their difficulty, less skilled bots are more wasteful while better bots are less wasteful. Also adjusts Rocket sneakers to also use this logic.
2026-02-24 08:51:23 -05:00
NepDisk
21cab921fa
Make bot mashing more dynamic
...
Instead of being based on a fixed range of tiers, it is now based on a sine curve. The larger the useodds is the more they mash. Also don't calculate if you are going to be forced to mash anyway.
2026-02-24 07:57:10 -05:00
NepDisk
50ad49eba0
Update bot mashing logic for more useodd tiers
2026-02-23 14:32:05 -05: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