X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=7823e1a7e122141245eeacb20e6411e8cef0c410;hb=74174e4357c402824302174845f89b975dba5981;hp=1e1ebed3c21aaa8d7dfa65f33fbfeba4943217da;hpb=1656d58a7bd17df4a1edcc9677ade4dbafc82229;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index 1e1ebed..7823e1a 100644 --- a/common.h +++ b/common.h @@ -1,25 +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" - -static float ktimestep = 1.0f/60.0f; +#define VG_GAME -enum classtype -{ - k_classtype_none = 0, - k_classtype_gate = 1 -}; - -/* 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 */