ScummVM
Illusions::IllusionsEngine_Duckman Class Reference

#include <illusions_duckman.h>

+ Inheritance diagram for Illusions::IllusionsEngine_Duckman:
+ Collaboration diagram for Illusions::IllusionsEngine_Duckman:

Public Member Functions

 IllusionsEngine_Duckman (OSystem *syst, const IllusionsGameDescription *gd)
 
void initInput ()
 
void initUpdateFunctions ()
 
int updateScript (uint flags)
 
void startScreenShaker (uint pointsCount, uint32 duration, const ScreenShakerPoint *points, uint32 threadId)
 
void stopScreenShaker ()
 
int updateScreenShaker (uint flags)
 
void startFader (int duration, int minValue, int maxValue, int firstIndex, int lastIndex, uint32 threadId)
 
void updateFader () override
 
void clearFader () override
 
void pauseFader () override
 
void unpauseFader () override
 
int updateVideoPlayer (uint flags)
 
void playVideo (uint32 videoId, uint32 callingThreadId)
 
bool isVideoPlaying () override
 
void setDefaultTextCoords () override
 
void loadSpecialCode (uint32 resId) override
 
void unloadSpecialCode (uint32 resId) override
 
void notifyThreadId (uint32 &threadId) override
 
bool testMainActorFastWalk (Control *control) override
 
bool testMainActorCollision (Control *control) override
 
ControlgetObjectControl (uint32 objectId) override
 
Common::Point getNamedPointPosition (uint32 namedPointId) override
 
uint32 getPriorityFromBase (int16 priority) override
 
uint32 getCurrentScene () override
 
uint32 getPrevScene () override
 
bool isCursorObject (uint32 actorTypeId, uint32 objectId) override
 
void setCursorControlRoutine (Control *control) override
 
void placeCursorControl (Control *control, uint32 sequenceId) override
 
void setCursorControl (Control *control) override
 
void showCursor () override
 
void hideCursor () override
 
void initCursor ()
 
void setCursorActorIndex (int actorIndex, int a, int b)
 
void enableCursorVerb (int verbNum)
 
void disableCursorVerb (int verbNum)
 
void setCursorHandMode (int mode)
 
void setCursorInventoryMode (int mode, int value)
 
void startCursorHoldingObject (uint32 objectId, uint32 sequenceId)
 
void stopCursorHoldingObject ()
 
void cursorControlRoutine (Control *control, uint32 deltaTime)
 
void startScriptThreadSimple (uint32 threadId, uint32 callingThreadId) override
 
void startScriptThread (uint32 threadId, uint32 callingThreadId)
 
void startScriptThread2 (uint32 threadId, uint32 callingThreadId, uint32 unk)
 
uint32 startAbortableTimerThread (uint32 duration, uint32 threadId)
 
uint32 startTimerThread (uint32 duration, uint32 threadId)
 
uint32 startAbortableThread (byte *scriptCodeIp1, byte *scriptCodeIp2, uint32 callingThreadId)
 
uint32 startTalkThread (uint32 objectId, uint32 talkId, uint32 sequenceId1, uint32 sequenceId2, uint32 callingThreadId)
 
uint32 startTempScriptThread (byte *scriptCodeIp, uint32 callingThreadId, uint32 value8, uint32 valueC, uint32 value10) override
 
void resumeFromSavegame (uint32 callingThreadId)
 
void newScriptThread (uint32 threadId, uint32 callingThreadId, uint notifyFlags, byte *scriptCodeIp)
 
uint32 newTimerThread (uint32 duration, uint32 callingThreadId, bool isAbortable)
 
uint32 newTempThreadId ()
 
void initActiveScenes ()
 
void pushActiveScene (uint32 sceneId)
 
void popActiveScene ()
 
bool loadScene (uint32 sceneId)
 
bool enterScene (uint32 sceneId, uint32 threadId)
 
void exitScene ()
 
bool changeScene (uint32 sceneId, uint32 threadId, uint32 callerThreadId)
 
void enterPause (uint32 sceneId, uint32 threadId)
 
void leavePause (uint32 sceneId, uint32 threadId)
 
