move compiler to its own folder, api changes. wip maps
[carveJwlIkooP6JGAAIwe30JlM.git] / common.h
index a1cad243f7e33d499e7b414bce967483c20859e3..6f0c2f966e705b17d908534f9a41f9829599bb2c 100644 (file)
--- a/common.h
+++ b/common.h
@@ -1,41 +1,8 @@
+/*
+ * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved
+ */
+
 #ifndef COMMON_H
 #define COMMON_H
 
-#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;
-
-/* 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,
-   k_classtype_capsule = 7,
-   k_classtype_route_node = 8,
-   k_classtype_route = 9,
-   k_classtype_bone = 10,
-   k_classtype_skeleton = 11,
-   k_classtype_skin = 12
-};
-
-/* TODO: he needs a home somewhere */
-typedef struct ray_hit ray_hit;
-struct ray_hit
-{
-   float dist;
-   u32 *tri;
-   v3f pos, normal;
-};
-
-static int network_scores_updated = 0;
-
-
 #endif /* COMMON_H */