X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=d0f4c078529f1b19baedaaaeb5580556ddedf97a;hb=d00b1df8f80e4714dc2f9aa2189d242bb4d09a2f;hp=952b51d8b6b6053db9580acbb1d02740dc04e2ff;hpb=d57b7661518800479c00300ce57407378696eec9;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index 952b51d..d0f4c07 100644 --- a/common.h +++ b/common.h @@ -1,3 +1,7 @@ +/* + * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved + */ + #ifndef COMMON_H #define COMMON_H @@ -5,25 +9,8 @@ #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 -}; - -/* TODO: he needs a home somewhere */ typedef struct ray_hit ray_hit; struct ray_hit { @@ -32,4 +19,6 @@ struct ray_hit v3f pos, normal; }; +static int network_scores_updated = 0; + #endif /* COMMON_H */