summaryrefslogtreecommitdiff
path: root/include/engine/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/engine/engine.h')
-rw-r--r--include/engine/engine.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/engine/engine.h b/include/engine/engine.h
index 6943538..4a1b6e3 100644
--- a/include/engine/engine.h
+++ b/include/engine/engine.h
@@ -52,6 +52,8 @@ typedef struct {
usize bindings_sz;
usize bindings_len;
+ struct RenderObject *testobject;
+
binding_t bindings_global[NUM_GLOBAL_BINDINGS];
} Platform;
@@ -85,12 +87,12 @@ void engine_input_ctx_reset(void);
#ifdef ENGINE_INTERNALS
-#define MAX(a, b) (a > b ? a : b)
+#define GLFW_INCLUDE_NONE
+#include <GLFW/glfw3.h>
/* Window */
struct Window {
- SDL_Window* window;
- SDL_Renderer* renderer;
+ GLFWwindow* window;
f32 render_scale;
v2_i32 windowsize;
@@ -100,7 +102,6 @@ struct Window {
};
typedef struct {
- SDL_Texture* texture;
const i32 tilesize;
const i32 width;
const i32 height;
@@ -120,7 +121,7 @@ struct Resources {
/* Our actual sources */
Texture** textures;
- TTF_Font** fonts;
+ //TTF_Font** fonts;
};
#endif