void dumpActiveScenes (uint32 sceneId, uint32 threadId)
 
void dumpCurrSceneFiles (uint32 sceneId, uint32 threadId)
 
void pause (uint32 callerThreadId)
 
void unpause (uint32 callerThreadId)
 
void setSceneIdThreadId (uint32 theSceneId, uint32 theThreadId)
 
bool findTriggerCause (uint32 sceneId, uint32 verbId, uint32 objectId2, uint32 objectId, uint32 &codeOffs)
 
void reset ()
 
uint32 getObjectActorTypeId (uint32 objectId)
 
Common::Point convertMousePos (Common::Point mousePos)
 
void startCursorSequence ()
 
int getCursorActorIndex ()
 
void updateGameState2 ()
 
void playSoundEffect (int index)
 
bool getTriggerCause (uint32 verbId, uint32 objectId2, uint32 objectId, uint32 &outThreadId)
 
uint32 runTriggerCause (uint32 verbId, uint32 objectId2, uint32 objectId)
 
void playTriggerCauseSound (uint32 verbId, uint32 objectId2, uint32 objectId)
 
bool loadSavegameFromScript (int16 slotNum, uint32 callingThreadId)
 
bool saveSavegameFromScript (int16 slotNum, uint32 callingThreadId)
 
void activateSavegame (uint32 callingThreadId)
 
- Public Member Functions inherited from Illusions::IllusionsEngine
 IllusionsEngine (OSystem *syst, const IllusionsGameDescription *gd)
 
 ~IllusionsEngine () override
 
const Common::String getTargetName ()
 
void updateEvents ()
 
int getGameId () const
 
void runUpdateFunctions ()
 
int updateActors (uint flags)
 
int updateSequences (uint flags)
 
int updateGraphics (uint flags)
 
int updateSoundMan (uint flags)
 
int updateSprites (uint flags)
 
uint32 getElapsedUpdateTime ()
 
Common::PointgetObjectActorPositionPtr (uint32 objectId)
 
int getRandom (int max)
 
int convertPanXCoord (int16 x)
 
bool calcPointDirection (Common::Point &srcPt, Common::Point &dstPt, uint &facing)
 
bool isSoundActive ()
 
void setCurrFontId (uint32 fontId)
 
bool checkActiveTalkThreads ()
 
void setTextDuration (int kind, uint32 duration)
 
uint32 clipTextDuration (uint32 duration)
 
void getDefaultTextDimensions (WidthHeight &dimensions)
 
void setDefaultTextDimensions (WidthHeight &dimensions)
 
void getDefaultTextPosition (Common::Point &position)
 
void setDefaultTextPosition (Common::Point &position)
 
uint16 getSubtitleDuration ()
 
void setSubtitleDuration (uint16 duration)
 
FramesListfindActorSequenceFrames (Sequence *sequence)
 
bool canLoadGameStateCurrently () override
 Indicates whether a game state can be loaded. More...
 
bool canSaveGameStateCurrently () override
 Indicates whether a game state can be saved. More...
 
Common::Error loadGameState (int slot) override
 Load a game state. More...
 
Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override
 Save a game state. More...
 
Common::Error removeGameState (int slot)
 
bool savegame (const char *filename, const char *description)
 
bool loadgame (const char *filename)
 
const char * getSavegameFilename (int num)
 
bool existsSavegame (int num)
 
- Public Member Functions inherited from Engine
 Engine (OSystem *syst)
 
virtual ~Engine ()
 
virtual void initializePath (const Common::FSNode &gamePath)
 Init SearchMan according to the game path. More...
 
virtual void errorString (const char *buf_input, char *buf_output, int buf_output_size)
 Prepare an error string, which is printed by the error() function. More...
 
virtual GUI::DebuggergetDebugger ()
 Return the engine's debugger instance, if any. More...
 
void setDebugger (GUI::Debugger *debugger)
 Sets the engine's debugger. More...
 
GUI::DebuggergetOrCreateDebugger ()
 Return the engine's debugger instance, or create one if none is present. More...
 
