diff options
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index fc12544..5099409 100644 --- a/src/config.h +++ b/src/config.h @@ -14,4 +14,12 @@ typedef i32 fx32; #define FIXED_POINT_BITS 8 #define FIXED_POINT_ONE (1 << FIXED_POINT_BITS) #define TO_FIXED(x) ((fx32)(x) << FIXED_POINT_BITS) -#define FROM_FIXED(x) ((x) >> FIXED_POINT_BITS)
\ No newline at end of file +#define FROM_FIXED(x) ((x) >> FIXED_POINT_BITS) + +typedef struct{ + fx32 x, y; +}vec2; + +typedef i32 b32; +#define false 0 +#define true 1
\ No newline at end of file |
