X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_entity.h;h=c954052a4149ff924c0ddef42588e723c8630dac;hb=72f789aa46c913ec2ffa10907b2124f8d09670e5;hp=5f784d200aa3fc9c92eac920dc2d89ef377eb8d6;hpb=f01a25e33a54c92e4d6bca0889b76f33af5e51eb;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_entity.h b/world_entity.h index 5f784d2..c954052 100644 --- a/world_entity.h +++ b/world_entity.h @@ -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 );