From 444bfa2f41143aff7490e4fa21565947565b7d30 Mon Sep 17 00:00:00 2001 From: nasr Date: Fri, 13 Mar 2026 22:31:21 +0100 Subject: cleanup: generalisation --- source/platform/platform.h | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 source/platform/platform.h (limited to 'source/platform/platform.h') diff --git a/source/platform/platform.h b/source/platform/platform.h new file mode 100644 index 0000000..da8e065 --- /dev/null +++ b/source/platform/platform.h @@ -0,0 +1,56 @@ +#ifndef PLATFORM_H +#define PLATFORM_H + +#define NIL 0 + +#include +#include + #include +#include +#include + +typedef struct WindowProperties WindowProperties; +struct WindowProperties +{ + i32 x; + i32 y; + u32 height; + u32 width; + u32 border_width; + i32 window_depth; + u32 window_class; + u64 value_mask; + +}; + +typedef struct vertex vertex; + +struct vertex +{ + i32 x; + i32 y; + i32 z; +}; + +typedef struct display_pos display_pos; + +struct display_pos +{ + i32 x; + i32 y; + +}; + +typedef struct pos pos; +struct pos +{ + i32 x; + i32 y; + i32 z; + +} ; + + + + +#endif /* PLATFORM_H */ -- cgit v1.3