Commit graph

22915 commits

Author SHA1 Message Date
yamamama
e4107aaa45 Readjust pathfind odds distance value
Forgot to correct it after I fixed the multiplier oversight
2025-11-16 04:58:06 -05:00
yamamama
edbcfe3af8 Read baked offsets from the interpolation target 2025-11-16 00:51:44 -05:00
yamamama
c37924428d Expose Alt. Invin. values to Lua
Not letting people modify maxinvincibilitytime because that'd mess up too much
It's also super redundant; you can emulate this in like maybe a line of code in a script lol
2025-11-16 00:27:46 -05:00
yamamama
245085fa2b Prevent bottlenecking at minimum Alt. Invin. times
The time limit is super short, and the offroad creep and speed loss kick in after 2 seconds. I think this'll be okay.
2025-11-16 00:25:30 -05:00
yamamama
84e0f9503e SecsToFixed, SecsToFixedTens, and 64-bit variants
Converts seconds/tens of seconds to fixed_t values:
- SecsToFixed: 1 second is 1 fracunit
- SecsToFixedTens: 10 seconds is 1 fracunit
2025-11-16 00:23:12 -05:00
NepDisk
f5c1cd63b4 LUA_HookPlayerItem is now UINT8 pt2
done
2025-11-16 01:37:26 +01:00
NepDisk
23603656ad LUA_HookPlayerItem is now UINT8 pt1
doing this in the web client for codeberg cus lazy lol
2025-11-16 01:36:46 +01:00
NepDisk
19224629d9 Merge pull request 'Refactor item system' (#180) from itemstuff into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/180
2025-11-16 01:32:37 +01:00
minenice55
fc4c3ada89 comment out eggmine stuff (for now) 2025-11-15 17:05:47 -05:00
GenericHeroGuy
77e4d92f5d Item capsules now use stringarg0 to specify the item type
...for obvious reasons
arg0 is now remapped from RR item types, cause why the hell not
2025-11-15 22:18:04 +01:00
GenericHeroGuy
9efc468979 Updated item toggles menu
Invinc is animated on the title screen, superring now gets locked out
Small odds code cleanup since the landmine's result is finally gone
2025-11-15 17:18:33 +01:00
NepDisk
5e63f06de8 only call netkeepalive between calls during gl precache
bcd54110d5
2025-11-14 17:22:05 -05:00
yamamama
1529a5d94a Shortinvin isn't necessary, just use a minimum time limit 2025-11-13 16:12:11 -05:00
yamamama
ea090b35f0 Increase Alt. Invin. distance threshold...again
95% this time
2025-11-13 16:11:38 -05:00
yamamama
16ff617c8b Alt. Invin. bottlenecker prevention prelim 2025-11-13 12:34:33 -05:00
GenericHeroGuy
911c454fa8 Fix graphics replacements, fix altitem flag not being synced 2025-11-13 16:04:45 +01:00
NepDisk
1bc89c3fa7 If flags are not specified, assume 0 for P_DoPlayerExit 2025-11-13 10:02:02 -05:00
NepDisk
e15854b672 Merge branch 'blankart-dev' into itemstuff 2025-11-13 01:57:33 -05:00
NepDisk
599cbafd65 Fix HUD hook not being put in the correct spot 2025-11-13 01:52:33 -05:00
yamamama
be8196c411 Buff Alt. Shrink speed
Curse of Easy Speed (or Gear 1)
2025-11-13 00:22:44 -05:00
GenericHeroGuy
1385692e83 Cleanup itemroulette 2025-11-12 23:18:24 +01:00
GenericHeroGuy
e95faf8b55 Cleanup K_AwardPlayerItem 2025-11-12 22:50:29 +01:00
GenericHeroGuy
15c64731e4 Make kartitemtype_e unsigned, replace KITEM_SAD with MAXKARTITEMS
Plus some misc fixes/changes (per-map initialization in one place)
2025-11-12 22:06:05 +01:00
minenice55
d2e80f9462 add item use cooldown to hud timers 2025-11-12 10:08:28 -05:00
minenice55
474924a507 let bots check item cooldowns
also allow smarter bots to burn flame shield fuel to go thru offroad a bit faster
2025-11-12 09:50:02 -05:00
minenice55
7b2fbfac4e add new values to save archival 2025-11-12 09:07:55 -05:00
yamamama
49ada92085 Brainfart 2025-11-12 07:25:38 -05:00
Anonimus
8e17e5e5cc Odds exaggeration is a legacy bandaid 2025-11-12 07:18:56 -05:00
Anonimus
2122da0933 SPB Rush toggle 2025-11-12 07:17:54 -05:00
Anonimus
ef6958a578 KRF_HIDEFROMSPB
This isn't a thing in v1 and I'm not sure why it was locked to the Thunder Shield for so long
2025-11-12 07:13:40 -05:00
Anonimus
ad1b01d97b Get rid of the extra parenthesis in the WADNAME error message 2025-11-12 03:24:49 -05:00
Anonimus
cfef019cfb e 2025-11-12 03:21:31 -05:00
Anonimus
40aa534221 At least explain why WADNAME warps shit themselves 2025-11-12 03:21:31 -05:00
minenice55
48dce534e2 implement item usage cooldown (xItemLib feature)
mainly to by used by lua scripts
2025-11-12 00:38:41 -05:00
Anonimus
4d67f68aec At least explain why WADNAME warps shit themselves 2025-11-11 02:38:55 -05:00
minenice55
09d00bdd5f statically link Everything
probably a Very Bad way of fixing the opus issues but it works apparently
2025-11-09 23:40:43 -05:00
NepDisk
a2e9d4ec64 Revert "call NetKeepAlive during ogl precache"
This reverts commit 278c1ee941.
2025-11-09 20:52:09 -05:00
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