diff options
Diffstat (limited to 'src/core/include/engine')
| -rw-r--r-- | src/core/include/engine/core/platform.h | 4 | ||||
| -rw-r--r-- | src/core/include/engine/engine.h | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/core/include/engine/core/platform.h b/src/core/include/engine/core/platform.h index 9fe22b3..f8513ac 100644 --- a/src/core/include/engine/core/platform.h +++ b/src/core/include/engine/core/platform.h @@ -41,10 +41,6 @@ typedef struct Platform { /* Global resources that live from engine_init to engine_free */ Resources* resources; - /* Text input/editing is currently not used/implemented */ - char* edit_text; - usize edit_pos; - memory* mem; /* The ctrl is probably the only sensible thing in this struct. */ diff --git a/src/core/include/engine/engine.h b/src/core/include/engine/engine.h index 9036520..b4749f7 100644 --- a/src/core/include/engine/engine.h +++ b/src/core/include/engine/engine.h @@ -27,6 +27,8 @@ typedef struct { #include <engine/rendering/window.h> #include <engine/core/platform.h> +#include <cglm/cglm.h> + /* Essential functions */ Platform* engine_init(const char* windowtitle, i32 windowWidth, i32 windowHeight, const f32 render_scale, const u32 flags, @@ -47,7 +49,7 @@ void render_add_unit(RenderUnit* u); void engine_input_ctx_push(i_ctx* ctx); void engine_input_ctx_pop(void); void engine_input_ctx_reset(void); -v2_i32* get_mousepos(void); +void get_mousepos(double *x, double *y); /* move this */ void delay(uint32_t ms); |
