X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_skateshop.h;h=386602170fd091a26dace1038273afda66f960aa;hb=137d40d96fe923600d8378b8e138e3c276f27ff4;hp=f64bd1052b42e0efd57fa81bf61aeaf2716df527;hpb=02e009ae6e20938675277e9ce2f467e17b170cc7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_skateshop.h b/ent_skateshop.h index f64bd10..3866021 100644 --- a/ent_skateshop.h +++ b/ent_skateshop.h @@ -8,14 +8,16 @@ #include "workshop.h" #include "addon.h" -#define SKATESHOP_VIEW_SLOT_MAX 2 +#define SKATESHOP_VIEW_SLOT_MAX 5 struct{ v3f look_target; - ent_skateshop *ptr_ent; - int active; - float factive; +#if 0 + ent_skateshop *ptr_ent; /* TODO */ + float factive; /* TODO */ + camera cam; +#endif struct shop_view_slot{ u16 cache_id; @@ -39,6 +41,7 @@ struct{ } static global_skateshop={.render={.reg_id=0xffffffff,.world_reg=0xffffffff}}; -VG_STATIC void global_skateshop_exit(void); +static void ent_skateshop_preupdate( ent_skateshop *shop, int active ); +static void skateshop_render( ent_skateshop *shop ); #endif /* ENT_SKATESHOP_H */