Public Member Functions | |
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 |
void | save (SimpleFile *file, int indent) override |
void | load (SimpleFile *file) 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) |
void | save (SimpleFile *file, int indent) override |
void | load (SimpleFile *file) override |
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 Public Member Functions | |
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) |
Public Attributes | |
Rect | _bounds |
bool | _isPendingMail |
uint | _destRoomFlags |
uint | _roomFlags |
bool | _handleMouseFlag |
CursorId | _cursorId |
bool | _visible |
CLASSDEF | |
![]() | |
CString | _name |
CLASSDEF | |
![]() | |
CLASSDEF | |
Protected Member Functions | |
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 () |
Protected Attributes | |
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 Protected Attributes | |
static CCreditText * | _credits |
Additional Inherited Members | |
![]() | |
static ClassDef * | _type |
|
protected |
Saves the current position the object is located at
|
protected |
Resets the object back to the previously saved starting position
|
protected |
Check for starting to drag the object
|
protected |
Goto a new view
Parses a view into it's components of room, node, and view, and locates the designated view
|
protected |
Loads a movie
|
protected |
Loads an image
|
protected |
Increments the number of active transitions
|
protected |
Decrements the number of active transitions
|
protected |
Locks/hides the mouse
|
protected |
Unlocks/shows the mouse
|
protected |
Hides the mouse cursor
|
protected |
Shows the mouse cursor
|
protected |
Disable the mouse
|
protected |
Enable the mouse
|
protected |
Disables user control of the mouse
|
protected |
Re-enables user control of the mouse
|
protected |
Sets the mouse to a new position
|
protected |
Lock the input handler
|
protected |
Unlock the input handler
|
protected |
Load a sound
|
protected |
Plays a sound
name | Filename of sound to play |
volume | Volume level |
balance | Sound balance (not actually used in original) |
repeated | If true, sound will repeat indefinitely |
|
protected |
Plays a sound
name | Filename of sound to play |
prox | Proximity object with the sound data |
|
protected |
Queues a sound to play after a specified one finishes
name | Filename of sound to play |
priorHandle | Sound to wait until finished before playing |
volume | Volume level |
balance | Sound balance (not actually used by original) |
repeated | If true, sound will repeat indefinitely |
|
protected |
Stop a sound
handle | Sound handle |
seconds | Optional number of seconds to transition sound off |
|
protected |
Returns true if a sound with the specified handle is active
|
protected |
Sets the volume for a sound
handle | Sound handle |
volume | Volume percentage (0 to 100) |
seconds | Number of seconds to transition to the new volume |
|
protected |
Plays an ambient sound, and saves it's handle in the ambient sound handles list
resName | Filename of sound to play |
mode | Volume mode level |
initialMute | If set, sound transitions in from mute over 2 seconds |
repeated | Flag for repeating sounds |
handleIndex | Slot 0 to 3 in the shared sound handle list to store the sound's handle |
soundType | Specifies whether the sound is a sound effect or music |
|
protected |
Stops playing an ambient sound
transition | If set, the sound transitions to silent before stopping |
handleIndex | Index of sound to stop. If -1, all ambient sounds are stopped |
|
protected |
Updates the volume for an ambient sound based on the specified mode's volume
mode | Volume level mode |
seconds | Number of seconds to transition to new volume |
handleIndex | Index of ambient sound to update. If -1, all ambient sounds are updated |
|
protected |
Stops sound channel 3 or 0
|
protected |
Adds a timer
|
protected |
Adds a timer
|
protected |
Stops a timer
|
protected |
Start an animation timer
|
protected |
Stop an animation timer
|
protected |
Causes the game to sleep for the specified time
|
protected |
Get the current mouse cursor position
|
protected |
Compare the name of the parent room to the item to a passed string
|
protected |
Gets the first object under the system MailMan
|
protected |
Gets the next object under the system MailMan
|
protected |
Find mail by room flags
|
protected |
Find next mail from a given prior one
|
protected |
Finds an object by name within the object's room
|
protected |
FInds an object under the current room
|
protected |
Moves the object to be under the current view
|
protected |
Moves the object to be under the specified view
|
protected |
Change the view
|
protected |
Change the view
|
protected |
Play an arbitrary clip
|
protected |
Play a clip
|
protected |
Play a cutscene
|
protected |
Play a clip randomly from a passed list of names
|
protected |
Return the current view/node/room as a single string
|
protected |
Returns true if a clip exists in the list with a given name and starting frame number
|
protected |
Returns true if a clip exists in the list with a given name and ending frame number
|
protected |
Clear the PET display
|
protected |
Returns the MailMan
|
protected |
Gets the don't save container object
Returns a child of the Dont Save area of the project of the given class
|
protected |
Returns the special hidden room container
Locates a room with the given name
|
protected |
Scan the specified room for an item by name
Finds a room by name
|
protected |
Returns the music room instance from the game manager
|
protected |
Set's the player's passenger class
|
protected |
Sets color RGB for toggles
|
protected |
Gets the duration of a specified clip in milliseconds
|
protected |
Returns the current system tick count
|
protected |
Gets a resource from the DAT file
|
protected |
Returns true if a mail with a specified Id exists
|
protected |
Returns a specified mail, if one exists
|
protected |
Resets the Mail Man value
|
protected |
Locks the PET, disabling all input. Can be called multiple times
|
protected |
Unlocks PET input
|
protected |
Flag to quit the game
|
protected |
Set the frame rate for the currently loaded movie
|
protected |
Gets a new random number
|
protected |
Returns true if the current location is one that Doorbot/Bellbot shouldn't be allowed to be summoned to, but isn't disallowed by the original game
|
static |
Initializes statics
|
static |
Deinitializes statics
|
overridevirtual |
Save the data for the class to file
Reimplemented from Titanic::CSaveableObject.
Reimplemented in Titanic::CPetControl, Titanic::CSuccUBus, Titanic::CBarbot, Titanic::CParrot, Titanic::CArboretumGate, Titanic::CBedhead, Titanic::CTrueTalkNPC, Titanic::CSGTStateRoom, Titanic::CMissiveOMat, Titanic::CTelevision, Titanic::CDoorbot, Titanic::CMaitreD, Titanic::CBomb, Titanic::CStarControl, Titanic::CGondolierSlider, Titanic::CHeadSlot, Titanic::CParrotLobbyLinkUpdater, Titanic::CLight, Titanic::CTitania, Titanic::CDeskbot, Titanic::CLiftBot, Titanic::CCellPointButton, Titanic::CGondolierMixer, Titanic::CLightSwitch, Titanic::CLift, Titanic::CServiceElevator, Titanic::CEditControl, Titanic::CBellBot, Titanic::CBilgeSuccUBus, Titanic::CAutoSoundPlayer, Titanic::CPhonograph, Titanic::CRestaurantCylinderHolder, Titanic::CMusicPlayer, Titanic::CFanNoises, Titanic::CHammerDispensorButton, Titanic::CIdleSummoner, Titanic::CLongStickDispenser, Titanic::CSauceDispensor, Titanic::CLiftindicator, Titanic::CEnterExitSecClassMiniLift, Titanic::CCaptainsWheel, Titanic::CChickenDispensor, Titanic::CUpLighter, Titanic::CSTButton, Titanic::CChevCode, Titanic::CLemonDispensor, Titanic::CRestaurantPhonograph, Titanic::CSGTNavigation, Titanic::CSpeechDispensor, Titanic::CSUBGlass, Titanic::CExitPellerator, Titanic::CSeasonalMusicPlayer, Titanic::CBarBell, Titanic::CBrainSlot, Titanic::CChevPanel, Titanic::CodeWheel, Titanic::CFanControl, Titanic::CGondolierBase, Titanic::CMaitreDProdReceptor, Titanic::CCallPellerator, Titanic::CParrotSuccUBus, Titanic::CBarMenu, Titanic::CNavHelmet, Titanic::CParrotNutBowlActor, Titanic::CParrotNutEater, Titanic::CSeasonalAdjustment, Titanic::CShipSetting, Titanic::CSliderButton, Titanic::CDoorAutoSoundEvent, Titanic::CAutoMusicPlayerBase, Titanic::CSeasonNoises, Titanic::CPET, Titanic::CSeasonBackground, Titanic::CWheelHotSpot, Titanic::CEnterExitView, Titanic::CTitaniaSpeech, Titanic::CTurnOnTurnOff, Titanic::CAnnounce, Titanic::CBottomOfWellMonitor, Titanic::CBridgeView, Titanic::CBrokenPellerator, Titanic::CBrokenPelleratorFroz, Titanic::CCDROM, Titanic::CEmmaControl, Titanic::CHammerDispensor, Titanic::CHeadSmashLever, Titanic::CNoseHolder, Titanic::CServiceElevatorWindow, Titanic::CSGTStateControl, Titanic::CShipSettingButton, Titanic::CThrowTVDownWell, Titanic::CPellerator, Titanic::CMusicControl, Titanic::CBilgeDispensorEvent, Titanic::CExitArboretum, Titanic::CScraliontisTable, Titanic::CCharacter, Titanic::CPETShowTranslation, Titanic::CAutoAnimate, Titanic::CBrokenPellBase, Titanic::CCage, Titanic::CCDROMTray, Titanic::CEjectPhonographButton, Titanic::CEndExplodeShip, Titanic::CEndGameCredits, Titanic::CGetLiftEye2, Titanic::CPickUpHose, Titanic::CPortHole, Titanic::CSGTDoors, Titanic::CWheelButton, Titanic::CGondolierSong, Titanic::CRestrictedAutoMusicPlayer, Titanic::CBowlUnlocker, Titanic::CChickenCooler, Titanic::CComputer, Titanic::CDeadArea, Titanic::CEmptyNutBowl, Titanic::CMissiveOMatButton, Titanic::CParrotLobbyObject, Titanic::CPhonographLid, Titanic::CStartAction, Titanic::CToggleSwitch, Titanic::CRestaurantPanHandler, Titanic::CSummonBots, Titanic::CTurnOnPlaySound, Titanic::CArbBackground, Titanic::CBelbotGetLight, Titanic::CComputerScreen, Titanic::CCookie, Titanic::CEndCreditText, Titanic::CFan, Titanic::CHammerClip, Titanic::CMaitreDBody, Titanic::CPETSentinal, Titanic::CPETSounds, Titanic::CBarShelfVisCentre, Titanic::CPlayMusicButton, Titanic::CReservedTable, Titanic::CSeasonBarrel, Titanic::CDrawer, Titanic::CShowCellpoints, Titanic::CStarlingPuret, Titanic::CVolumeControl, Titanic::CEnterExitMiniLift, Titanic::CEnterSecClassState, Titanic::CCallBot, Titanic::CStarlings, Titanic::CAutoMusicPlayer, Titanic::CAutoSoundPlayerADSR, Titanic::CNodeAutoSoundPlayer, Titanic::CMultiDropTarget, Titanic::CTurnOnObject, Titanic::CBarMenuButton, Titanic::CCDROMComputer, Titanic::CCredits, Titanic::CCreditsButton, Titanic::CDeskClickResponder, Titanic::CDoorbotElevatorHandler, Titanic::CEndCredits, Titanic::CEndSequenceControl, Titanic::CGamesConsole, Titanic::CGondolierFace, Titanic::CLittleLiftButton, Titanic::CMaitreDLegs, Titanic::CMusicRoomStopPhonographButton, Titanic::CMusicSystemLock, Titanic::CNavHelmetOff, Titanic::CNavHelmetOn, Titanic::CPetDisabler, Titanic::CRecordPhonographButton, Titanic::CSUBWrapper, Titanic::CWheelSpin, Titanic::CMoveObjectButton, Titanic::CAutoSoundEvent, Titanic::CEnterBridge, Titanic::CExitTiania, Titanic::CMovePlayerTo, Titanic::CPanFromPel, Titanic::CRestrictedMove, Titanic::CRobotController, Titanic::CBirdSong, Titanic::CViewAutoSoundPlayer, Titanic::CElevatorActionArea, Titanic::CMovieTester, Titanic::CParrotLobbyViewObject, Titanic::CParrotPerchHolder, Titanic::CParrotTrigger, Titanic::CPETPosition, Titanic::CPickUp, Titanic::CSearchPoint, Titanic::CDeskchair, Titanic::CSGTRestaurantDoors, Titanic::CGondolier, Titanic::CTransport, Titanic::CWheelSpinHorn, Titanic::CEnterBombRoom, Titanic::CExitBridge, Titanic::CExitLift, Titanic::CMovePlayerInParrotRoom, Titanic::CMovePlayerToFrom, Titanic::CMultiMove, Titanic::CMobile, Titanic::CPetDragChev, Titanic::CBackgroundSoundMaker, Titanic::CEnterViewTogglesOtherMusic, Titanic::CViewTogglesOtherMusic, Titanic::CAnnoyBarbot, Titanic::CBridgeDoor, Titanic::CCloseBrokenPel, Titanic::CGondolierChest, Titanic::CMusicConsoleButton, Titanic::CMusicRoomPhonograph, Titanic::CNoNutBowl, Titanic::CPlayerMeetsParrot, Titanic::CPETTransport, Titanic::CPickUpBarGlass, Titanic::CPickUpSpeechCentre, Titanic::CLemonOnBar, Titanic::CTVOnBar, Titanic::CArmchair, Titanic::CBasin, Titanic::CChestOfDrawers, Titanic::CDesk, Titanic::CSGTTV, Titanic::CToilet, Titanic::CVase, Titanic::CWashstand, Titanic::CSweetBowl, Titanic::CMusicSliderPitch, Titanic::CMusicSliderSpeed, Titanic::CMusicSwitchInversion, Titanic::CMusicSwitchReverse, Titanic::CMusicVoiceMute, Titanic::CToggleButton, Titanic::CRoomAutoSoundPlayer, Titanic::CRoomTriggerAutoMusicPlayer, Titanic::CTriggerAutoMusicPlayer, Titanic::CWaterLappingSounds, Titanic::CMailMan, Titanic::CDoorbotHomeHandler, Titanic::CEarSweetBowl, Titanic::CGlassSmasher, Titanic::CHeadSmashEvent, Titanic::CHeadSpinner, Titanic::CMaitreDArmHolder, Titanic::CNutReplacer, Titanic::CPETMonitor, Titanic::CPETPellerator, Titanic::CPickUpLemon, Titanic::CPickUpVisCentre, Titanic::CPlayOnAct, Titanic::CBedfoot, Titanic::SGTNav, Titanic::CStopPhonographButton, Titanic::CTitaniaStillControl, Titanic::CPellerator, Titanic::CUselessLever, Titanic::CActButton, Titanic::CChangesSeasonButton, Titanic::CStatusChangeButton, Titanic::CServiceElevatorDoor, Titanic::CExitStateRoom, Titanic::CTripDownCanal, Titanic::CFanDecrease, Titanic::CFanIncrease, Titanic::CFloorIndicator, Titanic::CNullPortHole, Titanic::CParrotLobbyController, Titanic::CParrotLoser, Titanic::CPETLift, Titanic::CPETTransition, Titanic::CPlaceHolder, Titanic::CReplacementEar, Titanic::CThirdClassCanal, Titanic::CTOWParrotNav, Titanic::CChevLeftOff, Titanic::CChevLeftOn, Titanic::CChevRightOff, Titanic::CChevRightOn, Titanic::CChevSendRecSwitch, Titanic::CElevatorButton, Titanic::CGetFromSucc, Titanic::CHelmetOnOff, Titanic::CHomePhoto, Titanic::CIconNavAction, Titanic::CIconNavDown, Titanic::CIconNavLeft, Titanic::CIconNavRight, Titanic::CIconNavUp, Titanic::CKeybrdButt, Titanic::CSendToSucc, Titanic::CSmallChevLeftOff, Titanic::CSmallChevLeftOn, Titanic::CSmallChevRightOff, Titanic::CSmallChevRightOn, Titanic::CEnterExitFirstClassState, Titanic::CPetModeOff, Titanic::CPetModeOn, Titanic::CPetModePanel, Titanic::CDomeFromTopOfWell, Titanic::CStaticImage, Titanic::CLeaveSecClassState, Titanic::CMusicalInstrument, Titanic::CNavigationComputer, Titanic::CPETClass1, Titanic::CPETClass2, Titanic::CPETClass3, Titanic::CSGTUpperDoorsSound, Titanic::CSplashAnimation, Titanic::CIconNavButt, Titanic::CIconNavImage, Titanic::CIconNavReceive, Titanic::CIconNavSend, Titanic::CMusicSlider, Titanic::CMusicSwitch, Titanic::CSGTSelector, Titanic::CTextDown, Titanic::CTextSkrew, Titanic::CTextUp, Titanic::CPetGraphic, Titanic::CPetGraphic2, Titanic::PETLeaf, Titanic::CPetPannel1, Titanic::CPetPannel2, Titanic::CPetPannel3, and Titanic::CBilgeAutoSoundEvent.
|
overridevirtual |
Load the data for the class from file
Reimplemented from Titanic::CSaveableObject.
Reimplemented in Titanic::CPetControl, Titanic::CSuccUBus, Titanic::CBarbot, Titanic::CParrot, Titanic::CArboretumGate, Titanic::CBedhead, Titanic::CTrueTalkNPC, Titanic::CSGTStateRoom, Titanic::CMissiveOMat, Titanic::CTelevision, Titanic::CDoorbot, Titanic::CMaitreD, Titanic::CBomb, Titanic::CStarControl, Titanic::CGondolierSlider, Titanic::CHeadSlot, Titanic::CParrotLobbyLinkUpdater, Titanic::CLight, Titanic::CTitania, Titanic::CDeskbot, Titanic::CLiftBot, Titanic::CCellPointButton, Titanic::CGondolierMixer, Titanic::CLightSwitch, Titanic::CLift, Titanic::CServiceElevator, Titanic::CEditControl, Titanic::CBellBot, Titanic::CBilgeSuccUBus, Titanic::CAutoSoundPlayer, Titanic::CPhonograph, Titanic::CRestaurantCylinderHolder, Titanic::CMusicPlayer, Titanic::CFanNoises, Titanic::CHammerDispensorButton, Titanic::CIdleSummoner, Titanic::CLongStickDispenser, Titanic::CSauceDispensor, Titanic::CLiftindicator, Titanic::CEnterExitSecClassMiniLift, Titanic::CCaptainsWheel, Titanic::CChickenDispensor, Titanic::CUpLighter, Titanic::CSTButton, Titanic::CChevCode, Titanic::CLemonDispensor, Titanic::CRestaurantPhonograph, Titanic::CSGTNavigation, Titanic::CSpeechDispensor, Titanic::CSUBGlass, Titanic::CExitPellerator, Titanic::CSeasonalMusicPlayer, Titanic::CBarBell, Titanic::CBrainSlot, Titanic::CChevPanel, Titanic::CodeWheel, Titanic::CFanControl, Titanic::CGondolierBase, Titanic::CMaitreDProdReceptor, Titanic::CCallPellerator, Titanic::CParrotSuccUBus, Titanic::CBarMenu, Titanic::CNavHelmet, Titanic::CParrotNutBowlActor, Titanic::CParrotNutEater, Titanic::CSeasonalAdjustment, Titanic::CShipSetting, Titanic::CSliderButton, Titanic::CDoorAutoSoundEvent, Titanic::CAutoMusicPlayerBase, Titanic::CSeasonNoises, Titanic::CPET, Titanic::CSeasonBackground, Titanic::CWheelHotSpot, Titanic::CEnterExitView, Titanic::CTitaniaSpeech, Titanic::CTurnOnTurnOff, Titanic::CAnnounce, Titanic::CBottomOfWellMonitor, Titanic::CBridgeView, Titanic::CBrokenPellerator, Titanic::CBrokenPelleratorFroz, Titanic::CCDROM, Titanic::CEmmaControl, Titanic::CHammerDispensor, Titanic::CHeadSmashLever, Titanic::CNoseHolder, Titanic::CServiceElevatorWindow, Titanic::CSGTStateControl, Titanic::CShipSettingButton, Titanic::CThrowTVDownWell, Titanic::CPellerator, Titanic::CMusicControl, Titanic::CBilgeDispensorEvent, Titanic::CExitArboretum, Titanic::CScraliontisTable, Titanic::CCharacter, Titanic::CPETShowTranslation, Titanic::CAutoAnimate, Titanic::CBrokenPellBase, Titanic::CCage, Titanic::CCDROMTray, Titanic::CEjectPhonographButton, Titanic::CEndExplodeShip, Titanic::CEndGameCredits, Titanic::CGetLiftEye2, Titanic::CPickUpHose, Titanic::CPortHole, Titanic::CSGTDoors, Titanic::CWheelButton, Titanic::CGondolierSong, Titanic::CRestrictedAutoMusicPlayer, Titanic::CBowlUnlocker, Titanic::CChickenCooler, Titanic::CComputer, Titanic::CDeadArea, Titanic::CEmptyNutBowl, Titanic::CMissiveOMatButton, Titanic::CParrotLobbyObject, Titanic::CPhonographLid, Titanic::CStartAction, Titanic::CToggleSwitch, Titanic::CRestaurantPanHandler, Titanic::CSummonBots, Titanic::CTurnOnPlaySound, Titanic::CArbBackground, Titanic::CBelbotGetLight, Titanic::CComputerScreen, Titanic::CCookie, Titanic::CEndCreditText, Titanic::CFan, Titanic::CHammerClip, Titanic::CMaitreDBody, Titanic::CPETSentinal, Titanic::CPETSounds, Titanic::CBarShelfVisCentre, Titanic::CPlayMusicButton, Titanic::CReservedTable, Titanic::CSeasonBarrel, Titanic::CDrawer, Titanic::CShowCellpoints, Titanic::CStarlingPuret, Titanic::CVolumeControl, Titanic::CMusicVoiceMute, Titanic::CEnterExitMiniLift, Titanic::CEnterSecClassState, Titanic::CCallBot, Titanic::CStarlings, Titanic::CAutoMusicPlayer, Titanic::CAutoSoundPlayerADSR, Titanic::CNodeAutoSoundPlayer, Titanic::CMultiDropTarget, Titanic::CTurnOnObject, Titanic::CBarMenuButton, Titanic::CCDROMComputer, Titanic::CCredits, Titanic::CCreditsButton, Titanic::CDeskClickResponder, Titanic::CDoorbotElevatorHandler, Titanic::CEndCredits, Titanic::CEndSequenceControl, Titanic::CGamesConsole, Titanic::CGondolierFace, Titanic::CLittleLiftButton, Titanic::CMaitreDLegs, Titanic::CMusicRoomStopPhonographButton, Titanic::CMusicSystemLock, Titanic::CNavHelmetOff, Titanic::CNavHelmetOn, Titanic::CPetDisabler, Titanic::CRecordPhonographButton, Titanic::CSUBWrapper, Titanic::CWheelSpin, Titanic::CMoveObjectButton, Titanic::CAutoSoundEvent, Titanic::CEnterBridge, Titanic::CExitTiania, Titanic::CMovePlayerTo, Titanic::CPanFromPel, Titanic::CRestrictedMove, Titanic::CRobotController, Titanic::CBirdSong, Titanic::CViewAutoSoundPlayer, Titanic::CElevatorActionArea, Titanic::CMovieTester, Titanic::CParrotLobbyViewObject, Titanic::CParrotPerchHolder, Titanic::CParrotTrigger, Titanic::CPETPosition, Titanic::CPickUp, Titanic::CSearchPoint, Titanic::CDeskchair, Titanic::CSGTRestaurantDoors, Titanic::CGondolier, Titanic::CTransport, Titanic::CWheelSpinHorn, Titanic::CEnterBombRoom, Titanic::CExitBridge, Titanic::CExitLift, Titanic::CMovePlayerInParrotRoom, Titanic::CMovePlayerToFrom, Titanic::CMultiMove, Titanic::CMobile, Titanic::CPetDragChev, Titanic::CBackgroundSoundMaker, Titanic::CEnterViewTogglesOtherMusic, Titanic::CViewTogglesOtherMusic, Titanic::CAnnoyBarbot, Titanic::CBridgeDoor, Titanic::CCloseBrokenPel, Titanic::CGondolierChest, Titanic::CMusicConsoleButton, Titanic::CMusicRoomPhonograph, Titanic::CNoNutBowl, Titanic::CPlayerMeetsParrot, Titanic::CPETTransport, Titanic::CPickUpBarGlass, Titanic::CPickUpSpeechCentre, Titanic::CLemonOnBar, Titanic::CTVOnBar, Titanic::CArmchair, Titanic::CBasin, Titanic::CChestOfDrawers, Titanic::CDesk, Titanic::CSGTTV, Titanic::CToilet, Titanic::CVase, Titanic::CWashstand, Titanic::CSweetBowl, Titanic::CMusicSliderPitch, Titanic::CMusicSliderSpeed, Titanic::CMusicSwitchInversion, Titanic::CMusicSwitchReverse, Titanic::CToggleButton, Titanic::CRoomAutoSoundPlayer, Titanic::CRoomTriggerAutoMusicPlayer, Titanic::CTriggerAutoMusicPlayer, Titanic::CWaterLappingSounds, Titanic::CMailMan, Titanic::CDoorbotHomeHandler, Titanic::CEarSweetBowl, Titanic::CGlassSmasher, Titanic::CHeadSmashEvent, Titanic::CHeadSpinner, Titanic::CMaitreDArmHolder, Titanic::CNutReplacer, Titanic::CPETMonitor, Titanic::CPETPellerator, Titanic::CPickUpLemon, Titanic::CPickUpVisCentre, Titanic::CPlayOnAct, Titanic::CBedfoot, Titanic::SGTNav, Titanic::CStopPhonographButton, Titanic::CTitaniaStillControl, Titanic::CPellerator, Titanic::CUselessLever, Titanic::CActButton, Titanic::CChangesSeasonButton, Titanic::CStatusChangeButton, Titanic::CServiceElevatorDoor, Titanic::CExitStateRoom, Titanic::CTripDownCanal, Titanic::CFanDecrease, Titanic::CFanIncrease, Titanic::CFloorIndicator, Titanic::CNullPortHole, Titanic::CParrotLobbyController, Titanic::CParrotLoser, Titanic::CPETLift, Titanic::CPETTransition, Titanic::CPlaceHolder, Titanic::CReplacementEar, Titanic::CThirdClassCanal, Titanic::CTOWParrotNav, Titanic::CChevLeftOff, Titanic::CChevLeftOn, Titanic::CChevRightOff, Titanic::CChevRightOn, Titanic::CChevSendRecSwitch, Titanic::CElevatorButton, Titanic::CGetFromSucc, Titanic::CHelmetOnOff, Titanic::CHomePhoto, Titanic::CIconNavAction, Titanic::CIconNavDown, Titanic::CIconNavLeft, Titanic::CIconNavRight, Titanic::CIconNavUp, Titanic::CKeybrdButt, Titanic::CSendToSucc, Titanic::CSmallChevLeftOff, Titanic::CSmallChevLeftOn, Titanic::CSmallChevRightOff, Titanic::CSmallChevRightOn, Titanic::CEnterExitFirstClassState, Titanic::CPetModeOff, Titanic::CPetModeOn, Titanic::CPetModePanel, Titanic::CDomeFromTopOfWell, Titanic::CStaticImage, Titanic::CLeaveSecClassState, Titanic::CMusicalInstrument, Titanic::CNavigationComputer, Titanic::CPETClass1, Titanic::CPETClass2, Titanic::CPETClass3, Titanic::CSGTUpperDoorsSound, Titanic::CSplashAnimation, Titanic::CIconNavButt, Titanic::CIconNavImage, Titanic::CIconNavReceive, Titanic::CIconNavSend, Titanic::CMusicSlider, Titanic::CMusicSwitch, Titanic::CSGTSelector, Titanic::CTextDown, Titanic::CTextSkrew, Titanic::CTextUp, Titanic::CPetGraphic, Titanic::CPetGraphic2, Titanic::PETLeaf, Titanic::CPetPannel1, Titanic::CPetPannel2, Titanic::CPetPannel3, and Titanic::CBilgeAutoSoundEvent.
|
inlineoverridevirtual |
Returns the clip list, if any, associated with the item
Reimplemented from Titanic::CTreeItem.
|
overridevirtual |
Allows the item to draw itself
Reimplemented from Titanic::CTreeItem.
Reimplemented in Titanic::CPetControl, and Titanic::CStarControl.
|
overridevirtual |
Gets the bounds occupied by the item
Reimplemented from Titanic::CTreeItem.
Reimplemented in Titanic::CPetControl.
|
overridevirtual |
Free up any surface the object used
Reimplemented from Titanic::CTreeItem.
void Titanic::CGameObject::draw | ( | CScreenManager * | screenManager, |
const Rect & | destRect, | ||
const Rect & | srcRect | ||
) |
Allows the item to draw itself
void Titanic::CGameObject::draw | ( | CScreenManager * | screenManager, |
const Point & | destPos | ||
) |
Allows the item to draw itself
void Titanic::CGameObject::draw | ( | CScreenManager * | screenManager, |
const Point & | destPos, | ||
const Rect & | srcRect | ||
) |
Allows the item to draw itself
|
virtual |
Returns true if the item is the PET control
bool Titanic::CGameObject::checkPoint | ( | const Point & | pt, |
bool | ignoreSurface = false , |
||
bool | visibleOnly = false |
||
) |
Checks the passed point is validly in the object, with extra checking of object flags status
bool Titanic::CGameObject::findPoint | ( | Quadrant | quadrant, |
Point & | pt | ||
) |
Returns a point that falls within the object. Used for simulating mouse clicks for movement when arrow keys are pressed
quadrant | Quadrant (edge) to return point for |
pt | Return point |
void Titanic::CGameObject::setPosition | ( | const Point & | newPos | ) |
Set the position of the object
Point Titanic::CGameObject::getControid | ( | ) | const |
Get the centre of the game object's bounds
void Titanic::CGameObject::playMovie | ( | uint | flags | ) |
Change the object's status
void Titanic::CGameObject::playMovie | ( | int | startFrame, |
int | endFrame, | ||
uint | flags | ||
) |
Play the movie specified in _resource
void Titanic::CGameObject::playMovie | ( | int | startFrame, |
int | endFrame, | ||
int | initialFrame, | ||
uint | flags | ||
) |
Play the movie specified in _resource
bool Titanic::CGameObject::hasActiveMovie | ( | ) | const |
Returns true if the object has a currently active movie
void Titanic::CGameObject::stopMovie | ( | ) |
Stops any movie currently playing for the object
void Titanic::CGameObject::movieSetPlaying | ( | bool | flag | ) |
Overrides whether the object's movie is playing or paused
int Titanic::CGameObject::getMovieFrame | ( | ) | const |
Get the current movie frame
|
inline |
Returns the object's frame number
void Titanic::CGameObject::loadFrame | ( | int | frameNumber | ) |
Loads a frame
void Titanic::CGameObject::loadSurface | ( | ) |
Load the surface
void Titanic::CGameObject::makeDirty | ( | ) |
Marks the area occupied by the object as dirty, requiring re-rendering
void Titanic::CGameObject::makeDirty | ( | const Rect & | r | ) |
Marks the area in the passed rect as dirty, and requiring re-rendering
void Titanic::CGameObject::setVisible | ( | bool | val | ) |
Sets whether the object is visible
PassengerClass Titanic::CGameObject::getPassengerClass | ( | ) | const |
Return the player's passenger class
PassengerClass Titanic::CGameObject::getPriorClass | ( | ) | const |
Return the player's previous passenger class
void Titanic::CGameObject::setMailDest | ( | uint | roomFlags | ) |
Sets the mail identifier for an object
bool Titanic::CGameObject::surfaceHasFrame | ( | ) | const |
Returns true if there's an attached surface which has a frame ready for display
Found Titanic::CGameObject::find | ( | const CString & | name, |
CGameObject ** | item, | ||
int | findAreas | ||
) |
Finds an item in various system areas
CGameObject* Titanic::CGameObject::getHiddenObject | ( | const CString & | name | ) | const |
Returns a hidden object
void Titanic::CGameObject::dragMove | ( | const Point & | pt | ) |
Support function for drag moving
CGameObject* Titanic::CGameObject::getDraggingObject | ( | ) | const |
Returns the currently dragging item (if any) if it's a game object
|
static |
Compares two sets of room flags together
void Titanic::CGameObject::createCredits | ( | ) |
Sets up credits text
void Titanic::CGameObject::setText | ( | const CString & | str, |
int | border = 0 , |
||
int | borderRight = 0 |
||
) |
Set up the text and borders for the object
void Titanic::CGameObject::setTextHasBorders | ( | bool | hasBorders | ) |
Sets whether the text will use borders
void Titanic::CGameObject::setTextBounds | ( | ) |
Sets the bounds for a previously defined text area
void Titanic::CGameObject::setTextColor | ( | byte | r, |
byte | g, | ||
byte | b | ||
) |
Sets the color for the object's text
void Titanic::CGameObject::setTextFontNumber | ( | int | fontNumber | ) |
Sets the font number to use for text
int Titanic::CGameObject::getTextWidth | ( | ) | const |
Gets the width of the text contents
void Titanic::CGameObject::scrollTextUp | ( | ) |
Scroll text up
void Titanic::CGameObject::scrollTextDown | ( | ) |
Scroll text down
CTextCursor* Titanic::CGameObject::getTextCursor | ( | ) | const |
Returns the text cursor
Movement Titanic::CGameObject::getMovement | ( | ) | const |
Get the movement, if any, the cursor represents
CRoomItem* Titanic::CGameObject::getRoom | ( | ) | const |
Return the current room
CNodeItem* Titanic::CGameObject::getNode | ( | ) | const |
Return the current node
CViewItem* Titanic::CGameObject::getView | ( | ) | const |
Return the current room
CString Titanic::CGameObject::getRoomName | ( | ) | const |
Get the current room name
CString Titanic::CGameObject::getRoomNodeName | ( | ) | const |
Get the current node and room in the form "room.node"
void Titanic::CGameObject::addMail | ( | uint | destRoomFlags | ) |
Adds an object to the mail list
void Titanic::CGameObject::sendMail | ( | uint | currRoomFlags, |
uint | newRoomFlags | ||
) |
Sends a pending mail object to a given destination
CString Titanic::CGameObject::getFullViewName | ( | ) |
Return the full Id of the current view in a room.node.view tuplet form
CPetControl* Titanic::CGameObject::getPetControl | ( | ) | const |
Returns the PET control
void Titanic::CGameObject::petAddToCarryParcel | ( | CGameObject * | obj | ) |
Moves a specified item to the carry parcel
void Titanic::CGameObject::petAddToInventory | ( | ) |
Add the item to the inventory
bool Titanic::CGameObject::petDismissBot | ( | const CString & | name | ) |
Dismiss a bot
bool Titanic::CGameObject::petDoorOrBellbotPresent | ( | ) | const |
Is Doorbot or Bellbot present in the current view
void Titanic::CGameObject::petDisplayMessage | ( | int | unused, |
StringId | stringId | ||
) |
Display a message in the PET
void Titanic::CGameObject::petDisplayMessage | ( | int | unused, |
const CString & | str | ||
) |
Display a message in the PET
void Titanic::CGameObject::petDisplayMessage | ( | StringId | stringId, |
int | param = 0 |
||
) |
Display a message in the PET
void Titanic::CGameObject::petDisplayMessage | ( | const CString & | str, |
int | param = 0 |
||
) |
Display a message in the PET
int Titanic::CGameObject::petGetRoomsWellEntry | ( | ) | const |
Gets the entry number used when last arriving at the well
void Titanic::CGameObject::petHide | ( | ) |
Hide the PET
void Titanic::CGameObject::petHideCursor | ( | ) |
Hides the text cursor in the current section, if applicable
void Titanic::CGameObject::petHighlightGlyph | ( | int | id | ) |
Highlights a glyph in the currently active PET section
void Titanic::CGameObject::petInvChange | ( | ) |
Called when the status of an item in the inventory has changed
void Titanic::CGameObject::petMoveToHiddenRoom | ( | ) |
Moves the item from it's original position to be under the hidden room
void Titanic::CGameObject::petReassignRoom | ( | PassengerClass | passClassNum | ) |
Gives the player a new assigned room in the specified passenger class
void Titanic::CGameObject::petSetArea | ( | PetArea | newArea | ) | const |
Sets a new area in the PET
void Titanic::CGameObject::petSetRemoteTarget | ( | ) |
Set the remote target in the PET to this object
void Titanic::CGameObject::petSetRoomsWellEntry | ( | int | entryNum | ) |
Sets the entry number for arriving at the well
void Titanic::CGameObject::petSetRoomsElevatorBroken | ( | bool | flag | ) |
Sets the flag for whether elevator 4 has yet been fixed
void Titanic::CGameObject::petShow | ( | ) |
Show the PET
void Titanic::CGameObject::petIncAreaLocks | ( | ) |
Increment the number of PET area (tab) locks
void Titanic::CGameObject::petDecAreaLocks | ( | ) |
Decrement the number of PET area (tab) locks
void Titanic::CGameObject::petShowCursor | ( | ) |
Shows the text cursor in the current section, if applicable
void Titanic::CGameObject::petOnSummonBot | ( | const CString & | name, |
int | val | ||
) |
Summon a bot
CStarControl* Titanic::CGameObject::getStarControl | ( | ) | const |
Returns the star control
void Titanic::CGameObject::starFn | ( | StarControlAction | action | ) |
Executes an action in the StarControl subsystem
bool Titanic::CGameObject::starIsSolved | ( | ) | const |
Returns true if the starmap puzzle has been solved
void Titanic::CGameObject::startTalking | ( | CTrueTalkNPC * | npc, |
uint | id, | ||
CViewItem * | view = nullptr |
||
) |
Start a conversation with the NPC
void Titanic::CGameObject::startTalking | ( | const CString & | name, |
uint | id, | ||
CViewItem * | view = nullptr |
||
) |
Start a conversation with the NPC
void Titanic::CGameObject::setTalking | ( | CTrueTalkNPC * | npc, |
bool | viewFlag, | ||
CViewItem * | view = nullptr |
||
) |
Start a conversation with the NPC
void Titanic::CGameObject::talkSetDialRegion | ( | const CString & | name, |
int | dialNum, | ||
int | regionNum | ||
) |
Sets a dial region for a given NPC
int Titanic::CGameObject::talkGetDialRegion | ( | const CString & | name, |
int | dialNum | ||
) |
Gets a dial region for a given NPC
void Titanic::CGameObject::movieEvent | ( | int | frameNumber | ) |
Signal a movie event for the given frame
void Titanic::CGameObject::movieEvent | ( | ) |
Signal a movie event at the end of all currently playing ranges
void Titanic::CGameObject::stateSetSoundMakerAllowed | ( | bool | flag | ) |
Sets whether a background sound maker is allowed for the rooms if available
void Titanic::CGameObject::stateChangeSeason | ( | ) |
Change to the next season
Season Titanic::CGameObject::stateGetSeason | ( | ) | const |
Returns the currently active season
void Titanic::CGameObject::stateSetParrotMet | ( | ) |
Sets the flag for the parrot having been met
bool Titanic::CGameObject::stateGetParrotMet | ( | ) | const |
Returns whether the parrot has been met
void Titanic::CGameObject::incParrotResponse | ( | ) |
Moves the parrot to the next idle response
int Titanic::CGameObject::getParrotResponse | ( | ) | const |
Gets the index to use for parrot idle responses
uint Titanic::CGameObject::getNodeChangedCtr | ( | ) | const |
Gets the game state node changed counter
uint Titanic::CGameObject::getNodeEnterTicks | ( | ) | const |
Gets the game state node enter ticks