X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=entity.h;h=c39d22400bff0d2c710967f0259f3bef64bd1b20;hb=dd7d6eb0702cd9a0c97ab6da9ec577af0b797b88;hp=7cfce589b881e60605e57d9b2d0b5b3cb8f4e4f1;hpb=d171c9ad5de05c9ac8563fcf9f23760b93fb50f8;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/entity.h b/entity.h index 7cfce58..c39d224 100644 --- a/entity.h +++ b/entity.h @@ -113,7 +113,7 @@ enum gate_type{ /* v102+ */ enum ent_gate_flag{ k_ent_gate_linked = 0x1, /* this is a working portal */ - k_ent_gate_nonlocal_DELETED = 0x2, /* use the key string to link this portal. + k_ent_gate_nonlocal = 0x2, /* use the key string to link this portal. NOTE: if set, it adds the flip flag. */ k_ent_gate_flip = 0x4, /* flip direction 180* for exiting portal */ k_ent_gate_custom_mesh = 0x8, /* use a custom submesh instead of default */ @@ -247,9 +247,11 @@ struct ent_marker{ }; enum skateshop_type{ - k_skateshop_type_boardshop, - k_skateshop_type_charshop, - k_skateshop_type_worldshop, + k_skateshop_type_boardshop = 0, + k_skateshop_type_charshop = 1, + k_skateshop_type_worldshop = 2, + k_skateshop_type_DELETED = 3, + k_skateshop_type_server = 4 }; struct ent_skateshop{ @@ -275,6 +277,11 @@ struct ent_skateshop{ id_info; } worlds; + + struct{ + u32 id_lever; + } + server; }; }; @@ -504,8 +511,7 @@ struct ent_call{ struct ent_miniworld { mdl_transform transform; u32 pstr_world; - - i32 purpose_DELTED; + u32 camera; u32 proxy; };