diff options
author | Strangerke | 2016-12-15 22:47:29 -0800 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-25 22:42:13 +0100 |
commit | 208e89f1e8f091d6bc00c4cb88f1c2a1f5b54cf2 (patch) | |
tree | b6a22881789c8a14c9b4345a6fb53ddd0154a0bb /engines/cryo/defs.h | |
parent | 71e43bb645962b35cc13bd948811f14a77043fdc (diff) | |
download | scummvm-rg350-208e89f1e8f091d6bc00c4cb88f1c2a1f5b54cf2.tar.gz scummvm-rg350-208e89f1e8f091d6bc00c4cb88f1c2a1f5b54cf2.tar.bz2 scummvm-rg350-208e89f1e8f091d6bc00c4cb88f1c2a1f5b54cf2.zip |
CRYO: Some more renaming
Diffstat (limited to 'engines/cryo/defs.h')
-rw-r--r-- | engines/cryo/defs.h | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/engines/cryo/defs.h b/engines/cryo/defs.h index 33f5d0d82d..1420a13ccc 100644 --- a/engines/cryo/defs.h +++ b/engines/cryo/defs.h @@ -420,16 +420,14 @@ struct icon_t { uint32 _actionId; uint32 _objectId; }; -typedef struct icon_t icon_t; struct goto_t { - byte areaNum; // target area - byte curAreaNum; // current area - byte departVid; - byte travelTime; // time to skip while in travel - byte arriveVid; + byte _areaNum; // target area + byte _curAreaNum; // current area + byte _enterVideoNum; + byte _travelTime; // time to skip while in travel + byte _arriveVideoNum; }; -typedef struct goto_t goto_t; namespace RoomFlags { enum RoomFlags { @@ -445,17 +443,16 @@ enum RoomFlags { } struct room_t { - byte ff_0; - byte exits[4]; //TODO: signed? - byte flags; - uint16 bank; - uint16 party; - byte level; // Citadel level - byte video; - byte location; - byte background; // bg/mirror image number (relative) -}; -typedef struct room_t room_t; + byte _id; + byte _exits[4]; //TODO: signed? + byte _flags; + uint16 _bank; + uint16 _party; + byte _level; // Citadel level + byte _video; + byte _location; + byte _backgroundBankNum; // bg/mirror image number (relative) +}; namespace AreaFlags { enum AreaFlags { @@ -484,16 +481,15 @@ enum AreaType { } struct area_t { - byte num; - byte type; + byte _num; + byte _type; uint16 _flags; - uint16 firstRoomIndex; - byte citadelLevel; - byte salNum; - room_t *citadelRoom; - int16 visitCount; + uint16 _firstRoomIdx; + byte _citadelLevel; + byte _placeNum; + room_t *_citadelRoomPtr; + int16 _visitCount; }; -typedef struct area_t area_t; namespace ValleyNews { enum ValleyNews { |