X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gate.h;h=5663c295d581c9b8bc74b4163cb6a006468b03d4;hb=01154bc01a470dc1ccfe8c05fe6b56857a08cca9;hp=b45c70d86c0f1ce3efb3896d1fa11dd79a3a97cc;hpb=2dd61c7f0185ec525658ca398801f46e6adccf23;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gate.h b/world_gate.h index b45c70d..5663c29 100644 --- a/world_gate.h +++ b/world_gate.h @@ -16,16 +16,17 @@ struct world_gates{ } static world_gates; -VG_STATIC void world_gates_init(void); -VG_STATIC void gate_transform_update( ent_gate *gate ); -VG_STATIC void world_link_nonlocal_async( void *payload, u32 size ); -VG_STATIC void world_unlink_nonlocal( world_instance *world ); -VG_STATIC int render_gate( world_instance *world_inside, +static void world_gates_init(void); +static void gate_transform_update( ent_gate *gate ); +static void world_link_nonlocal_async( void *payload, u32 size ); +static void world_unlink_nonlocal( world_instance *world ); +static int render_gate( world_instance *world, world_instance *world_inside, ent_gate *gate, camera *cam, int layer_depth ); -VG_STATIC int gate_intersect( ent_gate *gate, v3f pos, v3f last ); -VG_STATIC ent_gate *world_intersect_gates( world_instance *world, - v3f pos, v3f last ); +static int gate_intersect( ent_gate *gate, v3f pos, v3f last ); +static u32 world_intersect_gates( world_instance *world, v3f pos, v3f last ); +static void ent_gate_call( world_instance *world, ent_call *call ); +static void ent_gate_get_mdl_mtx( ent_gate *gate, m4x3f mmdl ); #endif /* WORLD_GATE_H */