Skip to content

Add signatures for teardown's internal lua register system - #3

Open
morgana-x wants to merge 2 commits into
TTFH:mainfrom
morgana-x:dev
Open

Add signatures for teardown's internal lua register system#3
morgana-x wants to merge 2 commits into
TTFH:mainfrom
morgana-x:dev

Conversation

@morgana-x

@morgana-x morgana-x commented Aug 27, 2026

Copy link
Copy Markdown

I can't seem to set up the build environment for this particular project ( can't figure out the package grabbing stuff cause I'm stoopid) so I've only really added the signatures / definitions and nothing else

While working on a separate project I found these game functions useful for registering custom lua functions without crashing the game (Hook td_ScriptRegisterSharedFunctions, then call td_ScriptRegisterFunction where needed)

Uses ScriptCoreInner* and td_string* rather than lua_State*, char*, otherwise still uses lua_CFunction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant