JacksEscape/app.h
Edgaru089 19895363a3 Hook Particle to the other systems
Had to manually merge a change set for this
2024-03-26 12:17:21 +08:00

40 lines
640 B
C

#pragma once
#include "entity.h"
#include "physics.h"
#include "player.h"
#include "input.h"
#include "camera.h"
#include "particle.h"
#include "types.h"
#include "util/vector.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _App {
System_Physics *physics;
System_Player *player;
System_Input *input;
System_Entity *entity;
System_Camera *camera;
System_Particle *particle;
bool wantQuit;
} App;
App *app_NewApp();
void app_DeleteApp(App *app);
void app_Advance(App *app, Duration deltaTime);
void app_Render(App *app);
void app_DebugText(App *app, vector_Vector *vec_string);
#ifdef __cplusplus
}
#endif