workshop ready
[carveJwlIkooP6JGAAIwe30JlM.git] / entity.h
index a14314a0ead9dea344529ae0ce668856a1f25565..1de6f7026b62379c7f80092ecc6550849e5723c7 100644 (file)
--- a/entity.h
+++ b/entity.h
@@ -98,7 +98,8 @@ enum gate_type{
 
 struct ent_gate{
    u32 type,
-       target;
+       target, 
+       key;
 
    v3f dimensions,
        co[2];
@@ -219,7 +220,8 @@ struct ent_marker{
 
 enum skateshop_type{
    k_skateshop_type_boardshop,
-   k_skateshop_type_charshop
+   k_skateshop_type_charshop,
+   k_skateshop_type_worldshop
 };
 
 struct ent_skateshop{
@@ -239,6 +241,12 @@ struct ent_skateshop{
              id_info;
       }
       character;
+
+      struct{
+         u32 id_display,
+             id_info;
+      }
+      worlds;
    };
 };
 
@@ -375,5 +383,6 @@ struct ent_call{
 };
 
 #include "world.h"
+VG_STATIC void entity_call( world_instance *world, ent_call *call );
 
 #endif /* ENTITY_H */