23 #include "immortal/definitions.h" 26 #include "immortal/sprite_list.h" 28 #ifndef IMMORTAL_STORY_H 29 #define IMMORTAL_STORY_H 46 enum RoomFlag : uint8 {
53 enum ObjFlag : uint8 {
54 kObjUsesFireButton = 0x40,
55 kObjIsInvisible = 0x20,
58 kObjIsOnGround = 0x04,
70 enum MonsterFlag : uint8 {
76 kMonstIsEngage = 0x80,
88 enum FPattern : uint8 {
122 Str _desc = kStrNull;
156 RoomFlag _flags = kRoomFlag0;
158 SRoom(uint16 x, uint16 y, RoomFlag f) {
170 uint16 _fromRoom = 0;
173 bool _isLocked =
false;
175 SDoor(uint8 d, uint16 x, uint16 y, uint16 f, uint16 t,
bool l) {
191 FPattern _p = kFlameOff;
193 SFlame(uint16 x, uint16 y, FPattern p) {
205 SObjType _type = kTypeTrap;
206 SpriteFrame _frame = kNoFrame;
225 MonsterFlag _madAt = kMonstIsNone;
226 SpriteName _sprite = kCandle;
244 uint16 _initialUnivX = 0;
245 uint16 _initialUnivY = 0;
246 uint16 _playerPointX = 0;
247 uint16 _playerPointY = 0;
Definition: definitions.h:25