save location & map, lighting qol
[carveJwlIkooP6JGAAIwe30JlM.git] / world_load.h
1 #ifndef WORLD_LOAD_H
2 #define WORLD_LOAD_H
3
4 #include <time.h>
5
6 #include "world.h"
7 #include "world_gen.h"
8 #include "world_routes.h"
9 #include "world_entity.h"
10 #include "world_volumes.h"
11 #include "addon.h"
12
13 struct{
14 addon_reg *reg;
15 char override_name[64];
16 int generate_point_cloud;
17 u32 world_index;
18
19 enum world_loader_state{
20 k_world_loader_none,
21 k_world_loader_preload,
22 k_world_loader_load
23 }
24 state;
25 }
26 static world_loader;
27
28 static world_instance *world_loading_instance(void);
29 static void world_free( world_instance *world );
30 static int world_freeable( world_instance *world );
31
32 #endif /* WORLD_LOAD_H */