(50c0271)
[carveJwlIkooP6JGAAIwe30JlM.git] / world_gate.h
index 03e45685b16b2c1b3908a2039cce8508c0203939..a071e4bb20ee575e59c5f1722ade8b4da0ac0dab 100644 (file)
@@ -7,6 +7,7 @@
 #include "vg/vg_camera.h"
 #include "world.h"
 #include "shaders/model_gate.h"
+#include "entity.h"
 
 struct world_gates
 {
@@ -26,10 +27,10 @@ int render_gate( world_instance *world, world_instance *world_inside,
 int gate_intersect( ent_gate *gate, v3f pos, v3f last );
 u32 world_intersect_gates( world_instance *world, v3f pos, v3f last );
 
-void ent_gate_call( world_instance *world, ent_call *call );
+entity_call_result ent_gate_call( world_instance *world, ent_call *call );
 void ent_gate_get_mdl_mtx( ent_gate *gate, m4x3f mmdl );
 
-void world_link_nonlocal_async( void *payload, u32 size );
+void world_link_gates_async( void *payload, u32 size );
 void world_unlink_nonlocal( world_instance *world );
 void render_gate_unlinked( world_instance *world,
                            ent_gate *gate, vg_camera *cam );