From ca238975dc63d2dddcd2b17ad627bedc95dd158c Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 1 Mar 2024 23:11:54 +0200 Subject: Automation events. --- include/lua_core.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/lua_core.h') diff --git a/include/lua_core.h b/include/lua_core.h index 4582669..586f587 100644 --- a/include/lua_core.h +++ b/include/lua_core.h @@ -47,6 +47,7 @@ Ray uluaGetRay( lua_State* L, int index ); NPatchInfo uluaGetNPatchInfo( lua_State* L, int index ); BoneInfo uluaGetBoneInfo( lua_State* L, int index ); Transform uluaGetTransform( lua_State* L, int index ); +// AutomationEvent uluaGetAutomationEvent( lua_State* L, int index ); Buffer* uluaGetBuffer( lua_State* L, int index ); Image* uluaGetImage( lua_State* L, int index ); Texture* uluaGetTexture( lua_State* L, int index ); @@ -65,6 +66,8 @@ Material* uluaGetMaterial( lua_State* L, int index ); Model* uluaGetModel( lua_State* L, int index ); ModelAnimation* uluaGetModelAnimation( lua_State* L, int index ); rlRenderBatch* uluaGetRLRenderBatch( lua_State* L, int index ); +AutomationEvent* uluaGetAutomationEvent( lua_State* L, int index ); +AutomationEventList* uluaGetAutomationEventList( lua_State* L, int index ); /* Lua push types. */ void uluaPushColor( lua_State* L, Color color ); void uluaPushVector2( lua_State* L, Vector2 vector ); @@ -78,6 +81,7 @@ void uluaPushRayCollision( lua_State* L, RayCollision rayCol ); void uluaPushBoundingBox( lua_State* L, BoundingBox box ); void uluaPushBoneInfo( lua_State* L, BoneInfo boneInfo ); void uluaPushTransform( lua_State* L, Transform transform ); +// void uluaPushAutomationEvent( lua_State* L, AutomationEvent event ); void uluaPushBuffer( lua_State* L, Buffer buffer ); void uluaPushImage( lua_State* L, Image image ); void uluaPushTexture( lua_State* L, Texture texture ); @@ -96,5 +100,7 @@ void uluaPushMesh( lua_State* L, Mesh mesh ); void uluaPushModel( lua_State* L, Model model ); void uluaPushModelAnimation( lua_State* L, ModelAnimation modelAnimation ); void uluaPushRLRenderBatch( lua_State* L, rlRenderBatch renderBatch ); +void uluaPushAutomationEvent( lua_State* L, AutomationEvent event ); +void uluaPushAutomationEventList( lua_State* L, AutomationEventList eventList ); /* Utils. */ int uluaGetTableLen( lua_State* L, int index ); -- cgit v1.2.3