22 #ifndef TITANIC_PET_ROOMS_H 23 #define TITANIC_PET_ROOMS_H 25 #include "titanic/pet_control/pet_section.h" 26 #include "titanic/gfx/text_control.h" 27 #include "titanic/pet_control/pet_rooms_glyphs.h" 28 #include "titanic/game_location.h" 61 Point getGlyphPos()
const {
return Point(509, 388); }
83 bool reset()
override;
133 void enter(PetArea oldArea)
override;
196 void setFloorNum(
int floorNum) { _floorNum = floorNum; }
197 int getFloorNum()
const {
return _floorNum; }
198 void setElevatorNum(
int elevNum) { _elevatorNum = elevNum; }
199 int getElevatorNum()
const {
return _elevatorNum; }
200 void setRoomNum(
int roomNum) { _roomNum = roomNum; }
201 int getRoomNum()
const {
return _roomNum; }
202 void setSublevel(
int level) { _sublevel = level; }
203 int getSublevel()
const {
return _sublevel; }
Definition: mouse_messages.h:150
void enter(PetArea oldArea) override
bool isAssignedRoom(uint roomFlags) const
CTextControl * getText() override
Definition: text_control.h:35
int getAssignedElevatorNum() const
Definition: mouse_messages.h:117
bool isValid(CPetControl *petControl) override
Definition: pet_section.h:51
int getWellEntry() const
Definition: pet_rooms.h:213
void draw(CScreenManager *screenManager) override
void enterRoom(CRoomItem *room) override
CGameObject * getBackground(int index) const override
Definition: simple_file.h:49
Definition: room_item.h:33
Definition: screen_manager.h:49
Definition: pet_gfx_element.h:29
Definition: pet_rooms_glyphs.h:36
Definition: game_object.h:79
Definition: messages.h:408
uint getAssignedRoomFlags() const
Definition: pet_rooms.h:32
void save(SimpleFile *file, int indent) override
bool MouseButtonDownMsg(CMouseButtonDownMsg *msg) override
void displayMessage(const CString &msg) override
bool checkDragEnd(CGameObject *item) override
virtual void highlight(int id)
Definition: pet_section.h:229
Definition: pet_rooms_glyphs.h:147
void setElevatorBroken(bool flag)
Definition: pet_rooms.h:218
uint getRoomFlags() const
bool setup(CPetControl *petControl) override
int getAssignedFloorNum() const
int getAssignedRoomNum() const
bool changeLocationClass(PassengerClass newClassNum)
void reassignRoom(PassengerClass passClassNum)
Definition: pet_control.h:45
void setWellEntry(int val)
Definition: pet_rooms.h:208
void load(SimpleFile *file, int param) override