TODO about preupdate call style
[carveJwlIkooP6JGAAIwe30JlM.git] / world_entity.h
index 5f784d200aa3fc9c92eac920dc2d89ef377eb8d6..c954052a4149ff924c0ddef42588e723c8630dac 100644 (file)
@@ -4,6 +4,14 @@
 #include "vg/vg_bvh.h"
 #include "vg/vg_msg.h"
 
+typedef struct ent_focus_context ent_focus_context;
+struct ent_focus_context
+{
+   world_instance *world;
+   u32 index; /* Array index of the focused entity */
+   bool active;
+};
+
 void world_gen_entities_init( world_instance *world );
 ent_spawn *world_find_spawn_by_name( world_instance *world, 
                                         const char *name );