22 #ifndef TITANIC_PET_SECTION_H 23 #define TITANIC_PET_SECTION_H 25 #include "titanic/messages/mouse_messages.h" 26 #include "titanic/support/simple_file.h" 31 PET_INVENTORY = 0, PET_CONVERSATION = 1, PET_REMOTE = 2,
32 PET_ROOMS = 3, PET_REAL_LIFE = 4, PET_STARFIELD = 5, PET_TRANSLATION = 6
58 void areaChanged(PetArea area);
63 CString getActiveNPCName()
const;
68 void copyColors(uint tableNum, uint colors[5]);
81 virtual bool reset() {
return false; }
109 virtual bool KeyCharMsg(
CKeyCharMsg *msg) {
return false; }
125 virtual void displayMessage(
const CString &msg);
150 virtual void enter(PetArea oldArea) {}
157 virtual void proc23() {}
167 virtual void timerExpired(
int val);
177 virtual void removeText(
int duration);
182 virtual void removeText();
187 virtual void stopTextTimer();
204 virtual void proc33() {}
239 uint getColor(uint index);
245 const uint *getColorTable(
int tableNum = -1);
Definition: mouse_messages.h:150
virtual CGameObject * dragEnd(const Point &pt) const
Definition: pet_section.h:120
virtual void draw(CScreenManager *screenManager)
Definition: pet_section.h:86
Definition: text_control.h:35
Definition: mouse_messages.h:117
virtual bool isValid(CPetControl *petControl)
Definition: pet_section.h:130
Definition: pet_section.h:41
Definition: pet_section.h:51
virtual bool reset()
Definition: pet_section.h:81
virtual bool MouseButtonDownMsg(CMouseButtonDownMsg *msg)
Definition: pet_section.h:102
Definition: mouse_messages.h:139
virtual CGameObject * getBackground(int index) const
Definition: pet_section.h:197
Definition: simple_file.h:49
Definition: room_item.h:33
virtual bool setup(CPetControl *petControl)
Definition: pet_section.h:76
CPetControl * getPetControl() const
Definition: pet_section.h:234
virtual void hideCursor()
Definition: pet_section.h:224
Definition: screen_manager.h:49
Definition: game_object.h:79
virtual CPetElement * getElement(uint id)
Definition: pet_section.h:192
Definition: messages.h:408
virtual bool checkDragEnd(CGameObject *item)
Definition: pet_section.h:115
Definition: mouse_messages.h:181
Definition: pet_val_base.h:27
Definition: mouse_messages.h:103
virtual void load(SimpleFile *file, int param)
Definition: pet_section.h:135
virtual void enterRoom(CRoomItem *room)
Definition: pet_section.h:162
virtual void highlight(int id)
Definition: pet_section.h:229
virtual void displayNPCName(CGameObject *npc)
Definition: pet_section.h:202
virtual void save(SimpleFile *file, int indent)
Definition: pet_section.h:145
virtual void resetNPC()
Definition: pet_section.h:214
virtual CTextControl * getText()
Definition: pet_section.h:172
Definition: messages.h:307
virtual void changed(int changeType)
Definition: pet_section.h:96
virtual void postLoad()
Definition: pet_section.h:140
virtual void showCursor()
Definition: pet_section.h:219
virtual void enter(PetArea oldArea)
Definition: pet_section.h:150
virtual void setNPC(const CString &name)
Definition: pet_section.h:209
Definition: pet_control.h:45
virtual Rect getBounds() const
Definition: pet_section.h:91
virtual void leave()
Definition: pet_section.h:155