1
0
Fork 0
2022-untitled-game/code/game/engine/debug.h

41 lines
509 B
C
Raw Normal View History

2022-08-02 16:35:50 +00:00
#pragma once
typedef struct debug {
struct {
time_t data1;
} data_loader;
struct {
time_t geo;
time_t screen;
time_t text;
} render_mgr;
struct {
bool enabled;
camera_t fly;
transform_t transform;
} camera;
} debug_t;
debug_t* g_debug;
void
DEBUG_startup(void);
char*
DEBUG_load_shader(const char* path, size_t* size);
void
DEBUG_reload_shaders(render_mgr_t* in);
void
DEBUG_reload_data1(void);
void
DEBUG_camera_toggle(void);
void
DEBUG_camera_update(float dt, input_t input);