5e9a0a86cf25c2857349d6b75ab4a5d7a35941f7
1 #ifndef ENT_SKATESHOP_H
2 #define ENT_SKATESHOP_H
5 #include "world_load.h"
7 #include "vg/vg_steam_remote_storage.h"
11 #define SKATESHOP_VIEW_SLOT_MAX 5
16 struct shop_view_slot
{
20 shop_view_slots
[ SKATESHOP_VIEW_SLOT_MAX
];
22 u32 selected_world_id
,
28 const char *item_title
, *item_desc
;
31 const char *world_title
, *world_loc
;
36 struct gui_helper
*helper_pick
, *helper_browse
;
38 addon_reg
*reg_preview
, *reg_loaded_preview
;
39 GLuint tex_preview
, tex_preview_err
;
41 static global_skateshop
={
42 .render
={.reg_id
=0xffffffff,.world_reg
=0xffffffff}
45 static void ent_skateshop_preupdate( ent_skateshop
*shop
, int active
);
46 static void skateshop_render( ent_skateshop
*shop
);
48 #endif /* ENT_SKATESHOP_H */