Refactored and simplified lua stuff a lot.
Some checks failed
Build Dusk / run-tests (push) Failing after 1m23s
Build Dusk / build-linux (push) Failing after 1m47s
Build Dusk / build-psp (push) Failing after 1m41s

This commit is contained in:
2026-02-01 21:28:21 -06:00
parent 78e1ae885a
commit 053778a502
53 changed files with 638 additions and 804 deletions

View File

@@ -42,29 +42,13 @@ int moduleCameraPopMatrix(lua_State *L);
/**
* Getter for camera structure fields.
*
* @param context The script context.
* @param key The field key.
* @param structPtr Pointer to the camera structure.
* @param outValue Output script value.
* @param l The Lua state.
*/
void moduleCameraGetter(
const scriptcontext_t *context,
const char_t *key,
const void *structPtr,
scriptvalue_t *outValue
);
int moduleCameraIndex(lua_State *l);
/**
* Setter for camera structure fields.
*
* @param context The script context.
* @param key The field key.
* @param structPtr Pointer to the camera structure.
* @param inValue Input script value.
*
* @param l The Lua state.
*/
void moduleCameraSetter(
const scriptcontext_t *context,
const char_t *key,
void *structPtr,
const scriptvalue_t *inValue
);
int moduleCameraNewIndex(lua_State *l);