started woking on figuring out doxygen documentation and added readme

This commit is contained in:
herbglitch 2024-12-24 03:47:16 -07:00
parent c598f3e106
commit 3f0556341c
1192 changed files with 199462 additions and 29 deletions

View file

@ -12,7 +12,7 @@
#include "arc/std/handler.h"
//TODO: remove this
#include <SDL.h>
//#include <SDL.h>
void ARC_EngineData_Create(ARC_EngineData **data, ARC_Handler_CleanDataFn cleanFn, ARC_Point windowSize){
*data = (ARC_EngineData *)malloc(sizeof(ARC_EngineData));
@ -61,13 +61,13 @@ void ARC_Engine_RunUncapped(ARC_EngineData *data){
return;
}
double lastTime = 0, currentTime;
//double lastTime = 0, currentTime;
data->running = ARC_True;
while(data->running){
currentTime = SDL_GetTicks();
data->dt = currentTime - lastTime;
lastTime = currentTime;
//currentTime = SDL_GetTicks();
//data->dt = currentTime - lastTime;
//lastTime = currentTime;
data->running = ARC_Input_Update(data->input);