7 typedef struct ent_focus_context ent_focus_context
;
8 struct ent_focus_context
10 world_instance
*world
;
11 u32 index
; /* Array index of the focused entity */
15 void world_gen_entities_init( world_instance
*world
);
16 ent_spawn
*world_find_spawn_by_name( world_instance
*world
,
18 ent_spawn
*world_find_closest_spawn( world_instance
*world
,
20 void world_default_spawn_pos( world_instance
*world
, v3f pos
);
21 void world_entity_start( world_instance
*world
, vg_msg
*sav
);
22 void world_entity_serialize( world_instance
*world
, vg_msg
*sav
);
24 entity_call_result
ent_volume_call( world_instance
*world
, ent_call
*call
);
25 entity_call_result
ent_audio_call( world_instance
*world
, ent_call
*call
);
26 entity_call_result
ent_ccmd_call( world_instance
*world
, ent_call
*call
);
28 void entity_bh_expand_bound( void *user
, boxf bound
, u32 item_index
);
29 float entity_bh_centroid( void *user
, u32 item_index
, int axis
);
30 void entity_bh_swap( void *user
, u32 ia
, u32 ib
);
31 void entity_bh_debug( void *user
, u32 item_index
);
32 void entity_bh_closest( void *user
, u32 item_index
, v3f point
,
35 void world_entity_set_focus( u32 entity_id
);
36 void world_entity_focus_modal(void);
38 void world_entity_exit_modal(void);
39 void world_entity_clear_focus(void);
41 void world_entity_focus_preupdate(void);
42 void world_entity_focus_render(void);
43 void world_entity_focus_camera( world_instance
*world
, u32 uid
);
44 void update_ach_models(void);
46 extern bh_system bh_system_entity_list
;