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
GoldenTails
ded87cb54c
Send a quitting argument to the GameQuit Lua hook
2020-11-29 08:30:50 -06:00
James R
27fbf77922
Huge perfstats refactor
...
I needed to update it to make it functional with the precise timer. But I also
got sick of looking at the mess of sprintf followed by draw call.
2020-11-07 01:32:59 -08:00
Steel Titanium
ef1ca357de
Expose more music functions to Lua
2020-10-31 21:15:41 -04:00
Sally Coolatta
afbbfc9b1f
Fix cvars
...
My wrist burns...
2020-10-24 21:32:07 -04:00
Sally Coolatta
7c2bd0d1c2
Merge remote-tracking branch 'srb2/next' into the-scary-22-merge
2020-10-24 20:50:58 -04:00
Louis-Antoine
4313f248a5
Fix unfortunate typos
2020-10-22 00:08:06 +02:00
Louis-Antoine
eda92f3f2a
Only invoke the Lua API for mobj hooks that need it
2020-10-21 22:48:00 +02:00
Hannu Hanhi
24ff748c58
Performance stats
2020-10-10 22:12:34 +03:00
Sally Coolatta
3e446a167c
Restructure how damage works in kart COMPLETELY
...
Instead of doing its best to avoid P_DamageMobj, it embraces it, using the damagetype system to decide how the player takes damage. Overall less stupid.
2020-08-19 00:55:36 -04:00
Sally Coolatta
0dc21106e5
Lua stuff is done
2020-08-15 07:47:18 -04:00
Sally Coolatta
9a21b3a46b
g_demo compiles
2020-08-12 23:08:31 -04:00
Sally Coolatta
8731c6b7a4
Another round of fixing up
...
- gametyperules are now fitting for kart, not applied to the whole codebase though
- a few more files compile
2020-08-11 16:13:17 -04:00
SteelT
d502ca31cb
Merge lua_hooklib.c
2020-08-10 12:34:38 -04:00
Sally Coolatta
e296e1309a
YAY, round 2
2020-08-09 21:02:56 -04:00
Sally Coolatta
9a9f7b8b1f
Merge lua_hooklib.c
2020-08-05 14:03:24 -04:00
Zachary McAlpin
70fc6854b1
Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2 into playercmd-kart-port
2020-07-30 15:37:41 -05:00
Zachary McAlpin
ad38289605
Bruh I screwed up
2020-07-17 00:33:07 -05:00
Zachary McAlpin
6877df94bc
Ported Lat's PlayerCmd hook to vanilla SRB2
2020-07-17 00:08:38 -05:00