X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gate.h;h=2201f766f00ed79fe26de1aa4ed36b75616c2383;hb=70ff4a83e5a4b35436388d9bb999c939559ac23f;hp=5663c295d581c9b8bc74b4163cb6a006468b03d4;hpb=074fa69f479724f9800849430bad5caf730b01ef;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gate.h b/world_gate.h index 5663c29..2201f76 100644 --- a/world_gate.h +++ b/world_gate.h @@ -13,15 +13,15 @@ struct world_gates{ glmesh mesh; mdl_submesh sm_surface, sm_marker[4]; camera cam; + + v3f userportal_co; } static world_gates; 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 ); + ent_gate *gate, camera *cam ); static int gate_intersect( ent_gate *gate, v3f pos, v3f last ); static u32 world_intersect_gates( world_instance *world, v3f pos, v3f last );