oops
[carveJwlIkooP6JGAAIwe30JlM.git] / ent_skateshop.h
1 #ifndef ENT_SKATESHOP_H
2 #define ENT_SKATESHOP_H
3
4 #include "world.h"
5 #include "world_load.h"
6 #include "player.h"
7 #include "vg/vg_steam_remote_storage.h"
8 #include "workshop.h"
9 #include "addon.h"
10
11 #define SKATESHOP_VIEW_SLOT_MAX 5
12
13 struct{
14 v3f look_target;
15 ent_skateshop *ptr_ent;
16
17 int active;
18 float factive;
19
20 struct shop_view_slot{
21 u16 cache_id;
22 float view_blend;
23 }
24 shop_view_slots[ SKATESHOP_VIEW_SLOT_MAX ];
25
26 u32 selected_world_id,
27 selected_board_id,
28 selected_player_id,
29 pointcloud_world_id;
30
31 struct {
32 const char *item_title, *item_desc;
33 u32 reg_id;
34
35 const char *world_title, *world_loc;
36 u32 world_reg;
37 }
38 render;
39 }
40 static global_skateshop={.render={.reg_id=0xffffffff,.world_reg=0xffffffff}};
41
42 VG_STATIC void global_skateshop_exit(void);
43
44 #endif /* ENT_SKATESHOP_H */