X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skaterift.h;h=c13c78b7fb3d455a35955f9ffdb7a43243b83372;hb=fdd41609e59c7df548682b25001f0015dc1acbea;hp=8f9e3e7596cd4871dd77ca5417f5e7f6036940c2;hpb=badfa88dd109bbae5628f58504402f4707569f73;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skaterift.h b/skaterift.h index 8f9e3e7..c13c78b 100644 --- a/skaterift.h +++ b/skaterift.h @@ -1,8 +1,17 @@ #ifndef SKATERIFT_H #define SKATERIFT_H +#define SKATERIFT_APPID 2103940 + +#define VG_TIMESTEP_FIXED (1.0/60.0) +#define VG_3D +#define VG_GAME +#define VG_MSG_V1_SUPPORT +#include "vg/vg.h" + #include "common.h" #include "world.h" +#include "addon.h" struct{ enum async_operation{ @@ -14,6 +23,7 @@ struct{ k_async_op_world_load_preview, k_async_op_board_scan, k_async_op_board_load, + k_async_op_write_savedata, k_workshop_form_op_loading_model, k_workshop_form_op_downloading_submission, k_workshop_form_op_publishing_update, @@ -23,7 +33,7 @@ struct{ static skaterift = { .async_op = k_async_op_clientloading }; /* Skaterift api */ -static void skaterift_change_world( const char *world_path ); +static void skaterift_change_world_start( void ); static int skaterift_change_world_command( int argc, const char *argv[] ); /*