summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core.h15
-rw-r--r--include/lua_core.h6
2 files changed, 21 insertions, 0 deletions
diff --git a/include/core.h b/include/core.h
index 939dfaf..11a8d2a 100644
--- a/include/core.h
+++ b/include/core.h
@@ -145,6 +145,21 @@ int lcoreCompressData( lua_State* L );
int lcoreDecompressData( lua_State* L );
int lcoreEncodeDataBase64( lua_State* L );
int lcoreDecodeDataBase64( lua_State* L );
+/* Automation events functionality. */
+int lcoreLoadAutomationEventList( lua_State* L );
+int lcoreUnloadAutomationEventList( lua_State* L );
+int lcoreExportAutomationEventList( lua_State* L );
+int lcoreSetAutomationEventList( lua_State* L );
+int lcoreSetAutomationEventBaseFrame( lua_State* L );
+int lcoreStartAutomationEventRecording( lua_State* L );
+int lcoreStopAutomationEventRecording( lua_State* L );
+int lcorePlayAutomationEvent( lua_State* L );
+int lcoreGetAutomationEventListCapacity( lua_State* L );
+int lcoreGetAutomationEventListCount( lua_State* L );
+int lcoreGetAutomationEvent( lua_State* L );
+int lcoreGetAutomationEventFrame( lua_State* L );
+int lcoreGetAutomationEventType( lua_State* L );
+int lcoreGetAutomationEventParams( lua_State* L );
/* Input-related functions: keyboard. */
int lcoreIsKeyPressed( lua_State* L );
int lcoreIsKeyPressedRepeat( lua_State* L );
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 );