From 07d1374c413f3ef8fa935b8e8e59c1f403843307 Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Thu, 9 Nov 2023 12:07:41 +0100 Subject: [PATCH] Add Automation structs --- raylib/raylib.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/raylib/raylib.go b/raylib/raylib.go index 3f7e542b..3d7a1320 100644 --- a/raylib/raylib.go +++ b/raylib/raylib.go @@ -40,6 +40,20 @@ func NewWave(sampleCount, sampleRate, sampleSize, channels uint32, data []byte) return Wave{sampleCount, sampleRate, sampleSize, channels, d} } +// AutomationEvent - Automation event +type AutomationEvent struct { + Frame uint32 + Type uint32 + Params [4]int32 +} + +// AutomationEventList - Automation event list +type AutomationEventList struct { + Capacity uint32 + Count uint32 + Events *AutomationEvent +} + // CameraMode type type CameraMode int32