diff options
| author | jussi | 2022-02-18 18:27:10 +0200 |
|---|---|---|
| committer | jussi | 2022-02-18 18:27:10 +0200 |
| commit | 6e4fdd3b3ae4e4656e151f098c40cfe551a36e8c (patch) | |
| tree | 37e30d371ebd44dfc8bab0d33c26f0294bda5ae4 /include/lua_core.h | |
| parent | 345cc1d5aa3b3c97e2cce453dc65a62c3e05427b (diff) | |
| download | reilua-enhanced-6e4fdd3b3ae4e4656e151f098c40cfe551a36e8c.tar.gz reilua-enhanced-6e4fdd3b3ae4e4656e151f098c40cfe551a36e8c.tar.bz2 reilua-enhanced-6e4fdd3b3ae4e4656e151f098c40cfe551a36e8c.zip | |
Added initial files.
Diffstat (limited to 'include/lua_core.h')
| -rw-r--r-- | include/lua_core.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/lua_core.h b/include/lua_core.h new file mode 100644 index 0000000..66ee22a --- /dev/null +++ b/include/lua_core.h @@ -0,0 +1,27 @@ +#pragma once + +bool luaInit(); +int luaTraceback( lua_State *L ); +bool luaCallMain(); +void luaCallProcess(); +void luaCallDraw(); +void luaRegister(); +/* Lua Util functions */ +Color uluaGetColor( lua_State *L ); +Vector2 uluaGetVector2( lua_State *L ); +Vector3 uluaGetVector3( lua_State *L ); +Rectangle uluaGetRectangle( lua_State *L ); +Quaternion uluaGetQuaternion( lua_State *L ); +Matrix uluaGetMatrix( lua_State *L ); +BoundingBox uluaGetBoundingBox( lua_State *L ); +Ray uluaGetRay( lua_State *L ); +NPatchInfo uluaGetNPatchInfo( lua_State *L ); + +void uluaPushColor( lua_State *L, Color color ); +void uluaPushVector2( lua_State *L, Vector2 vector ); +void uluaPushVector3( lua_State *L, Vector3 vector ); +void uluaPushRectangle( lua_State *L, Rectangle rect ); +void uluaPushMatrix( lua_State *L, Matrix matrix ); +void uluaPushRayCollision( lua_State *L, RayCollision rayCol ); + +int uluaGetTableLen( lua_State *L ); |
