ADDED: Automation Events System, exposed to users

Added new API to record and play events
Added examples illustrating functionality
This commit is contained in:
Ray 2023-10-26 23:59:19 +02:00
parent 067dbe8657
commit 99dac5451c
7 changed files with 1155 additions and 334 deletions

View file

@ -63,7 +63,7 @@
// Support CompressData() and DecompressData() functions
#define SUPPORT_COMPRESSION_API 1
// Support automatic generated events, loading and recording of those events when required
//#define SUPPORT_EVENTS_AUTOMATION 1
#define SUPPORT_AUTOMATION_EVENTS 1
// Support custom frame control, only for advance users
// By default EndDrawing() does this job: draws everything + SwapScreenBuffer() + manage frame timing + PollInputEvents()
// Enabling this flag allows manual control of the frame processes, use at your own risk
@ -85,6 +85,7 @@
#define MAX_DECOMPRESSION_SIZE 64 // Max size allocated for decompression in MB
#define MAX_AUTOMATION_EVENTS 16384 // Maximum number of automation events to record
//------------------------------------------------------------------------------------
// Module: rlgl - Configuration values