NepDisk
557166ccef
Init more stuff
2026-02-08 09:51:17 -05:00
GenericHeroGuy
c91eaa5e0b
Make compatmode writable, fix compatmode in nested hooks
2026-01-01 21:15:39 +01:00
NepDisk
6d6cb09280
Convert most strcmp/stricmp to fastcmp/fasticmp
2025-12-11 13:00:32 -05:00
NepDisk
25569fbd55
Warning cleanup
2025-12-10 16:35:51 -05:00
minenice55
83176e4c9f
make equip style a property of the items proper
...
KNOWN ISSUE: rockets and eggman leave the item slot empty when equipped, should probably add a "equipped item type" field to the player struct
2025-12-06 00:33:51 -05:00
minenice55
02a0c6ff1a
Update lua_hooklib.c
2025-12-04 17:46:18 -05:00
minenice55
f72f28976c
ohhhh I'm stupid
2025-12-04 17:45:13 -05:00
minenice55
e5afa5475e
(non-functioning) lua overrides for K_DropHnextList
...
seems the hook isn't receiving the returned droptype?
2025-12-04 03:16:54 -05:00
minenice55
2c71e4c18a
semi-expose the item equipping logic
...
really just need enough to be able to prototype stuff with
2025-11-28 20:03:23 -05:00
NepDisk
e9d7843b91
Allow P_CanPickupItem to be hooked and unmagic it
2025-11-17 21:50:03 -05:00
minenice55
0856435fcc
StripItems / StripOther lua hooks
2025-11-17 20:59:37 -05: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
a2e2759c0a
Port various old item hooks from custom v1 builds
2025-11-07 21:24:04 -05:00
NepDisk
c3bf7e643d
Revert "try Netsyncing this stuff"
...
This reverts commit 2f337ee3d6 .
2025-09-24 12:37:24 -04:00
NepDisk
c5a2ae1431
Revert "Make this a 3"
...
This reverts commit 2e588d3516 .
2025-09-24 12:37:17 -04:00
NepDisk
2e588d3516
Make this a 3
2025-09-18 10:45:17 -04:00
NepDisk
2f337ee3d6
try Netsyncing this stuff
2025-09-18 10:31:53 -04:00
JugadorXEI
dc9bec000a
Bot library for Lua (botvars getter/setter, bot functions)
2025-08-31 14:16:49 +02:00
NepDisk
1df46f732b
Grand Prix Rank Points Hook
...
Yes this is my own MR lmao https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/122
2025-07-05 20:34:41 -04:00
NepDisk
2f84779d41
Update rest of the existing files to use blankart branding
2025-07-01 00:23:30 -04:00
NepDisk
1790eb413c
Call LUA_HookLinedefExecute from LUA_HookSpecialExecute
...
Lets me directly use activator and means cleaner looking special code
2025-05-10 08:51:45 -04:00
GenericHeroGuy
8a51847fb1
Y'know what? Just make these functions one-based, sheesh
2025-03-03 21:18:07 +01:00
GenericHeroGuy
1025ac59bd
Translate MapLoad/MapChange and implicit gamemap argument
2025-03-03 19:03:36 +01:00
GenericHeroGuy
ec279abe4a
And finally... break some more limits
...
Good luck to whoever wants to deal with the raw texture numbers in
that Liminal Landscape HUD hook that changes sidedef textures
(I had no idea that was even possible...)
2025-03-03 02:39:53 +01:00
NepDisk
1a3295f670
More warning fixes, restore old pause, No void in 3p splitscreen
2025-02-23 21:45:33 -05:00
GenericHeroGuy
3928a98d72
Properly fix runaway cliprects so they don't interfere with other hooks
2025-02-22 19:38:35 +01:00
hayaunderscore
abc004ddc8
Move V_ClearClipRect after call_mapped
...
based on toaster's suggestion
2025-02-22 01:51:34 +01:00
Sally Coolatta
628b86da4c
Clear clipping rectangle before each hook call
...
Prevents Lua from being able to make a mess.
2025-02-22 01:28:59 +01:00
GenericHeroGuy
8f87807c92
Fix Lua HUD interpolation
2025-02-10 01:56:29 +01:00
GenericHeroGuy
390fa8c30f
Assorted Lua fixes, part 1
2025-01-28 02:29:43 +01:00
GenericHeroGuy
71ab72c85e
Add lua_compatmode
2025-01-24 18:25:04 +01:00
Sally Coolatta
713ac093bf
devmode cheat online
2025-01-10 11:36:04 -05:00
NepDisk
5d0d374c14
Make old hooks functional
2024-12-28 13:09:18 -05:00
NepDisk
1358541f75
wip: Old damage hooks
...
Don't seem to work as of yet.
2024-12-28 10:45:06 -05:00
NepDisk
d5e45f3798
Some lua backcompat changes
...
have yet to test some of these
2024-12-27 22:39:49 -05:00
Sally Coolatta
b656167bfb
Replace LinedefExecute hook
...
- It is now called the "SpecialExecute" hook, since it can be called from ACS in addition to linedef specials.
- The input arguments are completely different now. Instead of (line_t, mobj_t, sector_t), it's (activator_t, args array, stringargs array). activator_t is userdata containing valid, mo (mobj_t), line (line_t), side (side_t), sector (sector_t), and po (polyobject_t).
2024-10-15 13:44:30 -04:00
James R
3fb806ed71
Remove global lua_save_p and use savebuffer_t for LUA_Archive / LUA_UnArchive
2024-10-15 07:43:52 -04:00
James R
9c8cde2737
Merge branch 'fix-perfstats-4' into 'master'
...
Fix perfstats 4 not working properly
See merge request KartKrew/Kart!932
2024-08-21 18:57:24 -04:00
Hanicef
73d324b2a2
Add NameChange lua hook
2024-08-01 02:12:05 -04:00
Sal
1d8475a958
Merge branch 'hooklib-port' into 'master'
...
Hooklib refactor ported and (mostly) squashed
See merge request KartKrew/Kart!662
2024-07-31 02:30:20 -04:00
Sally Coolatta
7d67e02ea3
Bot perfstats
...
Show how long they take to think on all of their main tasks
2022-08-27 00:04:33 -04:00
Steel Titanium
e1e57c071b
Fix MusicChange hook not returning some values correctly
2022-03-18 12:52:08 +00:00
Hannu Hanhi
44a8b01619
Fix incorrect values caused by outdated use of timing functions in perfstats 3
2022-03-18 11:58:29 +00:00
Sryder
8344ac3489
Actually just get rid of seenplayer and NAMECHECK altogether.
2021-03-03 18:03:41 +00:00
James R
98bcfc7cac
Conflicts e9bbdb8cc3 ef1ca357de
2021-02-27 03:35:38 -08:00
Sally Coolatta
9d7ec0ab8f
Merge SRB2 next
...
Probably doesn't compile yet, but I got rid of all of the conflicts for anyone who wants to take a stab at it.
2021-02-27 05:18:36 -05:00
James R
956fd338f0
Merge branch 'oldguards' into 'next'
...
Kill remaining HAVE_BLUA and SEENAMES
See merge request STJr/SRB2!1319
2020-12-12 17:34:04 -05:00
James R
41f1b3b97c
Kill SEENAMES
2020-12-12 02:11:23 -08:00
James R
477ae9d1af
Merge branch 'gamequit-argument' into 'next'
...
Send a `quitting` argument to the GameQuit Lua hook.
See merge request STJr/SRB2!1276
2020-12-10 15:25:52 -05:00
James R
2e649de64f
Merge branch 'high-resolution-timer-2' into next
2020-12-10 02:55:02 -08:00