fnugz's idea
[carveJwlIkooP6JGAAIwe30JlM.git] / common.h
index c22fd453d34a2dc778e7d78110a5eaa2ad908ae2..7823e1a7e122141245eeacb20e6411e8cef0c410 100644 (file)
--- a/common.h
+++ b/common.h
@@ -1,32 +1,14 @@
+/*
+ * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved
+ */
+
 #ifndef COMMON_H
 #define COMMON_H
 
+#define VG_TIMESTEP_FIXED (1.0/60.0)
 #define VG_3D
-#define VG_FRAMEBUFFER_RESIZE 1
-#include "vg/vg.h"
-
-/* TODO: he needs a home somewhere */
-static float ktimestep = 1.0f/60.0f;
+#define VG_GAME
 
-/* TODO: he needs a home somewhere */
-enum classtype
-{
-   k_classtype_none = 0,
-   k_classtype_gate = 1,
-   k_classtype_block = 2,
-   k_classtype_spawn = 3,
-   k_classtype_water = 4,
-   k_classtype_car_path = 5,
-   k_classtype_instance = 6
-};
-
-/* TODO: he needs a home somewhere */
-typedef struct ray_hit ray_hit;
-struct ray_hit
-{
-   float dist;
-   u32 *tri;
-   v3f pos, normal;
-};
+#include "vg/vg.h"
 
 #endif /* COMMON_H */