virtual void syncSoundSettings ()
 Notify the engine that the sound settings in the config manager may have changed and that it hence should adjust any internal volume etc. More...
 
virtual void flipMute ()
 Flip mute all sound option. More...
 
virtual Common::String getSaveStateName (int slot) const
 Generates the savegame filename. More...
 
virtual Common::Error loadGameStream (Common::SeekableReadStream *stream)
 Load a game state. More...
 
void setGameToLoadSlot (int slot)
 Sets the game slot for a savegame to be loaded after global main menu execution. More...
 
virtual Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 Save a game state. More...
 
bool saveGameDialog ()
 Shows the ScummVM save dialog, allowing users to save their game. More...
 
bool loadGameDialog ()
 Shows the ScummVM Restore dialog, allowing users to load a game. More...
 
void pauseEngine (bool pause)
 Pause or resume the engine. More...
 
bool isPaused () const
 Return whether the engine is currently paused or not. More...
 
void openMainMenuDialog ()
 Run the Global Main Menu Dialog. More...
 
uint32 getTotalPlayTime () const
 Get the total play time. More...
 
void setTotalPlayTime (uint32 time=0)
 Set the game time counter to the specified time. More...
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
void checkCD ()
 On some systems, check if the game appears to be run from CD. More...
 
void handleAutoSave ()
 Checks for whether it's time to do an autosave, and if so, does it. More...
 
void saveAutosaveIfEnabled ()
 Does an autosave immediately if autosaves are turned on. More...
 
virtual bool canSaveAutosaveCurrently ()
 Indicates whether an autosave can currently be saved. More...
 
virtual int getAutosaveSlot () const
 Returns the slot that should be used for autosaves. More...
 
bool shouldPerformAutoSave (int lastSaveTime)
 

Public Attributes

uint32 _prevSceneId
 
uint32 _theSceneId
 
uint32 _theThreadId
 
uint32 _globalSceneId
 
uint _activeScenesCount
 
uint32 _activeScenes [6]
 
Cursor_Duckman _cursor
 
Control_currWalkOverlappedControl
 
DuckmanDialogSystem_dialogSys
 
int _savedInventoryActorIndex
 
ScreenShaker_screenShaker
 
DuckmanMenuSystem_menuSystem
 
DuckmanVideoPlayer_videoPlayer
 
- Public Attributes inherited from Illusions::IllusionsEngine
Common::RandomSource_random
 
Dictionary_dict
 
ResourceSystem_resSys
 
BaseResourceReader_resReader
 
UpdateFunctions_updateFunctions
 
GameState_gameState
 
Screen_screen
 
ScreenPaletteBase_screenPalette
 
ScreenText_screenText
 
Input_input
 
ActorInstanceList_actorInstances
 
BackgroundInstanceList_backgroundInstances
 
Camera_camera
 
Controls_controls
 
TalkInstanceList_talkItems
 
ScriptOpcodes_scriptOpcodes
 
SpecialCode_specialCode
 
ThreadList_threads
 
SoundMan_soundMan
 
uint32 _nextTempThreadId
 
bool _doScriptThreadInit
 
ScriptStack_stack
 
ScriptResource_scriptResource
 
bool _rerunThreads
 
Fader_fader
 
int _pauseCtr
 
int _resGetCtr
 
uint32 _resGetTime
 
bool _unpauseControlActorFlag
 
uint32 _lastUpdateTime
 
int _resumeFromSavegameRequested
 
int _savegameSlotNum
 
Common::String _savegameDescription
 
uint32 _savegameSceneId
 
uint32 _savegameThreadId
 
uint32 _fontId
 
int _field8
 
uint32 _fieldA
 
uint32 _subtitleDuration
 
WidthHeight _defaultTextDimensions
 
Common::Point _defaultTextPosition
 
int16 _menuChoiceOfs
 
bool _isSaveAllowed
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 

Protected Member Functions

Common::Error run () override
 Init the engine and start its main loop. More...
 
bool hasFeature (EngineFeature f) const override
 Determine whether the engine supports the specified feature. More...
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
virtual void pauseEngineIntern (bool pause)
 Actual implementation of pauseEngine by subclasses. More...
 

Additional Inherited Members

