Separate engine and game

This commit is contained in:
2023-11-07 16:55:14 +01:00
parent 8a13edb838
commit 20034c96e6
922 changed files with 526 additions and 29 deletions

29
engine/breeze/defines.h Normal file
View File

@@ -0,0 +1,29 @@
#ifndef BREEZE_DEFINES_H
#define BREEZE_DEFINES_H
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef float f32;
typedef double f64;
#define BZ_ASSERT(e) assert(e)
#ifndef DEBUG_MODE
#undef BZ_ASSERT
#define BZ_ASSERT(e) (void)(e)
#endif
#endif //BREEZE_DEFINES_H