X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skaterift.h;h=b729bf7726074c31396cd42494af1468c553fc34;hb=5d5d5f394cbe2212769bc58a70fa622b4ed46205;hp=b2d208c96ede3378878602445e89cb6d3396ddc3;hpb=a8ba9cc44e1ae9aeca62fb579a3105c625e59133;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skaterift.h b/skaterift.h index b2d208c..b729bf7 100644 --- a/skaterift.h +++ b/skaterift.h @@ -2,6 +2,7 @@ #define SKATERIFT_H #include "common.h" +#include "world.h" struct{ enum async_operation{ @@ -9,6 +10,8 @@ struct{ k_async_op_clientloading, k_async_op_world_preloading, k_async_op_world_loading, + k_async_op_world_scan, + k_async_op_world_load_preview, k_workshop_form_op_loading_model, k_workshop_form_op_downloading_submission, k_workshop_form_op_publishing_update, @@ -19,16 +22,10 @@ struct{ } static skaterift = { .async_op = k_async_op_clientloading }; - /* Skaterift api */ - static void skaterift_change_world( const char *world_path ); static int skaterift_change_world_command( int argc, const char *argv[] ); - - - - /* * Start a new operation or crash if we are already running one. you can avoid * crashing the game by checking the async status yourself before calling.