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 ()
 
void clearFader ()
 
void pauseFader ()
 
void unpauseFader ()
 
int updateVideoPlayer (uint flags)
 
void playVideo (uint32 videoId, uint32 callingThreadId)
 
bool isVideoPlaying ()
 
void setDefaultTextCoords ()
 
void loadSpecialCode (uint32 resId)
 
void unloadSpecialCode (uint32 resId)
 
void notifyThreadId (uint32 &threadId)
 
bool testMainActorFastWalk (Control *control)
 
bool testMainActorCollision (Control *control)
 
ControlgetObjectControl (uint32 objectId)
 
Common::Point getNamedPointPosition (uint32 namedPointId)
 
uint32 getPriorityFromBase (int16 priority)
 
uint32 getCurrentScene ()
 
uint32 getPrevScene ()
 
bool isCursorObject (uint32 actorTypeId, uint32 objectId)
 
void setCursorControlRoutine (Control *control)
 
void placeCursorControl (Control *control, uint32 sequenceId)
 
void setCursorControl (Control *control)
 
void showCursor ()
 
void hideCursor ()
 
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)
 
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)
 
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 ()
 
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 ()
 Indicates whether a game state can be loaded. More...
 
bool canSaveGameStateCurrently ()
 Indicates whether a game state can be saved. More...
 
Common::Error loadGameState (int slot)
 Load a game state. More...
 
Common::Error saveGameState (int slot, const Common::String &description)
 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
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...
 
 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...
 
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 initKeymap ()
 
virtual void deinitKeymap ()
 
virtual void flipMute ()
 Flip mute all sound option. More...
 
void setGameToLoadSlot (int slot)
 Sets the game slot for a savegame to be loaded after global main menu execution. More...
 

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

virtual Common::Error run ()
 Init the engine and start its main loop. More...
 
virtual bool hasFeature (EngineFeature f) const
 Determine whether the engine supports the specified feature. More...
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
bool shouldPerformAutoSave (int lastSaveTime)
 Indicate whether an autosave should be performed. More...
 
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,
  kSupportsJoystick
}
 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 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 1283 of file illusions_duckman.cpp.

◆ changeScene()

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

Definition at line 930 of file illusions_duckman.cpp.

◆ clearFader()

void Illusions::IllusionsEngine_Duckman::clearFader ( )
virtual

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 1012 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 959 of file illusions_duckman.cpp.

◆ dumpCurrSceneFiles()

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

Definition at line 963 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 945 of file illusions_duckman.cpp.

◆ enterScene()

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

Definition at line 916 of file illusions_duckman.cpp.

◆ exitScene()

void Illusions::IllusionsEngine_Duckman::exitScene ( )

Definition at line 926 of file illusions_duckman.cpp.

◆ findTriggerCause()

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

Definition at line 994 of file illusions_duckman.cpp.

◆ getCurrentScene()

uint32 Illusions::IllusionsEngine_Duckman::getCurrentScene ( )
virtual

Implements Illusions::IllusionsEngine.

Definition at line 571 of file illusions_duckman.cpp.

◆ getCursorActorIndex()

int Illusions::IllusionsEngine_Duckman::getCursorActorIndex ( )

Definition at line 1025 of file illusions_duckman.cpp.

◆ getNamedPointPosition()

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

Implements Illusions::IllusionsEngine.

Definition at line 507 of file illusions_duckman.cpp.

◆ getObjectActorTypeId()

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

Definition at line 1008 of file illusions_duckman.cpp.

◆ getObjectControl()

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

Implements Illusions::IllusionsEngine.

Definition at line 487 of file illusions_duckman.cpp.

◆ getPrevScene()

uint32 Illusions::IllusionsEngine_Duckman::getPrevScene ( )
virtual

Implements Illusions::IllusionsEngine.

Definition at line 575 of file illusions_duckman.cpp.

◆ getPriorityFromBase()

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

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 1196 of file illusions_duckman.cpp.

◆ hasFeature()

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

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 ( )
virtual

Implements Illusions::IllusionsEngine.

Definition at line 632 of file illusions_duckman.cpp.

◆ initActiveScenes()

void Illusions::IllusionsEngine_Duckman::initActiveScenes ( )

