Game

Typedefs

typedef struct game_code game_code
typedef struct binocle_game binocle_game

Functions

void binocle_game_run(struct binocle_window window, struct binocle_input input)
void binocle_game_update(binocle_game *game, float dt)
void binocle_game_draw(binocle_game *game, struct binocle_window window, float dt)
void binocle_game_hotreload(binocle_game *game, char *sourceGameCodeDLLFullPath)
void binocle_unload_game_code(game_code *game)
game_code binocle_load_game_code(char *SourceDLLName)
struct game_code

Public Members

void *GameCodeDLL
time_t DLLLastWriteTime
game_update_and_render *UpdateAndRender
int32_t IsValid
struct binocle_game

Public Members

game_code game_code
game_memory game_memory
bool paused