ScummVM API documentation
Prince::Script Class Reference

Classes

struct  ScriptInfo
 

Public Member Functions

 Script (PrinceEngine *vm)
 
bool loadStream (Common::SeekableReadStream &stream)
 
uint16 readScript16 (uint32 address)
 
uint32 readScript32 (uint32 address)
 
uint32 getStartGameOffset ()
 
uint32 getLocationInitScript (int initRoomTableOffset, int roomNr)
 
int16 getLightX (int locationNr)
 
int16 getLightY (int locationNr)
 
int32 getShadowScale (int locationNr)
 
uint8 * getRoomOffset (int locationNr)
 
int32 getOptionStandardOffset (int option)
 
uint8 * getHeroAnimName (int offset)
 
void installBackAnims (Common::Array< BackgroundAnim > &backAnimList, int roomBackAnimOffset)
 
void installSingleBackAnim (Common::Array< BackgroundAnim > &backAnimList, int slot, int roomBackAnimOffset)
 
void installObjects (int offset)
 
bool loadAllMasks (Common::Array< Mask > &maskList, int offset)
 
int scanMobEvents (int mobMask, int dataEventOffset)
 
int scanMobEventsWithItem (int mobMask, int dataEventOffset, int itemMask)
 
byte getMobVisible (int roomMobOffset, uint16 mob)
 
void setMobVisible (int roomMobOffset, uint16 mob, byte value)
 
uint32 getBackAnimId (int roomBackAnimOffset, int slot)
 
void setBackAnimId (int roomBackAnimOffset, int slot, int animId)
 
byte getObjId (int roomObjOffset, int slot)
 
void setObjId (int roomObjOffset, int slot, byte objectId)
 
const char * getString (uint32 offset)
 

Public Attributes

ScriptInfo _scriptInfo
 

Static Public Attributes

static const int16 kMaxRooms = 60
 

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