add player guide
[carveJwlIkooP6JGAAIwe30JlM.git] / world_load.h
index 0b8a912b37e930d013b6ccdc93ac70f5943aee8d..1dc9384b316998aa4599a3753fb95a2aff18e7c1 100644 (file)
@@ -8,17 +8,20 @@
 #include "world_routes.h"
 #include "world_entity.h"
 #include "world_volumes.h"
+#include "addon.h"
 
 struct{
-   char name[64];
-
-   enum world_load_type{
-      k_world_load_type_local,
-      k_world_load_type_workshop /* unimplemented */
-   }
-   location;
+   addon_reg *reg;
+   char override_name[64];
    int generate_point_cloud;
    u32 world_index;
+
+   enum world_loader_state{
+      k_world_loader_none,
+      k_world_loader_preload,
+      k_world_loader_load
+   }
+   state;
 }
 static world_loader;