more refactors..
[carveJwlIkooP6JGAAIwe30JlM.git] / skaterift.h
index 8f9e3e7596cd4871dd77ca5417f5e7f6036940c2..c13c78b7fb3d455a35955f9ffdb7a43243b83372 100644 (file)
@@ -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[] );
 
 /*