X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_load.h;fp=world_load.h;h=74b5911aa09a0890141a13a98640655794b7acf4;hb=342fcbf6fda017bdd38d56ce0fa7c9e59e589f3b;hp=0000000000000000000000000000000000000000;hpb=63b5ac44f74599b21c4b9b18398c29b797337bea;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_load.h b/world_load.h new file mode 100644 index 0000000..74b5911 --- /dev/null +++ b/world_load.h @@ -0,0 +1,32 @@ +#ifndef WORLD_LOAD_H +#define WORLD_LOAD_H + +#include + +#include "world.h" +#include "world_gen.h" +#include "world_routes.h" +#include "world_entity.h" +#include "world_volumes.h" + +#include "ent_skateshop.h" +#include "workshop.h" + +struct{ + char name[64]; + + enum world_load_type{ + k_world_load_type_local, + k_world_load_type_workshop /* unimplemented */ + } + location; + int generate_point_cloud; + u32 world_index; +} +static world_loader; + +static world_instance *world_loading_instance(void); +static void world_free( world_instance *world ); +static int world_freeable( world_instance *world ); + +#endif /* WORLD_LOAD_H */