f3e025885e3d9722b77da23af45fdee181a8c054
[carveJwlIkooP6JGAAIwe30JlM.git] / skaterift.h
1 #pragma once
2 #define SKATERIFT_APPID 2103940
3 #include "vg/vg_engine.h"
4 #include "vg/vg_camera.h"
5
6 enum skaterift_rt
7 {
8 k_skaterift_rt_workshop_preview,
9 k_skaterift_rt_server_status,
10 k_skaterift_rt_max
11 };
12
13 struct skaterift_globals
14 {
15 enum async_operation
16 {
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 vg_camera cam;
30
31 enum skaterift_activity {
32 k_skaterift_default = 0x00,
33 k_skaterift_replay = 0x01,
34 k_skaterift_ent_focus = 0x02,
35 k_skaterift_menu = 0x04,
36 k_skaterift_world_map = 0x08,
37 }
38 activity;
39 GLuint rt_textures[k_skaterift_rt_max];
40
41 u32 achievements;
42 int demo_mode;
43
44 const char *hub_world;
45 }
46 extern skaterift;