small compression
[carveJwlIkooP6JGAAIwe30JlM.git] / ent_skateshop.h
index f64bd1052b42e0efd57fa81bf61aeaf2716df527..386602170fd091a26dace1038273afda66f960aa 100644 (file)
@@ -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 */