Commit graph

22878 commits

Author SHA1 Message Date
NepDisk
a76aa34c6f Merge branch 'blankart-dev' into itemstuff 2025-11-09 16:29:36 -05:00
Indev
d72a26a073 Attempt to fix some lua userdata being corrupted when allocated via PoolAllocator 2025-11-09 16:28:25 -05:00
GenericHeroGuy
f7c1c474e6 Clean up and consolidate all item cooldown code
* The "unique item" flag has moved to kartitem, and split to accomodate
  shields (item slot only, not paper items)
* "BGoneTime" renamed to "CooldownTime"
* indirectitemcooldown has been folded into the existing cooldown system,
  all results with the indirect flag share the highest cooldown time
* Added cooldown debugger to kartdebugdistribution
* Fixed Thunder Shield not resetting cooldown when killing an SPB
2025-11-09 22:00:48 +01:00
GenericHeroGuy
ef65f93ada Merge branch 'blankart-dev' into itemstuff 2025-11-09 22:00:14 +01:00
NepDisk
219b12c927 Allow wipeout to drain in the air again 2025-11-09 15:27:24 -05:00
Eidolon
e4274651c0 Put seclist nodes in LevelPool memory
Replaces the old freelist solution with the LevelPool, which
dramatically reduces the number of allocations needed for mobj and
precip sector assignment. In measurement, this cuts down the time taken
for spawning precipitation by 50%.
2025-11-09 13:15:28 -05:00
Eidolon
b45de0b7ec Merge branch 'slab-allocate-mobj' into 'master'
Add level pool allocator and use it for mobj, precip, thinkers

See merge request KartKrew/Kart!2482
2025-11-09 13:12:14 -05:00
Anonimus
a7508fa923 Expose a bunch of functions to Lua 2025-11-09 03:25:12 -05:00
Anonimus
fc4c7fa08b Hash hash hash hash hash 2025-11-09 00:31:22 -05:00
Anonimus
8f4c710fd6 Make the multi-item ALT indicator use separate patches
Minimize hardcode offsets
2025-11-09 00:31:22 -05:00
NepDisk
f4290c0235 Merge branch 'blankart-dev' into itemstuff 2025-11-08 22:08:32 -05:00
NepDisk
ebfdfc86b4 Me and my homies hate SDL Mixer 2025-11-08 22:08:07 -05:00
Anonimus
d10b01e4a3 Display the ALT indicator more consistently in roulettes and item toggles
Doesn't account for unique alt item patches... yet
2025-11-08 20:54:44 -05:00
NepDisk
ab33e6b89f Merge branch 'blankart-dev' into itemstuff 2025-11-08 18:31:58 -05:00
NepDisk
1ae3ceaa4b Add mine kneecapper cvar and track lifetime of mobj 2025-11-08 18:14:47 -05:00
GenericHeroGuy
2546729b0c Custom item papersprites 2025-11-08 23:46:16 +01:00
minenice55
528a4640a0 implement KIF_HIDEFROMROULETTE 2025-11-08 16:31:25 -05:00
NepDisk
e5cd7e3df7 Merge branch 'blankart-dev' into itemstuff 2025-11-08 13:54:52 -05:00
Gustaf Alhäll
4e4a43e7f5 Fix buffer underflow when querying invalid nodes 2025-11-08 13:31:44 -05:00
NepDisk
37831094a4 Hide followers toggle 2025-11-08 13:00:18 -05:00
NepDisk
a7f50a597e Implement check indicators for altshrink and Flameshield 2025-11-08 12:28:20 -05:00
GenericHeroGuy
d7f3a88d9f Clean up more alt shrink code 2025-11-08 17:34:29 +01:00
GenericHeroGuy
66c894558f Move held item thinker code into k_items.c 2025-11-08 17:23:19 +01:00
GenericHeroGuy
96b766fb56 Merge branch 'blankart-dev' into itemstuff 2025-11-08 16:34:13 +01:00
GenericHeroGuy
ed861e5c1b Untested Changes Theory 2025-11-08 16:30:40 +01:00
GenericHeroGuy
7bd225da17 Move forceme into kartroulette_t 2025-11-08 16:24:09 +01:00
GenericHeroGuy
8e1cd1e6fd Simplify bubble debris code and fix the earrape
Turns out MF_BOUNCE mobjs play their activesound when they touch a wall!
2025-11-08 14:49:36 +01:00
Anonimus
6f8b469730 Netsynch item force priorities 2025-11-08 02:44:57 -05:00
Anonimus
187826bb01 Fix bgone purgatory 2025-11-08 02:44:44 -05:00
Anonimus
79aaff6265 Fix forceme oversight 2025-11-08 02:23:09 -05:00
NepDisk
f8d5f6890f fix SINT8 write macro, fix big endian READUINT32 macro
Thanks alug for these past couple commits
2025-11-08 02:20:17 -05:00
NepDisk
9ded583c90 R_AllocClippingTables & R_AllocTextureColumnTables: fix nullptr arithmetic 2025-11-08 02:14:35 -05:00
NepDisk
b25464e222 R_DrawPlanes: dont increment garbage ptr 2025-11-08 02:08:53 -05:00
Alug
29002117e1 simplify srb2::floattofixed
my tired ass didnt think about just reusing shit kek
ty indev <3
2025-11-08 02:07:18 -05:00
Alug
88c0fc51d8 software renderer: handle some float type related issues with slope drawers
there were a bunch of cases where inf and nan float results were casted and used with integer things, which is undefined in c

yes i did use ceepeepee for that crap, cause this wouldve been really annoying without templating
if someone really wants that crap to use outside ceepeepee, feel free to make a bunch of wrappers cause im too lazy for that stuff
2025-11-08 02:06:53 -05:00
NepDisk
d7ed03fab9 Remove M_Memcpy
Was quite literally a wrapper that did nothing.
2025-11-08 02:00:30 -05:00
minenice55
c16bb035ed prep potential hide from roulette flag 2025-11-07 22:54:27 -05:00
NepDisk
0d3e7bc033 Unsquish visually when unsetting squish 2025-11-07 22:52:47 -05:00
NepDisk
a2e2759c0a Port various old item hooks from custom v1 builds 2025-11-07 21:24:04 -05:00
GenericHeroGuy
4986bde9ab Restore the item toggle menu back to working order 2025-11-08 02:15:47 +01:00
GenericHeroGuy
3c64f345fb SOC the items... finally! 2025-11-07 23:23:23 +01:00
Anonimus
b76d6a6df5 Update items readme 2025-11-07 16:23:28 -05:00
Alug
278c1ee941 call NetKeepAlive during ogl precache
should prevent timeouts on slower systems (*cough* *cough* windoze *cough*) hopefully
thx neppy for the idea!
2025-11-07 16:19:10 -05:00
NepDisk
2fc82065b2 HWR_PrecacheLevelFlats: only run flat encore case when having an 'encoremap'
f34a47c50d
2025-11-07 16:15:30 -05:00
Alug
fc8066b92b HWR_PrecacheLevel: disable sprite precaching
in some cases this may lead to crashes, its mostly useless in gl eitherway due to how colourmapped sprites work
2025-11-07 16:13:10 -05:00
Anonimus
bdf06d086d Rewrite the shield cooldown system to apply to KRF_UNIQUE items in general 2025-11-07 14:49:05 -05:00
NepDisk
2ce1cdb02f Make make RingBox Action use kart ring giver 2025-11-07 13:12:12 -05:00
minenice55
255a866fc3 implement KRF_UNIQUE (xItem's XIF_UNIQUE) 2025-11-07 12:57:07 -05:00
Alug
78929641f7 use "offsetof" for skydome vbo offsets
silences UBSAN complaining about accessing struct members through null ptr
2025-11-07 12:14:44 -05:00
GenericHeroGuy
a2396fbdac Item refactor, part 2
Clean up alt item stuff, replace the billion parameters with kartroulette_t
2025-11-07 18:01:13 +01:00