Public Member Functions | |
bool | setup (CPetControl *petControl) override |
bool | reset () override |
void | draw (CScreenManager *screenManager) override |
bool | MouseButtonDownMsg (CMouseButtonDownMsg *msg) override |
bool | MouseDragStartMsg (CMouseDragStartMsg *msg) override |
bool | MouseButtonUpMsg (CMouseButtonUpMsg *msg) override |
bool | MouseDoubleClickMsg (CMouseDoubleClickMsg *msg) override |
bool | VirtualKeyCharMsg (CVirtualKeyCharMsg *msg) override |
bool | checkDragEnd (CGameObject *item) override |
void | displayMessage (const CString &msg) override |
bool | isValid (CPetControl *petControl) override |
void | load (SimpleFile *file, int param) override |
void | postLoad () override |
void | save (SimpleFile *file, int indent) override |
void | enter (PetArea oldArea) override |
void | enterRoom (CRoomItem *room) override |
CTextControl * | getText () override |
CGameObject * | getBackground (int index) const override |
void | resetHighlight () |
void | reassignRoom (PassengerClass passClassNum) |
bool | changeLocationClass (PassengerClass newClassNum) |
bool | isAssignedRoom (uint roomFlags) const |
uint | getAssignedRoomFlags () const |
int | getAssignedRoomNum () const |
int | getAssignedFloorNum () const |
int | getAssignedElevatorNum () const |
uint | getRoomFlags () const |
void | setFloorNum (int floorNum) |
int | getFloorNum () const |
void | setElevatorNum (int elevNum) |
int | getElevatorNum () const |
void | setRoomNum (int roomNum) |
int | getRoomNum () const |
void | setSublevel (int level) |
int | getSublevel () const |
void | setWellEntry (int val) |
int | getWellEntry () const |
void | setElevatorBroken (bool flag) |
Public Member Functions inherited from Titanic::CPetSection | |
virtual Rect | getBounds () const |
virtual void | changed (int changeType) |
virtual bool | MouseDragMoveMsg (CMouseDragMoveMsg *msg) |
virtual bool | MouseDragEndMsg (CMouseDragEndMsg *msg) |
virtual bool | MouseWheelMsg (CMouseWheelMsg *msg) |
virtual bool | KeyCharMsg (CKeyCharMsg *msg) |
virtual CGameObject * | dragEnd (const Point &pt) const |
virtual void | leave () |
virtual void | proc23 () |
virtual void | timerExpired (int val) |
virtual void | removeText (int duration) |
virtual void | removeText () |
virtual void | stopTextTimer () |
virtual CPetElement * | getElement (uint id) |
virtual void | displayNPCName (CGameObject *npc) |
virtual void | proc33 () |
virtual void | setNPC (const CString &name) |
virtual void | resetNPC () |
virtual void | showCursor () |
virtual void | hideCursor () |
virtual void | highlight (int id) |
CPetControl * | getPetControl () const |
uint | getColor (uint index) |
const uint * | getColorTable (int tableNum=-1) |
Additional Inherited Members | |
Public Attributes inherited from Titanic::CPetSection | |
CPetControl * | _petControl |
Protected Member Functions inherited from Titanic::CPetSection | |
void | areaChanged (PetArea area) |
CString | getActiveNPCName () const |
void | copyColors (uint tableNum, uint colors[5]) |
|
overridevirtual |
Sets up the section
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Reset the section
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Draw the section
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Following are handlers for the various messages that the PET can pass onto the currently active section/area
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Check whether a drag drop can occur
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Display a message
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Returns true if the object is in a valid state
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Load the data for the class from file
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Called after a game has been loaded
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Save the data for the class to file
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Called when a section is switched to
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Called when a new room is entered
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Get a reference to the tooltip text associated with the section
Reimplemented from Titanic::CPetSection.
|
overridevirtual |
Special retrieval of glyph background image
Reimplemented from Titanic::CPetSection.
void Titanic::CPetRooms::resetHighlight | ( | ) |
Reset the highlight
void Titanic::CPetRooms::reassignRoom | ( | PassengerClass | passClassNum | ) |
Gives the player a new assigned room in the specified passenger class
bool Titanic::CPetRooms::changeLocationClass | ( | PassengerClass | newClassNum | ) |
Change the current location passenger class
bool Titanic::CPetRooms::isAssignedRoom | ( | uint | roomFlags | ) | const |
Returns true if the specified location is the current or previously assigned room
uint Titanic::CPetRooms::getAssignedRoomFlags | ( | ) | const |
Returns the room flags for the player's currently assigned room
int Titanic::CPetRooms::getAssignedRoomNum | ( | ) | const |
Returns the room number for the player's currently assigned room
int Titanic::CPetRooms::getAssignedFloorNum | ( | ) | const |
Returns the floor number for the player's currently assigned room
int Titanic::CPetRooms::getAssignedElevatorNum | ( | ) | const |
Returns the elevator number for the player's currently assigned room
uint Titanic::CPetRooms::getRoomFlags | ( | ) | const |
Gets room flags to use for glyphs
|
inline |
Sets the entry number for arriving at the well
|
inline |
Gets the entry number used when last arriving at the well
|
inline |
Sets the broken elevator flag