X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_entity.h;h=c3af72a398d4e717bf986e81322aa9555645df73;hb=5bfb36032928ba9f8d12e72961af68bfab9ea648;hp=63cab47673e075f9c237c9032d36303abf414d91;hpb=2329044d44a5aff035b01926f7901d9e89ad284e;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_entity.h b/world_entity.h index 63cab47..c3af72a 100644 --- a/world_entity.h +++ b/world_entity.h @@ -5,14 +5,15 @@ #include "entity.h" #include "bvh.h" #include "save.h" +#include "vg/vg_msg.h" VG_STATIC void world_gen_entities_init( world_instance *world ); 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 world_entity_start( world_instance *world, - struct savedata *sav ); +VG_STATIC void world_entity_start( world_instance *world, vg_msg *sav ); +VG_STATIC void world_entity_serialize( world_instance *world, vg_msg *sav ); VG_STATIC void ent_volume_call( world_instance *world, ent_call *call ); VG_STATIC void ent_audio_call( world_instance *world, ent_call *call );