Definition at line 883 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 
)
virtual

Implements Illusions::IllusionsEngine.

Definition at line 582 of file illusions_duckman.cpp.

◆ isVideoPlaying()

bool Illusions::IllusionsEngine_Duckman::isVideoPlaying ( )
virtual

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 952 of file illusions_duckman.cpp.

◆ loadSavegameFromScript()

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

Definition at line 1265 of file illusions_duckman.cpp.

◆ loadScene()

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

Definition at line 902 of file illusions_duckman.cpp.

◆ loadSpecialCode()

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

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 858 of file illusions_duckman.cpp.

◆ newTempThreadId()

uint32 Illusions::IllusionsEngine_Duckman::newTempThreadId ( )

Definition at line 873 of file illusions_duckman.cpp.

◆ newTimerThread()

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

Definition at line 865 of file illusions_duckman.cpp.

◆ notifyThreadId()

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

Implements Illusions::IllusionsEngine.

Definition at line 447 of file illusions_duckman.cpp.

◆ pause()

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

Definition at line 971 of file illusions_duckman.cpp.

◆ pauseFader()

void Illusions::IllusionsEngine_Duckman::pauseFader ( )
virtual

Reimplemented from Illusions::IllusionsEngine.

Definition at line 405 of file illusions_duckman.cpp.

◆ placeCursorControl()

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

Implements Illusions::IllusionsEngine.

Definition at line 591 of file illusions_duckman.cpp.

◆ playSoundEffect()

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

Definition at line 1133 of file illusions_duckman.cpp.

◆ playTriggerCauseSound()

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

Definition at line 1228 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 896 of file illusions_duckman.cpp.

◆ pushActiveScene()

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

Definition at line 889 of file illusions_duckman.cpp.

◆ reset()

void Illusions::IllusionsEngine_Duckman::reset ( )

Definition at line 1001 of file illusions_duckman.cpp.

◆ resumeFromSavegame()

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

Definition at line 850 of file illusions_duckman.cpp.

◆ run()

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

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 1210 of file illusions_duckman.cpp.

◆ saveSavegameFromScript()

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

Definition at line 1278 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)
virtual

Implements Illusions::IllusionsEngine.

Definition at line 624 of file illusions_duckman.cpp.

◆ setCursorControlRoutine()

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

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 ( )
virtual

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 989 of file illusions_duckman.cpp.

◆ showCursor()

void Illusions::IllusionsEngine_Duckman::showCursor ( )
virtual

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 822 of file illusions_duckman.cpp.

◆ startAbortableTimerThread()

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

Definition at line 814 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 1016 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 801 of file illusions_duckman.cpp.

◆ startScriptThread2()

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

Definition at line 807 of file illusions_duckman.cpp.

◆ startScriptThreadSimple()

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

Implements Illusions::IllusionsEngine.

Definition at line 797 of file illusions_duckman.cpp.

◆ startTalkThread()

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

Definition at line 832 of file illusions_duckman.cpp.

◆ startTempScriptThread()

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

Implements Illusions::IllusionsEngine.

Definition at line 842 of file illusions_duckman.cpp.

◆ startTimerThread()

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

Definition at line 818 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)
virtual

Implements Illusions::IllusionsEngine.

Definition at line 461 of file illusions_duckman.cpp.

◆ testMainActorFastWalk()

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

Implements Illusions::IllusionsEngine.

Definition at line 455 of file illusions_duckman.cpp.

◆ unloadSpecialCode()

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

Implements Illusions::IllusionsEngine.

Definition at line 443 of file illusions_duckman.cpp.

◆ unpause()

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

Definition at line 980 of file illusions_duckman.cpp.

◆ unpauseFader()

void Illusions::IllusionsEngine_Duckman::unpauseFader ( )
virtual

Reimplemented from Illusions::IllusionsEngine.

Definition at line 410 of file illusions_duckman.cpp.

◆ updateFader()

void Illusions::IllusionsEngine_Duckman::updateFader ( )
virtual

Reimplemented from Illusions::IllusionsEngine.

Definition at line 370 of file illusions_duckman.cpp.

◆ updateGameState2()

void Illusions::IllusionsEngine_Duckman::updateGameState2 ( )

Definition at line 1035 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: