19 lines
442 B
C
19 lines
442 B
C
#ifndef GAME_H
|
|
#define GAME_H
|
|
|
|
#include "ObjectStore.h"
|
|
#include <stdbool.h>
|
|
|
|
bool init_game(const char *game_name, int window_width, int window_height,
|
|
bool full_screen);
|
|
bool game_running();
|
|
ObjectID add_object(void *object, EventHandlerPtr eh, UpdateFuncPtr uf,
|
|
RenderFuncPtr rf);
|
|
void remove_object(ObjectID id);
|
|
void handle_events();
|
|
void update();
|
|
void render();
|
|
void close_game();
|
|
|
|
#endif // !GAME_H
|