X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_skateshop.h;h=68a34f4f7980a2f7224ba07402d2b70ad97bb3db;hb=6e6c7f31b8f17af3814727109e48fc6f85ef04b1;hp=5e9a0a86cf25c2857349d6b75ab4a5d7a35941f7;hpb=1c56bc84c9ad3da49c9d2447ec97aaf7f6038601;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_skateshop.h b/ent_skateshop.h index 5e9a0a8..68a34f4 100644 --- a/ent_skateshop.h +++ b/ent_skateshop.h @@ -33,10 +33,15 @@ struct{ } render; - struct gui_helper *helper_pick, *helper_browse; + 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; + GLuint tex_preview; } static global_skateshop={ .render={.reg_id=0xffffffff,.world_reg=0xffffffff} @@ -44,5 +49,6 @@ static global_skateshop={ 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 */