X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_skateshop.h;h=455c61df16c2e02dc687a64121f89d547708de68;hb=e311bbe2fa903a7e2a922f202f389b799193195d;hp=386602170fd091a26dace1038273afda66f960aa;hpb=22f62f001f21d1b91fefd9fc495c122d9ddf205a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_skateshop.h b/ent_skateshop.h index 3866021..455c61d 100644 --- a/ent_skateshop.h +++ b/ent_skateshop.h @@ -13,12 +13,6 @@ struct{ v3f look_target; -#if 0 - ent_skateshop *ptr_ent; /* TODO */ - float factive; /* TODO */ - camera cam; -#endif - struct shop_view_slot{ u16 cache_id; float view_blend; @@ -38,10 +32,23 @@ struct{ u32 world_reg; } render; + + union { + struct gui_helper *helper_pick, *helper_toggle; + }; + + struct gui_helper *helper_browse; + + + addon_reg *reg_preview, *reg_loaded_preview; + GLuint tex_preview, tex_preview_err; } -static global_skateshop={.render={.reg_id=0xffffffff,.world_reg=0xffffffff}}; +static global_skateshop={ + .render={.reg_id=0xffffffff,.world_reg=0xffffffff} +}; static void ent_skateshop_preupdate( ent_skateshop *shop, int active ); static void skateshop_render( ent_skateshop *shop ); +static void skateshop_render_nonfocused( world_instance *world, camera *cam ); #endif /* ENT_SKATESHOP_H */