- Public Types inherited from Illusions::IllusionsEngine
enum  kReadSaveHeaderError { kRSHENoError = 0, kRSHEInvalidType = 1, kRSHEInvalidVersion = 2, kRSHEIoError = 3 }
 
- Public Types inherited from Engine
enum  EngineFeature { kSupportsSubtitleOptions, kSupportsRTL, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime }
 A feature in this context means an ability of the engine which can be either available or not. More...
 
- Static Public Member Functions inherited from Illusions::IllusionsEngine
static Common::String getSavegameFilename (const Common::String &target, int num)
 
static kReadSaveHeaderError readSaveHeader (Common::SeekableReadStream *in, SaveHeader &header, bool skipThumbnail=true)
 
- Static Public Member Functions inherited from Engine
static void quitGame ()
 Request the engine to quit. More...
 
static bool shouldQuit ()
 Return whether the ENGINE should quit respectively should return to the launcher. More...
 
static MetaEnginegetMetaEngine ()
 
static bool warnUserAboutUnsupportedGame ()
 Display a warning to the user that the game is not fully supported. More...
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 

Detailed Description

Definition at line 79 of file illusions_duckman.h.

Constructor & Destructor Documentation

◆ IllusionsEngine_Duckman()

Illusions::IllusionsEngine_Duckman::IllusionsEngine_Duckman ( OSystem syst,
const IllusionsGameDescription gd 
)

Definition at line 79 of file illusions_duckman.cpp.

Member Function Documentation

◆ activateSavegame()

void Illusions::IllusionsEngine_Duckman::activateSavegame ( uint32  callingThreadId)

Definition at line 1289 of file illusions_duckman.cpp.

◆ changeScene()

bool Illusions::IllusionsEngine_Duckman::changeScene ( uint32  sceneId,
uint32  threadId,
uint32  callerThreadId 
)

Definition at line 932 of file illusions_duckman.cpp.

◆ clearFader()

void Illusions::IllusionsEngine_Duckman::clearFader ( )
overridevirtual

Reimplemented from Illusions::IllusionsEngine.

Definition at line 393 of file illusions_duckman.cpp.

◆ convertMousePos()

Common::Point Illusions::IllusionsEngine_Duckman::convertMousePos ( Common::Point  mousePos)

Definition at line 1014 of file illusions_duckman.cpp.

◆ cursorControlRoutine()

void Illusions::IllusionsEngine_Duckman::cursorControlRoutine ( Control control,
uint32  deltaTime 
)

Definition at line 780 of file illusions_duckman.cpp.

◆ disableCursorVerb()

void Illusions::IllusionsEngine_Duckman::disableCursorVerb ( int  verbNum)

Definition at line 691 of file illusions_duckman.cpp.

◆ dumpActiveScenes()

void Illusions::IllusionsEngine_Duckman::dumpActiveScenes ( uint32  sceneId,
uint32  threadId 
)

Definition at line 961 of file illusions_duckman.cpp.

◆ dumpCurrSceneFiles()

void Illusions::IllusionsEngine_Duckman::dumpCurrSceneFiles ( uint32  sceneId,
uint32  threadId 
)

Definition at line 965 of file illusions_duckman.cpp.

◆ enableCursorVerb()

void Illusions::IllusionsEngine_Duckman::enableCursorVerb ( int  verbNum)

Definition at line 686 of file illusions_duckman.cpp.

◆ enterPause()

void Illusions::IllusionsEngine_Duckman::enterPause ( uint32  sceneId,
uint32  threadId 
)

Definition at line 947 of file illusions_duckman.cpp.

◆ enterScene()

bool Illusions::IllusionsEngine_Duckman::enterScene ( uint32  sceneId,
uint32  threadId 
)

Definition at line 918 of file illusions_duckman.cpp.

◆ exitScene()

void Illusions::IllusionsEngine_Duckman::exitScene ( )

Definition at line 928 of file illusions_duckman.cpp.

◆ findTriggerCause()

bool Illusions::IllusionsEngine_Duckman::findTriggerCause ( uint32  sceneId,
uint32  verbId,
uint32  objectId2,
uint32  objectId,
uint32 codeOffs 
)

