X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=inline;f=world_entity.h;fp=world_entity.h;h=807cd9713743edc255a1516d6f1f240022f650a9;hb=342fcbf6fda017bdd38d56ce0fa7c9e59e589f3b;hp=0000000000000000000000000000000000000000;hpb=63b5ac44f74599b21c4b9b18398c29b797337bea;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_entity.h b/world_entity.h new file mode 100644 index 0000000..807cd97 --- /dev/null +++ b/world_entity.h @@ -0,0 +1,16 @@ +#ifndef WORLD_ENTITY_H +#define WORLD_ENTITY_H + +#include "world.h" +#include "entity.h" + +VG_STATIC void world_gen_entities_init(void); +VG_STATIC ent_spawn *world_find_spawn_by_name( world_instance *world, + const char *name ); +VG_STATIC ent_spawn *world_find_closest_spawn( world_instance *world, + v3f position ); + +VG_STATIC void ent_volume_call( world_instance *world, ent_call *call ); +VG_STATIC void ent_audio_call( world_instance *world, ent_call *call ); + +#endif /* WORLD_ENTITY_H */