X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_load.h;h=038233ddd86864f5f03678d7a37e6ef5420df45b;hb=be5e25dee2c54c2a22ca3bbb5bbe0eb6149343be;hp=1dc9384b316998aa4599a3753fb95a2aff18e7c1;hpb=6929408e937dca64da707a2d61f8cdf6ab857e93;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_load.h b/world_load.h index 1dc9384..038233d 100644 --- a/world_load.h +++ b/world_load.h @@ -1,32 +1,11 @@ -#ifndef WORLD_LOAD_H -#define WORLD_LOAD_H - +#pragma once #include #include "world.h" -#include "world_gen.h" -#include "world_routes.h" -#include "world_entity.h" -#include "world_volumes.h" #include "addon.h" -struct{ - 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; - -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 */ +void world_free( world_instance *world ); +int world_freeable( world_instance *world ); +int skaterift_load_world_command( int argc, const char *argv[] ); +void skaterift_change_world_start( addon_reg *reg ); +void skaterift_change_client_world_preupdate(void);