config setup
This commit is contained in:
parent
a70e2256e2
commit
cd5471c9c8
8 changed files with 124 additions and 27 deletions
|
|
@ -10,6 +10,7 @@ extern "C" {
|
|||
#include "arc/input/mouse.h"
|
||||
#include "arc/input/keyboard.h"
|
||||
#include "arc/std/handler.h"
|
||||
#include "arc/math/point.h"
|
||||
|
||||
typedef struct ARC_EngineData {
|
||||
ARC_Window *window;
|
||||
|
|
@ -20,6 +21,7 @@ typedef struct ARC_EngineData {
|
|||
|
||||
double dt;
|
||||
uint32_t running;
|
||||
ARC_Point windowSize;
|
||||
|
||||
ARC_Handler_CleanDataFn cleanfn;
|
||||
} ARC_EngineData;
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ void ARC_Sprite_Destroy(ARC_Sprite *sprite);
|
|||
|
||||
void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds);
|
||||
|
||||
void ARC_Sprite_IterateFrame(ARC_Sprite *sprite);
|
||||
|
||||
ARC_Rect *ARC_Sprite_GetBounds(ARC_Sprite *sprite);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue