10 static void world_gen_entities_init( world_instance
*world
);
11 static ent_spawn
*world_find_spawn_by_name( world_instance
*world
,
13 static ent_spawn
*world_find_closest_spawn( world_instance
*world
,
15 static void world_entity_start( world_instance
*world
, vg_msg
*sav
);
16 static void world_entity_serialize( world_instance
*world
, vg_msg
*sav
);
18 static void ent_volume_call( world_instance
*world
, ent_call
*call
);
19 static void ent_audio_call( world_instance
*world
, ent_call
*call
);
20 static void ent_ccmd_call( world_instance
*world
, ent_call
*call
);
22 static void entity_bh_expand_bound( void *user
, boxf bound
, u32 item_index
);
23 static float entity_bh_centroid( void *user
, u32 item_index
, int axis
);
24 static void entity_bh_swap( void *user
, u32 ia
, u32 ib
);
25 static void entity_bh_debug( void *user
, u32 item_index
);
26 static void entity_bh_closest( void *user
, u32 item_index
, v3f point
,
29 static void world_entity_focus( u32 entity_id
);
30 static void world_entity_focus_preupdate(void);
31 static void world_entity_focus_render(void);
32 static void world_entity_unfocus();
33 static void world_entity_focus_camera( world_instance
*world
, u32 uid
);
35 static bh_system bh_system_entity_list
= {
36 .expand_bound
= entity_bh_expand_bound
,
37 .item_centroid
= entity_bh_centroid
,
38 .item_closest
= entity_bh_closest
,
39 .item_swap
= entity_bh_swap
,
40 .item_debug
= entity_bh_debug
,
44 #endif /* WORLD_ENTITY_H */