Definition at line 996 of file illusions_duckman.cpp.

◆ getCurrentScene()

uint32 Illusions::IllusionsEngine_Duckman::getCurrentScene ( )
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 571 of file illusions_duckman.cpp.

◆ getCursorActorIndex()

int Illusions::IllusionsEngine_Duckman::getCursorActorIndex ( )

Definition at line 1027 of file illusions_duckman.cpp.

◆ getNamedPointPosition()

Common::Point Illusions::IllusionsEngine_Duckman::getNamedPointPosition ( uint32  namedPointId)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 507 of file illusions_duckman.cpp.

◆ getObjectActorTypeId()

uint32 Illusions::IllusionsEngine_Duckman::getObjectActorTypeId ( uint32  objectId)

Definition at line 1010 of file illusions_duckman.cpp.

◆ getObjectControl()

Control * Illusions::IllusionsEngine_Duckman::getObjectControl ( uint32  objectId)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 487 of file illusions_duckman.cpp.

◆ getPrevScene()

uint32 Illusions::IllusionsEngine_Duckman::getPrevScene ( )
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 575 of file illusions_duckman.cpp.

◆ getPriorityFromBase()

uint32 Illusions::IllusionsEngine_Duckman::getPriorityFromBase ( int16  priority)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 567 of file illusions_duckman.cpp.

◆ getTriggerCause()

bool Illusions::IllusionsEngine_Duckman::getTriggerCause ( uint32  verbId,
uint32  objectId2,
uint32  objectId,
uint32 outThreadId 
)

Definition at line 1202 of file illusions_duckman.cpp.

◆ hasFeature()

bool Illusions::IllusionsEngine_Duckman::hasFeature ( EngineFeature  f) const
overrideprotectedvirtual

Determine whether the engine supports the specified feature.

Reimplemented from Engine.

Definition at line 242 of file illusions_duckman.cpp.

◆ hideCursor()

void Illusions::IllusionsEngine_Duckman::hideCursor ( )
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 632 of file illusions_duckman.cpp.

◆ initActiveScenes()

void Illusions::IllusionsEngine_Duckman::initActiveScenes ( )

Definition at line 885 of file illusions_duckman.cpp.

◆ initCursor()

void Illusions::IllusionsEngine_Duckman::initCursor ( )

Definition at line 636 of file illusions_duckman.cpp.

◆ initInput()

void Illusions::IllusionsEngine_Duckman::initInput ( )

Definition at line 249 of file illusions_duckman.cpp.

◆ initUpdateFunctions()

void Illusions::IllusionsEngine_Duckman::initUpdateFunctions ( )

Definition at line 277 of file illusions_duckman.cpp.

◆ isCursorObject()

bool Illusions::IllusionsEngine_Duckman::isCursorObject ( uint32  actorTypeId,
uint32  objectId 
)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 582 of file illusions_duckman.cpp.

◆ isVideoPlaying()

bool Illusions::IllusionsEngine_Duckman::isVideoPlaying ( )
overridevirtual

Reimplemented from Illusions::IllusionsEngine.

Definition at line 425 of file illusions_duckman.cpp.

◆ leavePause()

void Illusions::IllusionsEngine_Duckman::leavePause ( uint32  sceneId,
uint32  threadId 
)

Definition at line 954 of file illusions_duckman.cpp.

◆ loadSavegameFromScript()

bool Illusions::IllusionsEngine_Duckman::loadSavegameFromScript ( int16  slotNum,
uint32  callingThreadId 
)

Definition at line 1271 of file illusions_duckman.cpp.

◆ loadScene()

bool Illusions::IllusionsEngine_Duckman::loadScene ( uint32  sceneId)

Definition at line 904 of file illusions_duckman.cpp.

◆ loadSpecialCode()

void Illusions::IllusionsEngine_Duckman::loadSpecialCode ( uint32  resId)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 438 of file illusions_duckman.cpp.

◆ newScriptThread()

void Illusions::IllusionsEngine_Duckman::newScriptThread ( uint32  threadId,
uint32  callingThreadId,
uint  notifyFlags,
byte scriptCodeIp 
)

