Created the Window and Renderer and started implementing the functions

for the game loop
This commit is contained in:
abdelrahman committed 2022-09-10 22:17:58 +01:00
1 parent a0d8b75c11
commit 33066b381e
11 files changed
+280 -24

No files matched your search

+14
View File
@@ -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