game works as before without a few things

This commit is contained in:
2023-12-11 23:00:31 +02:00
committed by Illusion
parent 77ec3991c7
commit 91fd72db36
12 changed files with 136 additions and 332 deletions
+8 -1
View File
@@ -4,11 +4,16 @@
#include "text.h"
typedef struct ZephWindow {
Size size;
bool is_fullscreen;
} ZephWindow;
typedef struct Context {
bool should_quit;
Color clear_color;
Size screen_size;
Size window_size;
ZephWindow window;
ZephFont font;
Matrix4x4 projection;
@@ -20,3 +25,5 @@ bool zephr_should_quit();
void zephr_swap_buffers();
Size zephr_get_window_size();
void zephr_make_window_non_resizable();
void zephr_toggle_fullscreen();
void zephr_quit();