Definition at line 860 of file illusions_duckman.cpp.

◆ newTempThreadId()

uint32 Illusions::IllusionsEngine_Duckman::newTempThreadId ( )

Definition at line 875 of file illusions_duckman.cpp.

◆ newTimerThread()

uint32 Illusions::IllusionsEngine_Duckman::newTimerThread ( uint32  duration,
uint32  callingThreadId,
bool  isAbortable 
)

Definition at line 867 of file illusions_duckman.cpp.

◆ notifyThreadId()

void Illusions::IllusionsEngine_Duckman::notifyThreadId ( uint32 threadId)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 447 of file illusions_duckman.cpp.

◆ pause()

void Illusions::IllusionsEngine_Duckman::pause ( uint32  callerThreadId)

Definition at line 973 of file illusions_duckman.cpp.

◆ pauseFader()

void Illusions::IllusionsEngine_Duckman::pauseFader ( )
overridevirtual

Reimplemented from Illusions::IllusionsEngine.

Definition at line 405 of file illusions_duckman.cpp.

◆ placeCursorControl()

void Illusions::IllusionsEngine_Duckman::placeCursorControl ( Control control,
uint32  sequenceId 
)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 591 of file illusions_duckman.cpp.

◆ playSoundEffect()

void Illusions::IllusionsEngine_Duckman::playSoundEffect ( int  index)

Definition at line 1135 of file illusions_duckman.cpp.

◆ playTriggerCauseSound()

void Illusions::IllusionsEngine_Duckman::playTriggerCauseSound ( uint32  verbId,
uint32  objectId2,
uint32  objectId 
)

Definition at line 1234 of file illusions_duckman.cpp.

◆ playVideo()

void Illusions::IllusionsEngine_Duckman::playVideo ( uint32  videoId,
uint32  callingThreadId 
)

Definition at line 421 of file illusions_duckman.cpp.

◆ popActiveScene()

void Illusions::IllusionsEngine_Duckman::popActiveScene ( )

Definition at line 898 of file illusions_duckman.cpp.

◆ pushActiveScene()

void Illusions::IllusionsEngine_Duckman::pushActiveScene ( uint32  sceneId)

Definition at line 891 of file illusions_duckman.cpp.

◆ reset()

void Illusions::IllusionsEngine_Duckman::reset ( )

Definition at line 1003 of file illusions_duckman.cpp.

◆ resumeFromSavegame()

void Illusions::IllusionsEngine_Duckman::resumeFromSavegame ( uint32  callingThreadId)

Definition at line 852 of file illusions_duckman.cpp.

◆ run()

Common::Error Illusions::IllusionsEngine_Duckman::run ( )
overrideprotectedvirtual

Init the engine and start its main loop.

Returns
returns kNoError on success, else an error code.

Implements Engine.

Definition at line 83 of file illusions_duckman.cpp.

◆ runTriggerCause()

uint32 Illusions::IllusionsEngine_Duckman::runTriggerCause ( uint32  verbId,
uint32  objectId2,
uint32  objectId 
)

Definition at line 1216 of file illusions_duckman.cpp.

◆ saveSavegameFromScript()

bool Illusions::IllusionsEngine_Duckman::saveSavegameFromScript ( int16  slotNum,
uint32  callingThreadId 
)

Definition at line 1284 of file illusions_duckman.cpp.

◆ setCursorActorIndex()

void Illusions::IllusionsEngine_Duckman::setCursorActorIndex ( int  actorIndex,
int  a,
int  b 
)

Definition at line 667 of file illusions_duckman.cpp.

◆ setCursorControl()

void Illusions::IllusionsEngine_Duckman::setCursorControl ( Control control)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 624 of file illusions_duckman.cpp.

◆ setCursorControlRoutine()

void Illusions::IllusionsEngine_Duckman::setCursorControlRoutine ( Control control)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 586 of file illusions_duckman.cpp.

◆ setCursorHandMode()

void Illusions::IllusionsEngine_Duckman::setCursorHandMode ( int  mode)

