config working, commented out the line throwing error for closing window. will fix soon

This commit is contained in:
herbglitch 2022-11-07 02:23:53 -07:00
parent 81b3ed9144
commit c5bef3bd16
5 changed files with 12 additions and 274 deletions

View file

@ -13,6 +13,8 @@ typedef struct ARC_EngineData {
ARC_Window *window;
ARC_Renderer *renderer;
ARC_Handler *state;
double dt;
} ARC_EngineData;
//NOTE: most work below is temp, and will change once I figure out a better way to write this header

View file

@ -4,9 +4,11 @@
#ifdef __cplusplus
extern "C" {
#endif
#include "arc/std/config.h"
#include "arc/graphics/renderer.h"
// ARC_Config_Create();
// ARC_Config_Destroy();
void ARC_GraphicsConfig_Init(ARC_Config *config, ARC_Renderer *renderer);
#ifdef __cplusplus
}