some niceer ui stuff
[carveJwlIkooP6JGAAIwe30JlM.git] / world_load.h
index 74b5911aa09a0890141a13a98640655794b7acf4..1dc9384b316998aa4599a3753fb95a2aff18e7c1 100644 (file)
@@ -8,20 +8,20 @@
 #include "world_routes.h"
 #include "world_entity.h"
 #include "world_volumes.h"
-
-#include "ent_skateshop.h"
-#include "workshop.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;