updated handler and fixed state in the process

This commit is contained in:
herbglitch 2022-12-16 01:09:01 -07:00
parent 55e8c44221
commit 5a0d1af942
5 changed files with 24 additions and 18 deletions

View file

@ -22,13 +22,12 @@ typedef struct ARC_EngineData {
double dt;
uint32_t running;
ARC_Point windowSize;
ARC_Handler_CleanDataFn cleanfn;
} ARC_EngineData;
//NOTE: most work below is temp, and will change once I figure out a better way to write this header
void ARC_EngineData_Create(ARC_EngineData **data);
void ARC_EngineData_Create(ARC_EngineData **data, ARC_Handler_CleanDataFn cleanfn);
void ARC_EngineData_Destroy(ARC_EngineData *data);
/**