ScummVM API documentation
Immortal::Room Class Reference

Public Member Functions

 Room (uint8 x, uint8 y, RoomFlag f)
 
uint32 getRandomNumber (uint maxNum)
 
void setHole ()
 
void drawContents (uint16 vX, uint16 vY)
 
bool getTilePair (uint8 x, uint8 y, int id)
 
bool getWideWallNormal (uint8 x, uint8 y, uint8 xPrev, uint8 yPrev, int id, int spacing)
 
bool getWallNormal (uint8 x, uint8 y, uint8 xPrev, uint8 yPrev, int id)
 
void addMonster ()
 
void addObject ()
 
void removeObject ()
 
void removeMonster ()
 
Common::Array< MonstergetMonsterList ()
 
Common::Array< ObjectgetObjectList ()
 
void getXY (uint16 &x, uint16 &y)
 
void getCell (uint16 &x, uint16 &y)
 
int cycleNew (CycID id)
 
void cycleFree (int c)
 
DataSpritecycleGetDataSprite (int c)
 
int cycleGetIndex (int c)
 
int cycleGetFrame (int c)
 
int cycleGetNumFrames (int c)
 
void cycleSetIndex (int c, int f)
 
bool cycleAdvance (int c)
 
CycID getCycList (int c)
 
void flameInit ()
 
void flameDrawAll (uint16 vX, uint16 vY)
 
bool roomLighted ()
 
void lightTorch (uint8 x, uint8 y)
 
void flameFreeAll ()
 
void flameSetRoom (Common::Array< SFlame > &allFlames)
 
int flameGetCyc (Flame *f, int first)
 
void univAddSprite (uint16 vX, uint16 vY, uint16 x, uint16 y, SpriteName s, int img, uint16 p)
 

Public Attributes

const uint8 kLightTorchX = 10
 
const uint8 kMaxFlameCycs = 16
 
Common::Array< SCycle_cycPtrs
 
Common::Array< Flame_fset
 
Common::Array< Monster_monsters
 
Common::Array< Object_objects
 
RoomFlag _flags
 
uint8 _xPos = 0
 
uint8 _yPos = 0
 
uint8 _holeRoom = 0
 
uint8 _holeCellX = 0
 
uint8 _holeCellY = 0
 
uint8 _candleTmp = 0
 
uint8 _numFlames = 0
 
uint8 _numInRoom = 0
 

The documentation for this class was generated from the following file: