basic replayable replays
[carveJwlIkooP6JGAAIwe30JlM.git] / skaterift.h
1 #ifndef SKATERIFT_H
2 #define SKATERIFT_H
3
4 #define SKATERIFT_APPID 2103940
5
6 #define VG_TIMESTEP_FIXED (1.0/60.0)
7 #define VG_3D
8 #define VG_GAME
9 #define VG_MSG_V1_SUPPORT
10 #define VG_LOG_SOURCE_INFO
11 #include "vg/vg.h"
12 #include "world.h"
13 #include "addon.h"
14
15 struct{
16 enum async_operation{
17 k_async_op_none,
18 k_async_op_clientloading,
19 k_async_op_world_scan,
20 k_async_op_world_load_preview,
21 k_async_op_board_scan,
22 k_async_op_player_scan,
23 k_async_op_board_load,
24 k_async_op_write_savedata,
25 }
26 op;
27
28 f32 time_rate;
29 }
30 static skaterift = { .op = k_async_op_clientloading, .time_rate = 1.0f };
31
32 /* Skaterift api */
33 static void skaterift_change_world_start( void );
34 static int skaterift_change_world_command( int argc, const char *argv[] );
35
36 #endif /* SKATERIFT_H */