Definition at line 701 of file illusions_duckman.cpp.

◆ setCursorInventoryMode()

void Illusions::IllusionsEngine_Duckman::setCursorInventoryMode ( int  mode,
int  value 
)

Definition at line 722 of file illusions_duckman.cpp.

◆ setDefaultTextCoords()

void Illusions::IllusionsEngine_Duckman::setDefaultTextCoords ( )
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 429 of file illusions_duckman.cpp.

◆ setSceneIdThreadId()

void Illusions::IllusionsEngine_Duckman::setSceneIdThreadId ( uint32  theSceneId,
uint32  theThreadId 
)

Definition at line 991 of file illusions_duckman.cpp.

◆ showCursor()

void Illusions::IllusionsEngine_Duckman::showCursor ( )
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 628 of file illusions_duckman.cpp.

◆ startAbortableThread()

uint32 Illusions::IllusionsEngine_Duckman::startAbortableThread ( byte scriptCodeIp1,
byte scriptCodeIp2,
uint32  callingThreadId 
)

Definition at line 824 of file illusions_duckman.cpp.

◆ startAbortableTimerThread()

uint32 Illusions::IllusionsEngine_Duckman::startAbortableTimerThread ( uint32  duration,
uint32  threadId 
)

Definition at line 816 of file illusions_duckman.cpp.

◆ startCursorHoldingObject()

void Illusions::IllusionsEngine_Duckman::startCursorHoldingObject ( uint32  objectId,
uint32  sequenceId 
)

Definition at line 755 of file illusions_duckman.cpp.

◆ startCursorSequence()

void Illusions::IllusionsEngine_Duckman::startCursorSequence ( )

Definition at line 1018 of file illusions_duckman.cpp.

◆ startFader()

void Illusions::IllusionsEngine_Duckman::startFader ( int  duration,
int  minValue,
int  maxValue,
int  firstIndex,
int  lastIndex,
uint32  threadId 
)

Definition at line 358 of file illusions_duckman.cpp.

◆ startScreenShaker()

void Illusions::IllusionsEngine_Duckman::startScreenShaker ( uint  pointsCount,
uint32  duration,
const ScreenShakerPoint points,
uint32  threadId 
)

Definition at line 303 of file illusions_duckman.cpp.

◆ startScriptThread()

void Illusions::IllusionsEngine_Duckman::startScriptThread ( uint32  threadId,
uint32  callingThreadId 
)

Definition at line 803 of file illusions_duckman.cpp.

◆ startScriptThread2()

void Illusions::IllusionsEngine_Duckman::startScriptThread2 ( uint32  threadId,
uint32  callingThreadId,
uint32  unk 
)

Definition at line 809 of file illusions_duckman.cpp.

◆ startScriptThreadSimple()

void Illusions::IllusionsEngine_Duckman::startScriptThreadSimple ( uint32  threadId,
uint32  callingThreadId 
)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 799 of file illusions_duckman.cpp.

◆ startTalkThread()

uint32 Illusions::IllusionsEngine_Duckman::startTalkThread ( uint32  objectId,
uint32  talkId,
uint32  sequenceId1,
uint32  sequenceId2,
uint32  callingThreadId 
)

Definition at line 834 of file illusions_duckman.cpp.

◆ startTempScriptThread()

uint32 Illusions::IllusionsEngine_Duckman::startTempScriptThread ( byte scriptCodeIp,
uint32  callingThreadId,
uint32  value8,
uint32  valueC,
uint32  value10 
)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 844 of file illusions_duckman.cpp.

◆ startTimerThread()

uint32 Illusions::IllusionsEngine_Duckman::startTimerThread ( uint32  duration,
uint32  threadId 
)

Definition at line 820 of file illusions_duckman.cpp.

◆ stopCursorHoldingObject()

void Illusions::IllusionsEngine_Duckman::stopCursorHoldingObject ( )

Definition at line 766 of file illusions_duckman.cpp.

◆ stopScreenShaker()

void Illusions::IllusionsEngine_Duckman::stopScreenShaker ( )

Definition at line 316 of file illusions_duckman.cpp.

◆ testMainActorCollision()

