X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gate.h;h=a071e4bb20ee575e59c5f1722ade8b4da0ac0dab;hb=494c85703c76c4123c49937a32584840b6be1470;hp=03e45685b16b2c1b3908a2039cce8508c0203939;hpb=5f6a4f9df6c8accc89f1920bfe9ace3cbac4c4b6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gate.h b/world_gate.h index 03e4568..a071e4b 100644 --- a/world_gate.h +++ b/world_gate.h @@ -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 );