diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/utils.h b/src/utils.h index 6532660..63785eb 100644 --- a/src/utils.h +++ b/src/utils.h @@ -37,15 +37,6 @@ #define GLSL_VERSION 100 #endif -// Typedef hackery. -typedef struct Game Game; -typedef struct World World; - -typedef enum FTError { - FTERROR = -1, - FTSUCCESS = 0 -} FTError; - // Bit shit. #define SET_BIT(b, n) (b | (0x1 << n)) #define CLEAR_BIT(b, n) (b & ~(0x1 << n)) @@ -61,4 +52,13 @@ typedef enum FTError { #define PRINT_VECTOR2(v) printf("%f %f\n", v.x, v.y) #define PRINT_VECTOR3(v) printf("%f %f %f\n", v.x, v.y, v.z) +// Typedef hackery. +typedef struct Game Game; +typedef struct World World; + +typedef enum FTError { + FTERROR = -1, + FTSUCCESS = 0 +} FTError; + #endif |