summaryrefslogtreecommitdiffhomepage
path: root/src/rcore.c
diff options
context:
space:
mode:
authorRay <[email protected]>2023-10-27 01:19:10 +0200
committerRay <[email protected]>2023-10-27 01:19:10 +0200
commitf721429f2584b2d2769c7031eb8823f4d768d979 (patch)
tree53b0139de188dd699e4fd1fcaccb0ec8a9e73a3a /src/rcore.c
parent98fcbe3fe2bc2f6a20f8c2415251e9164af8661f (diff)
downloadraylib-f721429f2584b2d2769c7031eb8823f4d768d979.tar.gz
raylib-f721429f2584b2d2769c7031eb8823f4d768d979.zip
ADDED: `SetAutomationEventBaseFrame(int frame)`
Diffstat (limited to 'src/rcore.c')
-rw-r--r--src/rcore.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 67c79efa..c3b69ae8 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -2289,6 +2289,12 @@ void SetAutomationEventList(AutomationEventList *list)
#endif
}
+// Set automation event internal base frame to start recording
+void SetAutomationEventBaseFrame(int frame)
+{
+ CORE.Time.frameCounter = frame;
+}
+
// Start recording automation events (AutomationEventList must be set)
void StartAutomationEventRecording(void)
{