enable workshop world submissions
[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
16 #if 0
17 enum world_load_type{
18 k_world_load_type_none,
19 k_world_load_type_local,
20 k_world_load_type_workshop /* unimplemented */
21 }
22 location;
23 #endif
24
25 char override_name[64];
26 int generate_point_cloud;
27 u32 world_index;
28 }
29 static world_loader;
30
31 static world_instance *world_loading_instance(void);
32 static void world_free( world_instance *world );
33 static int world_freeable( world_instance *world );
34
35 #endif /* WORLD_LOAD_H */