X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=entity.h;h=1de6f7026b62379c7f80092ecc6550849e5723c7;hb=92ba950580dd4877935e90682cd4f66fead8fed2;hp=a14314a0ead9dea344529ae0ce668856a1f25565;hpb=e5d79dc0355e04baecce8908e29b8e7569d1e857;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/entity.h b/entity.h index a14314a..1de6f70 100644 --- 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 */