X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gate.h;h=bf23bebcf1e59fb1f2d9d3520be9f677ed563048;hb=5fba3602f053116a8e3849bc12c03198d6d7461c;hp=4b3299aded23d2e47caf2b18388c361268e7e873;hpb=6ab4435fb19beb6af6c52691793d5ca17a120f69;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gate.h b/world_gate.h index 4b3299a..bf23beb 100644 --- a/world_gate.h +++ b/world_gate.h @@ -16,16 +16,18 @@ 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, 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, +static int gate_intersect( ent_gate *gate, v3f pos, v3f last ); +static ent_gate *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 */