bool Illusions::IllusionsEngine_Duckman::testMainActorCollision ( Control control)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 461 of file illusions_duckman.cpp.

◆ testMainActorFastWalk()

bool Illusions::IllusionsEngine_Duckman::testMainActorFastWalk ( Control control)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 455 of file illusions_duckman.cpp.

◆ unloadSpecialCode()

void Illusions::IllusionsEngine_Duckman::unloadSpecialCode ( uint32  resId)
overridevirtual

Implements Illusions::IllusionsEngine.

Definition at line 443 of file illusions_duckman.cpp.

◆ unpause()

void Illusions::IllusionsEngine_Duckman::unpause ( uint32  callerThreadId)

Definition at line 982 of file illusions_duckman.cpp.

◆ unpauseFader()

void Illusions::IllusionsEngine_Duckman::unpauseFader ( )
overridevirtual

Reimplemented from Illusions::IllusionsEngine.

Definition at line 410 of file illusions_duckman.cpp.

◆ updateFader()

void Illusions::IllusionsEngine_Duckman::updateFader ( )
overridevirtual

Reimplemented from Illusions::IllusionsEngine.

Definition at line 370 of file illusions_duckman.cpp.

◆ updateGameState2()

void Illusions::IllusionsEngine_Duckman::updateGameState2 ( )

Definition at line 1037 of file illusions_duckman.cpp.

◆ updateScreenShaker()

int Illusions::IllusionsEngine_Duckman::updateScreenShaker ( uint  flags)

Definition at line 321 of file illusions_duckman.cpp.

◆ updateScript()

int Illusions::IllusionsEngine_Duckman::updateScript ( uint  flags)

Definition at line 289 of file illusions_duckman.cpp.

◆ updateVideoPlayer()

int Illusions::IllusionsEngine_Duckman::updateVideoPlayer ( uint  flags)

Definition at line 415 of file illusions_duckman.cpp.

Member Data Documentation

◆ _activeScenes

uint32 Illusions::IllusionsEngine_Duckman::_activeScenes[6]

Definition at line 93 of file illusions_duckman.h.

◆ _activeScenesCount

uint Illusions::IllusionsEngine_Duckman::_activeScenesCount

Definition at line 92 of file illusions_duckman.h.

◆ _currWalkOverlappedControl

Control* Illusions::IllusionsEngine_Duckman::_currWalkOverlappedControl

Definition at line 96 of file illusions_duckman.h.

◆ _cursor

Cursor_Duckman Illusions::IllusionsEngine_Duckman::_cursor

Definition at line 95 of file illusions_duckman.h.

◆ _dialogSys

DuckmanDialogSystem* Illusions::IllusionsEngine_Duckman::_dialogSys

Definition at line 98 of file illusions_duckman.h.

◆ _globalSceneId

uint32 Illusions::IllusionsEngine_Duckman::_globalSceneId

Definition at line 90 of file illusions_duckman.h.

◆ _menuSystem

DuckmanMenuSystem* Illusions::IllusionsEngine_Duckman::_menuSystem

Definition at line 103 of file illusions_duckman.h.

◆ _prevSceneId

uint32 Illusions::IllusionsEngine_Duckman::_prevSceneId

Definition at line 87 of file illusions_duckman.h.

◆ _savedInventoryActorIndex

int Illusions::IllusionsEngine_Duckman::_savedInventoryActorIndex

Definition at line 100 of file illusions_duckman.h.

◆ _screenShaker

ScreenShaker* Illusions::IllusionsEngine_Duckman::_screenShaker

Definition at line 102 of file illusions_duckman.h.

◆ _theSceneId

uint32 Illusions::IllusionsEngine_Duckman::_theSceneId

Definition at line 88 of file illusions_duckman.h.

◆ _theThreadId

uint32 Illusions::IllusionsEngine_Duckman::_theThreadId

Definition at line 89 of file illusions_duckman.h.

◆ _videoPlayer

DuckmanVideoPlayer* Illusions::IllusionsEngine_Duckman::_videoPlayer

Definition at line 104 of file illusions_duckman.h.


The documentation for this class was generated from the following files: