X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=a36dc0a2460528ff70aad8c2fb1d9d7da0d9fd3e;hb=5ecf9cca8b5b9bf876d7e7c7fde03d5b187bb42b;hp=2ee2d7cd55f70669b1cc310d12da17e31f68bbc1;hpb=6d66c67945f84476d6ac75a0497007cc30bcf58c;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index 2ee2d7c..a36dc0a 100644 --- a/common.h +++ b/common.h @@ -1,25 +1,15 @@ +/* + * Copyright (C) 2021-2022 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; - -/* 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 -}; - -/* TODO: he needs a home somewhere */ typedef struct ray_hit ray_hit; struct ray_hit { @@ -28,4 +18,6 @@ struct ray_hit v3f pos, normal; }; +static int network_scores_updated = 0; + #endif /* COMMON_H */