projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix dumbass animator fucking uninitialized memory
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_entity.h
diff --git
a/world_entity.h
b/world_entity.h
index 5f784d200aa3fc9c92eac920dc2d89ef377eb8d6..c954052a4149ff924c0ddef42588e723c8630dac 100644
(file)
--- a/
world_entity.h
+++ b/
world_entity.h
@@
-4,6
+4,14
@@
#include "vg/vg_bvh.h"
#include "vg/vg_msg.h"
#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 );
void world_gen_entities_init( world_instance *world );
ent_spawn *world_find_spawn_by_name( world_instance *world,
const char *name );