X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=sidebyside;f=world_gate.h;h=f1b4f027fd6a4e0632f1f2e3168452bd1361713d;hb=c0e4a67ba2f001179df6e2cde97370a946669c22;hp=201187cfbc9ee32944bde7ba1c27fa674d0a2f3a;hpb=2c91a71533b4ce86b9e7fd708420ae05c74d8f52;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gate.h b/world_gate.h index 201187c..f1b4f02 100644 --- a/world_gate.h +++ b/world_gate.h @@ -11,7 +11,7 @@ struct world_gates{ glmesh mesh; - mdl_submesh sm_surface, sm_marker[4], sm_icosphere; + mdl_submesh sm_surface, sm_marker[4]; camera cam; v3f userportal_co; @@ -21,7 +21,7 @@ static world_gates; static void world_gates_init(void); static void gate_transform_update( ent_gate *gate ); 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 ); @@ -29,4 +29,7 @@ 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 ); +static void world_link_nonlocal_async( void *payload, u32 size ); +static void world_unlink_nonlocal( world_instance *world ); + #endif /* WORLD_GATE_H */