Created the Window and Renderer and started implementing the functions
for the game loop
This commit is contained in:
1 parent
a0d8b75c11
commit
33066b381e
11 files changed
+280
-24
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#ifndef GAME_H
|
||||
#define GAME_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
bool init_game(const char *game_name, int window_width, int window_height,
|
||||
bool full_screen);
|
||||
bool game_running();
|
||||
void handle_events();
|
||||
void update();
|
||||
void render();
|
||||
void close_game();
|
||||
|
||||
#endif // !GAME_H
|
||||
Reference in new issue
Block a user