|
void | save (SimpleFile *file, int indent) override |
|
void | load (SimpleFile *file) override |
|
const CMovieClipList * | getMovieClips () const override |
|
void | draw (CScreenManager *screenManager) override |
|
Rect | getBounds () const override |
|
void | freeSurface () override |
|
void | draw (CScreenManager *screenManager, const Rect &destRect, const Rect &srcRect) |
|
void | draw (CScreenManager *screenManager, const Point &destPos) |
|
void | draw (CScreenManager *screenManager, const Point &destPos, const Rect &srcRect) |
|
virtual bool | isPet () const |
|
bool | checkPoint (const Point &pt, bool ignoreSurface=false, bool visibleOnly=false) |
|
bool | findPoint (Quadrant quadrant, Point &pt) |
|
void | setPosition (const Point &newPos) |
|
Point | getControid () const |
|
void | playMovie (uint flags) |
|
void | playMovie (int startFrame, int endFrame, uint flags) |
|
void | playMovie (int startFrame, int endFrame, int initialFrame, uint flags) |
|
bool | hasActiveMovie () const |
|
void | stopMovie () |
|
void | movieSetPlaying (bool flag) |
|
int | getMovieFrame () const |
|
int | getFrameNumber () const |
|
void | loadFrame (int frameNumber) |
|
void | loadSurface () |
|
void | makeDirty () |
|
void | makeDirty (const Rect &r) |
|
void | setVisible (bool val) |
|
PassengerClass | getPassengerClass () const |
|
PassengerClass | getPriorClass () const |
|
void | setMailDest (uint roomFlags) |
|
bool | surfaceHasFrame () const |
|
Found | find (const CString &name, CGameObject **item, int findAreas) |
|
CGameObject * | getHiddenObject (const CString &name) const |
|
void | dragMove (const Point &pt) |
|
CGameObject * | getDraggingObject () const |
|
void | createCredits () |
|
void | setText (const CString &str, int border=0, int borderRight=0) |
|
void | setTextHasBorders (bool hasBorders) |
|
void | setTextBounds () |
|
void | setTextColor (byte r, byte g, byte b) |
|
void | setTextFontNumber (int fontNumber) |
|
int | getTextWidth () const |
|
void | scrollTextUp () |
|
void | scrollTextDown () |
|
CTextCursor * | getTextCursor () const |
|
Movement | getMovement () const |
|
CRoomItem * | getRoom () const |
|
CNodeItem * | getNode () const |
|
CViewItem * | getView () const |
|
CString | getRoomName () const |
|
CString | getRoomNodeName () const |
|
void | addMail (uint destRoomFlags) |
|
void | sendMail (uint currRoomFlags, uint newRoomFlags) |
|
CString | getFullViewName () |
|
CPetControl * | getPetControl () const |
|
void | petAddToCarryParcel (CGameObject *obj) |
|
void | petAddToInventory () |
|
CTreeItem * | petContainerRemove (CGameObject *obj) |
|
bool | petCheckNode (const CString &name) |
|
bool | petDismissBot (const CString &name) |
|
bool | petDoorOrBellbotPresent () const |
|
void | petDisplayMessage (int unused, StringId stringId) |
|
void | petDisplayMessage (int unused, const CString &str) |
|
void | petDisplayMessage (StringId stringId, int param=0) |
|
void | petDisplayMessage (const CString &str, int param=0) |
|
int | petGetRoomsWellEntry () const |
|
void | petHide () |
|
void | petHideCursor () |
|
void | petHighlightGlyph (int id) |
|
void | petInvChange () |
|
void | petMoveToHiddenRoom () |
|
void | petReassignRoom (PassengerClass passClassNum) |
|
void | petSetArea (PetArea newArea) const |
|
void | petSetRemoteTarget () |
|
void | petSetRoomsWellEntry (int entryNum) |
|
void | petSetRoomsElevatorBroken (bool flag) |
|
void | petShow () |
|
void | petIncAreaLocks () |
|
void | petDecAreaLocks () |
|
void | petShowCursor () |
|
void | petOnSummonBot (const CString &name, int val) |
|
CStarControl * | getStarControl () const |
|
void | starFn (StarControlAction action) |
|
bool | starIsSolved () const |
|
void | startTalking (CTrueTalkNPC *npc, uint id, CViewItem *view=nullptr) |
|
void | startTalking (const CString &name, uint id, CViewItem *view=nullptr) |
|
void | setTalking (CTrueTalkNPC *npc, bool viewFlag, CViewItem *view=nullptr) |
|
void | talkSetDialRegion (const CString &name, int dialNum, int regionNum) |
|
int | talkGetDialRegion (const CString &name, int dialNum) |
|
void | movieEvent (int frameNumber) |
|
void | movieEvent () |
|
void | stateSetSoundMakerAllowed (bool flag) |
|
void | stateChangeSeason () |
|
Season | stateGetSeason () const |
|
void | stateSetParrotMet () |
|
bool | stateGetParrotMet () const |
|
void | incParrotResponse () |
|
int | getParrotResponse () const |
|
uint | getNodeChangedCtr () const |
|
uint | getNodeEnterTicks () const |
|
CString | dumpItem (int indent) const override |
|
const CString | getName () const override |
|
bool | isEquals (const CString &name, bool startsWith=false) const override |
|
virtual CViewItem * | findView () const |
|
virtual CNodeItem * | findNode () const |
|
virtual CRoomItem * | findRoom () const |
|
void | dump (int indent) |
|
virtual CGameManager * | getGameManager () const |
|
virtual bool | isFileItem () const |
|
virtual bool | isRoomItem () const |
|
virtual bool | isNodeItem () const |
|
virtual bool | isViewItem () const |
|
virtual bool | isLinkItem () const |
|
virtual bool | isPlaceHolderItem () const |
|
virtual bool | isNamedItem () const |
|
virtual bool | isGameObject () const |
|
virtual bool | isGameObjectDescItem () const |
|
virtual int | compareTo (const CString &name, int maxLen=0) const |
|
virtual bool | connectsTo (CViewItem *destView) const |
|
CTreeItem * | getParent () const |
|
CProjectItem * | getRoot () const |
|
CTreeItem * | getNextSibling () const |
|
CTreeItem * | getPriorSibling () const |
|
CTreeItem * | getLastSibling () |
|
CTreeItem * | getFirstChild () const |
|
CTreeItem * | getLastChild () const |
|
CTreeItem * | scan (CTreeItem *item) const |
|
CTreeItem * | findChildInstanceOf (ClassDef *classDef) const |
|
CTreeItem * | findNextInstanceOf (ClassDef *classDef, CTreeItem *startItem) const |
|
void | addUnder (CTreeItem *newParent) |
|
void | setParent (CTreeItem *newParent) |
|
void | addSibling (CTreeItem *item) |
|
void | moveUnder (CTreeItem *newParent) |
|
void | destroyAll () |
|
int | destroyChildren () |
|
void | detach () |
|
void | attach (CTreeItem *item) |
|
CNamedItem * | findByName (const CString &name, bool subMatch=false) |
|
virtual ClassDef * | getType () const |
|
bool | isInstanceOf (const ClassDef *classDef) const |
|
virtual void | saveHeader (SimpleFile *file, int indent) |
|
virtual void | saveFooter (SimpleFile *file, int indent) |
|
|
static void | init () |
|
static void | deinit () |
|
static bool | compareRoomFlags (RoomFlagsComparison compareType, uint flags1, uint flags2) |
|
static void | initClassList () |
|
static void | freeClassList () |
|
static CSaveableObject * | createInstance (const Common::String &name) |
|
Static Public Attributes inherited from Titanic::CRestaurantPanHandler |
static bool | _armPickedUp |
|
static ClassDef * | _type |
|
void | savePosition () |
|
void | resetPosition () |
|
bool | checkStartDragging (CMouseDragStartMsg *msg) |
|
void | gotoView (const CString &viewName, const CString &clipName) |
|
CViewItem * | parseView (const CString &viewString) |
|
void | loadMovie (const CString &name, bool pendingFlag=true) |
|
void | loadImage (const CString &name, bool pendingFlag=true) |
|
void | incTransitions () |
|
void | decTransitions () |
|
void | lockMouse () |
|
void | unlockMouse () |
|
void | hideMouse () |
|
void | showMouse () |
|
void | disableMouse () |
|
void | enableMouse () |
|
void | mouseDisableControl () |
|
void | mouseEnableControl () |
|
void | mouseSetPosition (const Point &pt, double rate) |
|
void | lockInputHandler () |
|
void | unlockInputHandler () |
|
void | loadSound (const CString &name) |
|
int | playSound (const CString &name, uint volume=100, int balance=0, bool repeated=false) |
|
int | playSound (const CString &name, CProximity &prox) |
|
int | queueSound (const CString &name, uint priorHandle, uint volume=100, int balance=0, bool repeated=false, Audio::Mixer::SoundType soundType=Audio::Mixer::kPlainSoundType) |
|
void | stopSound (int handle, uint seconds=0) |
|
bool | isSoundActive (int handle) const |
|
void | setSoundVolume (int handle, uint percent, uint seconds) |
|
void | playAmbientSound (const CString &resName, VolumeMode mode, bool initialMute, bool repeated, int handleIndex, Audio::Mixer::SoundType soundType=Audio::Mixer::kMusicSoundType) |
|
void | stopAmbientSound (bool transition, int handleIndex) |
|
void | setAmbientSoundVolume (VolumeMode mode, uint seconds, int handleIndex) |
|
void | stopSoundChannel (bool channel3) |
|
int | addTimer (int endVal, uint firstDuration, uint repeatDuration) |
|
int | addTimer (uint firstDuration, uint repeatDuration=0) |
|
void | stopTimer (int id) |
|
int | startAnimTimer (const CString &action, uint firstDuration, uint repeatDuration=0) |
|
void | stopAnimTimer (int id) |
|
void | sleep (uint milli) |
|
Point | getMousePos () const |
|
bool | compareViewNameTo (const CString &name) const |
|
bool | compareRoomNameTo (const CString &name) |
|
CGameObject * | getMailManFirstObject () const |
|
CGameObject * | getMailManNextObject (CGameObject *prior) const |
|
CGameObject * | findMailByFlags (RoomFlagsComparison compareType, uint roomFlags) |
|
CGameObject * | getNextMail (CGameObject *prior) |
|
CGameObject * | findRoomObject (const CString &name) const |
|
CGameObject * | findInRoom (const CString &name) |
|
void | moveToView () |
|
void | moveToView (const CString &name) |
|
bool | changeView (const CString &viewName, const CString &clipName) |
|
bool | changeView (const CString &viewName) |
|
void | playClip (const CString &name, uint flags=0) |
|
void | playClip (uint startFrame, uint endFrame) |
|
bool | playCutscene (uint startFrame, uint endFrame) |
|
void | playRandomClip (const char *const *names, uint flags=0) |
|
CString | getViewFullName () const |
|
bool | clipExistsByStart (const CString &name, int startFrame=0) const |
|
bool | clipExistsByEnd (const CString &name, int endFrame=0) const |
|
void | petClear () const |
|
CMailMan * | getMailMan () const |
|
CDontSaveFileItem * | getDontSave () const |
|
CTreeItem * | getDontSaveChild (ClassDef *classDef) const |
|
CRoomItem * | getHiddenRoom () const |
|
CRoomItem * | locateRoom (const CString &name) const |
|
CTreeItem * | findUnder (CTreeItem *parent, const CString &name) const |
|
CRoomItem * | findRoomByName (const CString &name) |
|
CMusicRoom * | getMusicRoom () const |
|
void | setPassengerClass (PassengerClass newClass) |
|
void | setToggleColor (byte r, byte g, byte b) |
|
int | getClipDuration (const CString &name, int frameRate=14) const |
|
uint32 | getTicksCount () |
|
Common::SeekableReadStream * | getResource (const CString &name) |
|
bool | mailExists (uint roomFlags) const |
|
CGameObject * | findMail (uint roomFlags) const |
|
void | resetMail () |
|
void | petLockInput () |
|
void | petUnlockInput () |
|
void | quitGame () |
|
void | setMovieFrameRate (double rate) |
|
int | getRandomNumber (int max, int *oldVal=nullptr) |
|
bool | isBotDisallowedLocation () |
|
virtual const MSGMAP * | getMessageMap () const |
|
static const MSGMAP * | getThisMessageMap () |
|
Protected Attributes inherited from Titanic::CRestaurantPanHandler |
CString | _armDestination |
|
CString | _armlessDestination |
|
CString | _destination |
|
double | _unused1 |
|
double | _unused2 |
|
double | _unused3 |
|
bool | _nonvisual |
|
byte | _toggleR |
|
byte | _toggleG |
|
byte | _toggleB |
|
CMovieClipList | _movieClips |
|
int | _initialFrame |
|
CMovieRangeInfoList | _movieRangeInfoList |
|
int | _frameNumber |
|
CTextControl * | _text |
|
uint | _textBorder |
|
uint | _textBorderRight |
|
Common::Point | _savedPos |
|
CVideoSurface * | _surface |
|
CString | _resource |
|
int | _unused4 |
|
static CCreditText * | _credits |
|