maths api changes
[carveJwlIkooP6JGAAIwe30JlM.git] / entity.h
index a92f4bf1055d96d1fadb50d0c57e6f9280409bde..bf6b2d5b776655dc7242ffa4f7b83a86b63a1d8d 100644 (file)
--- a/entity.h
+++ b/entity.h
@@ -215,12 +215,29 @@ struct ent_marker{
    u32 pstr_alias;
 };
 
+enum skateshop_type{
+   k_skateshop_type_boardshop,
+   k_skateshop_type_charshop
+};
+
 struct ent_skateshop{
    mdl_transform transform;
-   u32 id_display,
-       id_info,
-       id_rack,
-       id_camera;
+   u32 type, id_camera;
+
+   union{
+      struct{
+         u32 id_display,
+             id_info,
+             id_rack;
+      }
+      boards;
+
+      struct{
+         u32 id_display,
+             id_info;
+      }
+      character;
+   };
 };
 
 struct ent_swspreview{