hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/core/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/application.h')
-rw-r--r--src/core/application.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/application.h b/src/core/application.h
new file mode 100644
index 0000000..4a2bc5c
--- /dev/null
+++ b/src/core/application.h
@@ -0,0 +1,24 @@
+#pragma once
+
+#include <GLFW/glfw3.h>
+
+#define GAME_WINDOW_WIDTH 1920
+#define GAME_WINDOW_HEIGHT 1080
+
+#define DEBUG_WINDOW_WIDTH 800
+#define DEBUG_WINDOW_HEIGHT 800
+
+struct Application
+{
+ struct GLFWwindow* game_window;
+ struct GLFWwindow* debug_window;
+};
+
+struct Application* application_create(void);
+
+void application_render_game(struct Application*);
+void application_render_debug(struct Application*);
+void application_update(struct Application*);
+void application_run(struct Application*);
+
+void application_destroy(struct Application*);