ScummVM
Touche::ToucheEngine Class Reference

#include <touche.h>

Inheritance diagram for Touche::ToucheEngine:
Collaboration diagram for Touche::ToucheEngine:

Public Types

enum  {
  NUM_FLAGS = 2000, NUM_KEYCHARS = 32, NUM_SPRITES = 7, NUM_SEQUENCES = 7,
  NUM_CONVERSATION_CHOICES = 40, NUM_TALK_ENTRIES = 16, NUM_ANIMATION_ENTRIES = 4, NUM_INVENTORY_ITEMS = 100,
  NUM_DIRTY_RECTS = 30, NUM_DIRECTIONS = 135
}
 
typedef void(ToucheEngine::* OpcodeProc) ()
 
- 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...
 

Public Member Functions

 ToucheEngine (OSystem *system, Common::Language language)
 
virtual ~ToucheEngine ()
 
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...
 
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...
 
GUI::DebuggergetDebugger ()
 Return the engine's debugger instance, if any. More...
 
void startMusic (int num)
 
void stopMusic ()
 
- 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 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...
 

Protected Member Functions

void restart ()
 
void readConfigurationSettings ()
 
void writeConfigurationSettings ()
 
void mainLoop ()
 
void processEvents (bool handleKeyEvents=true)
 
void runCycle ()
 
int16 getRandomNumber (int max)
 
void changePaletteRange ()
 
void playSoundInRange ()
 
void resetSortedKeyCharsTable ()
 
void setupEpisode (int num)
 
void setupNewEpisode ()
 
void drawKeyChar (KeyChar *key)
 
void sortKeyChars ()
 
void runKeyCharScript (KeyChar *key)
 
void runCurrentKeyCharScript (int mode)
 
void executeScriptOpcode (int16 param)
 
void initKeyChars (int keyChar)
 
void setKeyCharTextColor (int keyChar, uint16 color)
 
void waitForKeyCharPosition (int keyChar)
 
void setKeyCharBox (int keyChar, int value)
 
void setKeyCharFrame (int keyChar, int16 type, int16 value1, int16 value2)
 
void setKeyCharFacingDirection (int keyChar, int16 dir)
 
void initKeyCharScript (int keyChar, int16 spriteNum, int16 seqDataIndex, int16 seqDataOffs)
 
uint16 findProgramKeyCharScriptOffset (int keyChar) const
 
bool scrollRoom (int keyChar)
 
void drawIcon (int x, int y, int num)
 
void centerScreenToKeyChar (int keyChar)
 
void waitForKeyCharsSet ()
 
void redrawRoom ()
 
void fadePalette (int firstColor, int colorCount, int scale, int scaleInc, int fadingStepsCount)
 
void fadePaletteFromFlags ()
 
void moveKeyChar (uint8 *dst, int dstPitch, KeyChar *key)
 
void changeKeyCharFrame (KeyChar *key, int keyChar)
 
void setKeyCharRandomFrame (KeyChar *key)
 
void setKeyCharMoney ()
 
const char * getString (int num) const
 
int getStringWidth (int num) const
 
void drawString (uint16 color, int x, int y, int16 num, StringType strType=kStringTypeDefault)
 
void drawGameString (uint16 color, int x1, int y, const char *str)
 
int restartKeyCharScriptOnAction (int action, int obj1, int obj2)
 
void buildSpriteScalingTable (int z1, int z2)
 
void drawSpriteOnBackdrop (int num, int x, int y)
 
void updateTalkFrames (int keyChar)
 
void setKeyCharTalkingFrame (int keyChar)
 
void lockUnlockHitBox (int num, int lock)
 
void drawHitBoxes ()
 
void showCursor (bool show)
 
void setCursor (int num)
 
void setDefaultCursor (int num)
 
void handleLeftMouseButtonClickOnInventory ()
 
void handleRightMouseButtonClickOnInventory ()
 
void handleMouseInput (int flag)
 
void handleMouseClickOnRoom (int flag)
 
void handleMouseClickOnInventory (int flag)
 
void scrollScreenToPos (int num)
 
void clearRoomArea ()
 
void startNewMusic ()
 
void startNewSound ()
 
void updateSpeech ()
 
int handleActionMenuUnderCursor (const int16 *actions, int offs, int y, int str)
 
void redrawBackground ()
 
void addRoomArea (int num, int flag)
 
void updateRoomAreas (int num, int flags)
 
void setRoomAreaState (int num, uint16 state)
 
void findAndRedrawRoomRegion (int num)
 
void updateRoomRegions ()
 
void redrawRoomRegion (int num, bool markForRedraw)
 
void initInventoryObjectsTable ()
 
void initInventoryLists ()
 
void setupInventoryAreas ()
 
void drawInventory (int index, int flag)
 
void drawAmountOfMoneyInInventory ()
 
void packInventoryItems (int index)
 
void appendItemToInventoryList (int index)
 
void addItemToInventory (int inventory, int16 item)
 
void removeItemFromInventory (int inventory, int16 item)
 
void resetTalkingVars ()
 
int updateKeyCharTalk (int pauseFlag)
 
const char * formatTalkText (int *y, int *h, const char *text)
 
void addToTalkTable (int talkingKeyChar, int num, int otherKeyChar)
 
void removeFromTalkTable (int keyChar)
 
void addConversationChoice (int16 num)
 
void removeConversationChoice (int16 num)
 
void runConversationScript (uint16 offset)
 
void findConversationByNum (int16 num)
 
void clearConversationChoices ()
 
void scrollDownConversationChoice ()
 
void scrollUpConversationChoice ()
 
void drawCharacterConversation ()
 
void drawConversationString (int num, uint16 color)
 
void clearConversationArea ()
 
void setupConversationScript (int num)
 
void handleConversation ()
 
void buildWalkPointsList (int keyChar)
 
int findWalkDataNum (int pointNum1, int pointNum2)
 
void changeWalkPath (int num1, int num2, int16 val)
 
void adjustKeyCharPosToWalkBox (KeyChar *key, int moveType)
 
void lockWalkPath (int num1, int num2)
 
void unlockWalkPath (int num1, int num2)
 
void resetPointsData (int num)
 
bool sortPointsData (int num1, int num2)
 
void updateKeyCharWalkPath (KeyChar *key, int16 dx, int16 dy, int16 dz)
 
void markWalkPoints (int keyChar)
 
void buildWalkPath (int dstPosX, int dstPosY, int keyChar)
 
void addToAnimationTable (int num, int posNum, int keyChar, int delayCounter)
 
void copyAnimationImage (int dstX, int dstY, int w, int h, const uint8 *src, int srcX, int srcY, int fillColor)
 
void drawAnimationImage (AnimationEntry *anim)
 
void processAnimationTable ()
 
void clearAnimationTable ()
 
void addToDirtyRect (const Common::Rect &r)
 
void clearDirtyRects ()
 
void setPalette (int firstColor, int colorCount, int redScale, int greenScale, int blueScale)
 
void updateScreenArea (int x, int y, int w, int h)
 
void updateEntireScreen ()
 
void updateDirtyScreenAreas ()
 
void updatePalette ()
 
void saveGameStateData (Common::WriteStream *stream)
 
void loadGameStateData (Common::ReadStream *stream)
 
virtual Common::Error saveGameState (int num, const Common::String &description)
 Save a game state. More...
 
virtual Common::Error loadGameState (int num)
 Load a game state. More...
 
virtual bool canLoadGameStateCurrently ()
 Indicates whether a game state can be loaded. More...
 
virtual bool canSaveGameStateCurrently ()
 Indicates whether a game state can be saved. More...
 
void setupOpcodes ()
 
void op_nop ()
 
void op_jnz ()
 
void op_jz ()
 
void op_jmp ()
 
void op_true ()
 
void op_false ()
 
void op_push ()
 
void op_not ()
 
void op_add ()
 
void op_sub ()
 
void op_mul ()
 
void op_div ()
 
void op_mod ()
 
void op_and ()
 
void op_or ()
 
void op_neg ()
 
void op_testGreater ()
 
void op_testEquals ()
 
void op_testLower ()
 
void op_fetchScriptWord ()
 
void op_testGreaterOrEquals ()
 
void op_testLowerOrEquals ()
 
void op_testNotEquals ()
 
void op_endConversation ()
 
void op_stopScript ()
 
void op_getFlag ()
 
void op_setFlag ()
 
void op_fetchScriptByte ()
 
void op_getKeyCharWalkBox ()
 
void op_startSound ()
 
void op_moveKeyCharToPos ()
 
void op_loadRoom ()
 
void op_updateRoom ()
 
void op_startTalk ()
 
void op_loadSprite ()
 
void op_loadSequence ()
 
void op_setKeyCharBox ()
 
void op_initKeyCharScript ()
 
void op_setKeyCharFrame ()
 
void op_setKeyCharDirection ()
 
void op_clearConversationChoices ()
 
void op_addConversationChoice ()
 
void op_removeConversationChoice ()
 
void op_getInventoryItem ()
 
void op_setInventoryItem ()
 
void op_startEpisode ()
 
void op_setConversationNum ()
 
void op_enableInput ()
 
void op_disableInput ()
 
void op_faceKeyChar ()
 
void op_getKeyCharCurrentAnim ()
 
void op_getCurrentKeyChar ()
 
void op_isKeyCharActive ()
 
void op_setPalette ()
 
void op_changeWalkPath ()
 
void op_lockWalkPath ()
 
void op_initializeKeyChar ()
 
void op_setupWaitingKeyChars ()
 
void op_updateRoomAreas ()
 
void op_unlockWalkPath ()
 
void op_addItemToInventoryAndRedraw ()
 
void op_giveItemTo ()
 
void op_setHitBoxText ()
 
void op_fadePalette ()
 
void op_getInventoryItemFlags ()
 
void op_drawInventory ()
 
void op_stopKeyCharScript ()
 
void op_restartKeyCharScript ()
 
void op_getKeyCharCurrentWalkBox ()
 
void op_getKeyCharPointsDataNum ()
 
void op_setupFollowingKeyChar ()
 
void op_startAnimation ()
 
void op_setKeyCharTextColor ()
 
void op_startMusic ()
 
void op_sleep ()
 
void op_setKeyCharDelay ()
 
void op_lockHitBox ()
 
void op_removeItemFromInventory ()
 
void op_unlockHitBox ()
 
void op_addRoomArea ()
 
void op_setKeyCharFlags ()
 
void op_unsetKeyCharFlags ()
 
void op_loadSpeechSegment ()
 
void op_drawSpriteOnBackdrop ()
 
void op_startPaletteFadeIn ()
 
void op_startPaletteFadeOut ()
 
void op_setRoomAreaState ()
 
void res_openDataFile ()
 
void res_closeDataFile ()
 
void res_allocateTables ()
 
void res_deallocateTables ()
 
uint32 res_getDataOffset (ResourceType type, int num, uint32 *size=NULL)
 
void res_loadSpriteImage (int num, uint8 *dst)
 
void res_loadProgram (int num)
 
void res_decodeProgramData ()
 
void res_loadRoom (int num)
 
void res_loadSprite (int num, int index)
 
void res_loadSequence (int num, int index)
 
void res_decodeScanLineImageRLE (uint8 *dst, int lineWidth)
 
void res_loadBackdrop ()
 
void res_loadImage (int num, uint8 *dst)
 
void res_loadImageHelper (uint8 *imgData, int imgWidth, int imgHeight)
 
void res_loadSound (int flag, int num)
 
void res_stopSound ()
 
void res_loadMusic (int num)
 
void res_loadSpeech (int num)
 
void res_loadSpeechSegment (int num)
 
void res_stopSpeech ()
 
void drawButton (Button *button)
 
void redrawMenu (MenuData *menu)
 
void handleMenuAction (MenuData *menu, int actionId)
 
void handleOptions (int forceDisplay)
 
void drawActionsPanel (int dstX, int dstY, int deltaX, int deltaY)
 
void drawConversationPanelBorder (int dstY, int srcX, int srcY)
 
void drawConversationPanel ()
 
void printStatusString (const char *str)
 
void clearStatusString ()
 
int displayQuitDialog ()
 
void displayTextMode (int str)
 
Common::Point getMousePos () const
 
void initMusic ()
 
int getMusicVolume ()
 
void setMusicVolume (int volume)
 
void adjustMusicVolume (int diff)
 
- 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...
 

Protected Attributes

ToucheConsole_console
 
MidiPlayer_midiPlayer
 
int _musicVolume
 
Audio::SoundHandle _musicHandle
 
Common::Language _language
 
Common::RandomSource _rnd
 
bool _inp_leftMouseButtonPressed
 
bool _inp_rightMouseButtonPressed
 
int _disabledInputCounter
 
bool _hideInventoryTexts
 
GameState _gameState
 
bool _displayQuitDialog
 
int _saveLoadCurrentPage
 
int _saveLoadCurrentSlot
 
int _newMusicNum
 
int _currentMusicNum
 
int _newSoundNum
 
int _newSoundDelay
 
int _newSoundPriority
 
int _playSoundCounter
 
bool _speechPlaying
 
Audio::SoundHandle _sfxHandle
 
Audio::SoundHandle _speechHandle
 
int16 _inventoryList1 [101]
 
int16 _inventoryList2 [101]
 
int16 _inventoryList3 [7]
 
InventoryState _inventoryStateTable [3]
 
int16 _inventoryItemsInfoTable [NUM_INVENTORY_ITEMS]
 
int16_inventoryVar1
 
int16_inventoryVar2
 
int _currentCursorObject
 
Common::Rect _inventoryAreasTable [13]
 
int _talkTextMode
 
int _talkListEnd
 
int _talkListCurrent
 
bool _talkTextRectDefined
 
bool _talkTextDisplayed
 
bool _talkTextInitialized
 
bool _skipTalkText
 
int _talkTextSpeed
 
int _keyCharTalkCounter
 
int _talkTableLastTalkingKeyChar
 
int _talkTableLastOtherKeyChar
 
int _talkTableLastStringNum
 
int _objectDescriptionNum
 
TalkEntry _talkTable [NUM_TALK_ENTRIES]
 
bool _conversationChoicesUpdated
 
int _conversationReplyNum
 
bool _conversationEnded
 
int _conversationNum
 
int _scrollConversationChoiceOffset
 
int _currentConversation
 
bool _disableConversationScript
 
bool _conversationAreaCleared
 
ConversationChoice _conversationChoicesTable [NUM_CONVERSATION_CHOICES]
 
int16 _flagsTable [NUM_FLAGS]
 
KeyChar _keyCharsTable [NUM_KEYCHARS]
 
KeyChar_sortedKeyCharsTable [NUM_KEYCHARS]
 
int _currentKeyCharNum
 
int _newEpisodeNum
 
int _currentEpisodeNum
 
int _currentAmountOfMoney
 
int _giveItemToKeyCharNum
 
int _giveItemToObjectNum
 
int _giveItemToCounter
 
int _currentRoomNum
 
int _waitingSetKeyCharNum1
 
int _waitingSetKeyCharNum2
 
int _waitingSetKeyCharNum3
 
uint8 _updatedRoomAreasTable [200]
 
Common::Rect _moveKeyCharRect
 
Common::Point _screenOffset
 
int _currentObjectNum
 
int _processRandomPaletteCounter
 
int16 _spriteScalingIndex [1000]
 
int16 _spriteScalingTable [1000]
 
bool _fastWalkMode
 
bool _fastMode
 
AnimationEntry _animationTable [NUM_ANIMATION_ENTRIES]
 
Script _script
 
const OpcodeProc_opcodesTable
 
int _numOpcodes
 
Common::File _fData
 
Common::File _fSpeech [2]
 
int _compressedSpeechData
 
uint8_textData
 
uint8_backdropBuffer
 
uint8_menuKitData
 
uint8_convKitData
 
uint8_sequenceDataTable [NUM_SEQUENCES]
 
uint8_programData
 
uint32 _programDataSize
 
uint8_mouseData
 
uint8_iconData
 
SpriteData _spritesTable [NUM_SPRITES]
 
SequenceEntry _sequenceEntryTable [NUM_SEQUENCES]
 
int _currentBitmapWidth
 
int _currentBitmapHeight
 
int _currentImageWidth
 
int _currentImageHeight
 
int _roomWidth
 
uint8_programTextDataPtr
 
Common::Array< Common::Rect_programRectsTable
 
Common::Array< ProgramPointData_programPointsTable
 
Common::Array< ProgramWalkData_programWalkTable
 
Common::Array< ProgramAreaData_programAreaTable
 
Common::Array< ProgramBackgroundData_programBackgroundTable
 
Common::Array< ProgramHitBoxData_programHitBoxTable
 
Common::Array< ProgramActionScriptOffsetData_programActionScriptOffsetTable
 
Common::Array< ProgramKeyCharScriptOffsetData_programKeyCharScriptOffsetTable
 
Common::Array< ProgramConversationData_programConversationTable
 
Common::Rect _cursorObjectRect
 
Common::Rect _talkTextRect
 
Common::Rect _talkTextRect2
 
Common::Rect _screenRect
 
Common::Rect _roomAreaRect
 
bool _roomNeedRedraw
 
int _fullRedrawCounter
 
int _menuRedrawCounter
 
uint8_offscreenBuffer
 
uint8 _paletteBuffer [256 *3]
 
Common::Rect _dirtyRectsTable [NUM_DIRTY_RECTS]
 
int _dirtyRectsTableCount
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 

Static Protected Attributes

static const uint8 _directionsTable [NUM_DIRECTIONS]
 

Additional Inherited Members

- 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...
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 

Detailed Description

Definition at line 453 of file touche.h.

Member Typedef Documentation

◆ OpcodeProc

typedef void(ToucheEngine::* Touche::ToucheEngine::OpcodeProc) ()

Definition at line 469 of file touche.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NUM_FLAGS 
NUM_KEYCHARS 
NUM_SPRITES 
NUM_SEQUENCES 
NUM_CONVERSATION_CHOICES 
NUM_TALK_ENTRIES 
NUM_ANIMATION_ENTRIES 
NUM_INVENTORY_ITEMS 
NUM_DIRTY_RECTS 
NUM_DIRECTIONS 

Definition at line 456 of file touche.h.

Constructor & Destructor Documentation

◆ ToucheEngine()

Touche::ToucheEngine::ToucheEngine ( OSystem system,
Common::Language  language 
)

Definition at line 49 of file touche.cpp.

◆ ~ToucheEngine()

Touche::ToucheEngine::~ToucheEngine ( )
virtual

Definition at line 193 of file touche.cpp.

Member Function Documentation

◆ addConversationChoice()

void Touche::ToucheEngine::addConversationChoice ( int16  num)
protected

Definition at line 2469 of file touche.cpp.

◆ addItemToInventory()

void Touche::ToucheEngine::addItemToInventory ( int  inventory,
int16  item 
)
protected

Definition at line 2244 of file touche.cpp.

◆ addRoomArea()

void Touche::ToucheEngine::addRoomArea ( int  num,
int  flag 
)
protected

Definition at line 2021 of file touche.cpp.

◆ addToAnimationTable()

void Touche::ToucheEngine::addToAnimationTable ( int  num,
int  posNum,
int  keyChar,
int  delayCounter 
)
protected

Definition at line 3205 of file touche.cpp.

◆ addToDirtyRect()

void Touche::ToucheEngine::addToDirtyRect ( const Common::Rect r)
protected

Definition at line 3330 of file touche.cpp.

◆ addToTalkTable()

void Touche::ToucheEngine::addToTalkTable ( int  talkingKeyChar,
int  num,
int  otherKeyChar 
)
protected

Definition at line 2431 of file touche.cpp.

◆ adjustKeyCharPosToWalkBox()

void Touche::ToucheEngine::adjustKeyCharPosToWalkBox ( KeyChar key,
int  moveType 
)
protected

Definition at line 2748 of file touche.cpp.

◆ adjustMusicVolume()

void Touche::ToucheEngine::adjustMusicVolume ( int  diff)
protected

Definition at line 3494 of file touche.cpp.

◆ appendItemToInventoryList()

void Touche::ToucheEngine::appendItemToInventoryList ( int  index)
protected

Definition at line 2231 of file touche.cpp.

◆ buildSpriteScalingTable()

void Touche::ToucheEngine::buildSpriteScalingTable ( int  z1,
int  z2 
)
protected

Definition at line 1429 of file touche.cpp.

◆ buildWalkPath()

void Touche::ToucheEngine::buildWalkPath ( int  dstPosX,
int  dstPosY,
int  keyChar 
)
protected

Definition at line 3106 of file touche.cpp.

◆ buildWalkPointsList()

void Touche::ToucheEngine::buildWalkPointsList ( int  keyChar)
protected

Definition at line 2646 of file touche.cpp.

◆ canLoadGameStateCurrently()

bool Touche::ToucheEngine::canLoadGameStateCurrently ( )
protectedvirtual

Indicates whether a game state can be loaded.

Reimplemented from Engine.

Definition at line 3421 of file touche.cpp.

◆ canSaveGameStateCurrently()

bool Touche::ToucheEngine::canSaveGameStateCurrently ( )
protectedvirtual

Indicates whether a game state can be saved.

Reimplemented from Engine.

Definition at line 3425 of file touche.cpp.

◆ centerScreenToKeyChar()

void Touche::ToucheEngine::centerScreenToKeyChar ( int  keyChar)
protected

Definition at line 950 of file touche.cpp.

◆ changeKeyCharFrame()

void Touche::ToucheEngine::changeKeyCharFrame ( KeyChar key,
int  keyChar 
)
protected

Definition at line 1308 of file touche.cpp.

◆ changePaletteRange()

void Touche::ToucheEngine::changePaletteRange ( )
protected

Definition at line 547 of file touche.cpp.

◆ changeWalkPath()

void Touche::ToucheEngine::changeWalkPath ( int  num1,
int  num2,
int16  val 
)
protected

Definition at line 2740 of file touche.cpp.

◆ clearAnimationTable()

void Touche::ToucheEngine::clearAnimationTable ( )
protected

Definition at line 3326 of file touche.cpp.

◆ clearConversationArea()

void Touche::ToucheEngine::clearConversationArea ( )
protected

Definition at line 2568 of file touche.cpp.

◆ clearConversationChoices()

void Touche::ToucheEngine::clearConversationChoices ( )
protected

Definition at line 2518 of file touche.cpp.

◆ clearDirtyRects()

void Touche::ToucheEngine::clearDirtyRects ( )
protected

Definition at line 3364 of file touche.cpp.

◆ clearRoomArea()

void Touche::ToucheEngine::clearRoomArea ( )
protected

Definition at line 1876 of file touche.cpp.

◆ clearStatusString()

void Touche::ToucheEngine::clearStatusString ( )
protected

Definition at line 457 of file menu.cpp.

◆ copyAnimationImage()

void Touche::ToucheEngine::copyAnimationImage ( int  dstX,
int  dstY,
int  w,
int  h,
const uint8 src,
int  srcX,
int  srcY,
int  fillColor 
)
protected

Definition at line 3243 of file touche.cpp.

◆ displayQuitDialog()

int Touche::ToucheEngine::displayQuitDialog ( )
protected

Definition at line 464 of file menu.cpp.

◆ displayTextMode()

void Touche::ToucheEngine::displayTextMode ( int  str)
protected

Definition at line 525 of file menu.cpp.

◆ drawActionsPanel()

void Touche::ToucheEngine::drawActionsPanel ( int  dstX,
int  dstY,
int  deltaX,
int  deltaY 
)
protected

Definition at line 357 of file menu.cpp.

◆ drawAmountOfMoneyInInventory()

void Touche::ToucheEngine::drawAmountOfMoneyInInventory ( )
protected

Definition at line 2205 of file touche.cpp.

◆ drawAnimationImage()

void Touche::ToucheEngine::drawAnimationImage ( AnimationEntry anim)
protected

Definition at line 3262 of file touche.cpp.

◆ drawButton()

void Touche::ToucheEngine::drawButton ( Button button)
protected

Definition at line 53 of file menu.cpp.

◆ drawCharacterConversation()

void Touche::ToucheEngine::drawCharacterConversation ( )
protected

Definition at line 2542 of file touche.cpp.

◆ drawConversationPanel()

void Touche::ToucheEngine::drawConversationPanel ( )
protected

Definition at line 418 of file menu.cpp.

◆ drawConversationPanelBorder()

void Touche::ToucheEngine::drawConversationPanelBorder ( int  dstY,
int  srcX,
int  srcY 
)
protected

Definition at line 406 of file menu.cpp.

◆ drawConversationString()

void Touche::ToucheEngine::drawConversationString ( int  num,
uint16  color 
)
protected

Definition at line 2562 of file touche.cpp.

◆ drawGameString()

void Touche::ToucheEngine::drawGameString ( uint16  color,
int  x1,
int  y,
const char *  str 
)
protected

Definition at line 1392 of file touche.cpp.

◆ drawHitBoxes()

void Touche::ToucheEngine::drawHitBoxes ( )
protected

Definition at line 1508 of file touche.cpp.

◆ drawIcon()

void Touche::ToucheEngine::drawIcon ( int  x,
int  y,
int  num 
)
protected

Definition at line 942 of file touche.cpp.

◆ drawInventory()

void Touche::ToucheEngine::drawInventory ( int  index,
int  flag 
)
protected

Definition at line 2176 of file touche.cpp.

◆ drawKeyChar()

void Touche::ToucheEngine::drawKeyChar ( KeyChar key)
protected

Definition at line 622 of file touche.cpp.

◆ drawSpriteOnBackdrop()

void Touche::ToucheEngine::drawSpriteOnBackdrop ( int  num,
int  x,
int  y 
)
protected

Definition at line 1468 of file touche.cpp.

◆ drawString()

void Touche::ToucheEngine::drawString ( uint16  color,
int  x,
int  y,
int16  num,
StringType  strType = kStringTypeDefault 
)
protected

Definition at line 1384 of file touche.cpp.

◆ executeScriptOpcode()

void Touche::ToucheEngine::executeScriptOpcode ( int16  param)
protected

Definition at line 715 of file touche.cpp.

◆ fadePalette()

void Touche::ToucheEngine::fadePalette ( int  firstColor,
int  colorCount,
int  scale,
int  scaleInc,
int  fadingStepsCount 
)
protected

Definition at line 994 of file touche.cpp.

◆ fadePaletteFromFlags()

void Touche::ToucheEngine::fadePaletteFromFlags ( )
protected

Definition at line 1004 of file touche.cpp.

◆ findAndRedrawRoomRegion()

void Touche::ToucheEngine::findAndRedrawRoomRegion ( int  num)
protected

Definition at line 2074 of file touche.cpp.

◆ findConversationByNum()

void Touche::ToucheEngine::findConversationByNum ( int16  num)
protected

Definition at line 2506 of file touche.cpp.

◆ findProgramKeyCharScriptOffset()

uint16 Touche::ToucheEngine::findProgramKeyCharScriptOffset ( int  keyChar) const
protected

Definition at line 877 of file touche.cpp.

◆ findWalkDataNum()

int Touche::ToucheEngine::findWalkDataNum ( int  pointNum1,
int  pointNum2 
)
protected

Definition at line 2720 of file touche.cpp.

◆ formatTalkText()

const char * Touche::ToucheEngine::formatTalkText ( int y,
int h,
const char *  text 
)
protected

Definition at line 2391 of file touche.cpp.

◆ getDebugger()

GUI::Debugger* Touche::ToucheEngine::getDebugger ( )
inlinevirtual

Return the engine's debugger instance, if any.

Used by error() to invoke the debugger when a severe error is reported.

Reimplemented from Engine.

Definition at line 478 of file touche.h.

◆ getMousePos()

Common::Point Touche::ToucheEngine::getMousePos ( ) const
protected

Definition at line 348 of file touche.cpp.

◆ getMusicVolume()

int Touche::ToucheEngine::getMusicVolume ( )
protected

Definition at line 3477 of file touche.cpp.

◆ getRandomNumber()

int16 Touche::ToucheEngine::getRandomNumber ( int  max)
protected

Definition at line 542 of file touche.cpp.

◆ getString()

const char * Touche::ToucheEngine::getString ( int  num) const
protected

Definition at line 1363 of file touche.cpp.

◆ getStringWidth()

int Touche::ToucheEngine::getStringWidth ( int  num) const
protected

Definition at line 1371 of file touche.cpp.

◆ handleActionMenuUnderCursor()

int Touche::ToucheEngine::handleActionMenuUnderCursor ( const int16 actions,
int  offs,
int  y,
int  str 
)
protected

Definition at line 1909 of file touche.cpp.

◆ handleConversation()

void Touche::ToucheEngine::handleConversation ( )
protected

Definition at line 2587 of file touche.cpp.

◆ handleLeftMouseButtonClickOnInventory()

void Touche::ToucheEngine::handleLeftMouseButtonClickOnInventory ( )
protected

Definition at line 1541 of file touche.cpp.

◆ handleMenuAction()

void Touche::ToucheEngine::handleMenuAction ( MenuData menu,
int  actionId 
)
protected

Definition at line 192 of file menu.cpp.

◆ handleMouseClickOnInventory()

void Touche::ToucheEngine::handleMouseClickOnInventory ( int  flag)
protected

Definition at line 1817 of file touche.cpp.

◆ handleMouseClickOnRoom()

void Touche::ToucheEngine::handleMouseClickOnRoom ( int  flag)
protected

Definition at line 1661 of file touche.cpp.

◆ handleMouseInput()

void Touche::ToucheEngine::handleMouseInput ( int  flag)
protected

Definition at line 1650 of file touche.cpp.

◆ handleOptions()

void Touche::ToucheEngine::handleOptions ( int  forceDisplay)
protected

Definition at line 268 of file menu.cpp.

◆ handleRightMouseButtonClickOnInventory()

void Touche::ToucheEngine::handleRightMouseButtonClickOnInventory ( )
protected

Definition at line 1628 of file touche.cpp.

◆ hasFeature()

bool Touche::ToucheEngine::hasFeature ( EngineFeature  f) const
virtual

Determine whether the engine supports the specified feature.

Reimplemented from Engine.

Definition at line 165 of file detection.cpp.

◆ initInventoryLists()

void Touche::ToucheEngine::initInventoryLists ( )
protected

Definition at line 2137 of file touche.cpp.

◆ initInventoryObjectsTable()

void Touche::ToucheEngine::initInventoryObjectsTable ( )
protected

Definition at line 2131 of file touche.cpp.

◆ initKeyChars()

void Touche::ToucheEngine::initKeyChars ( int  keyChar)
protected

Definition at line 729 of file touche.cpp.

◆ initKeyCharScript()

void Touche::ToucheEngine::initKeyCharScript ( int  keyChar,
int16  spriteNum,
int16  seqDataIndex,
int16  seqDataOffs 
)
protected

Definition at line 866 of file touche.cpp.

◆ initMusic()

void Touche::ToucheEngine::initMusic ( )
protected

Definition at line 3429 of file touche.cpp.

◆ loadGameState()

Common::Error Touche::ToucheEngine::loadGameState ( int  slot)
protectedvirtual

Load a game state.

Parameters
slotthe slot from which a savestate should be loaded
Returns
returns kNoError on success, else an error code.

Reimplemented from Engine.

Definition at line 345 of file saveload.cpp.

◆ loadGameStateData()

void Touche::ToucheEngine::loadGameStateData ( Common::ReadStream stream)
protected

Definition at line 257 of file saveload.cpp.

◆ lockUnlockHitBox()

void Touche::ToucheEngine::lockUnlockHitBox ( int  num,
int  lock 
)
protected

Definition at line 1496 of file touche.cpp.

◆ lockWalkPath()

void Touche::ToucheEngine::lockWalkPath ( int  num1,
int  num2 
)
protected

Definition at line 2796 of file touche.cpp.

◆ mainLoop()

void Touche::ToucheEngine::mainLoop ( )
protected

Definition at line 358 of file touche.cpp.

◆ markWalkPoints()

void Touche::ToucheEngine::markWalkPoints ( int  keyChar)
protected

Definition at line 3077 of file touche.cpp.

◆ moveKeyChar()

void Touche::ToucheEngine::moveKeyChar ( uint8 dst,
int  dstPitch,
KeyChar key 
)
protected

Definition at line 1053 of file touche.cpp.

◆ op_add()

void Touche::ToucheEngine::op_add ( )
protected

Definition at line 259 of file opcodes.cpp.

◆ op_addConversationChoice()

void Touche::ToucheEngine::op_addConversationChoice ( )
protected

Definition at line 595 of file opcodes.cpp.

◆ op_addItemToInventoryAndRedraw()

void Touche::ToucheEngine::op_addItemToInventoryAndRedraw ( )
protected

Definition at line 777 of file opcodes.cpp.

◆ op_addRoomArea()

void Touche::ToucheEngine::op_addRoomArea ( )
protected

Definition at line 992 of file opcodes.cpp.

◆ op_and()

void Touche::ToucheEngine::op_and ( )
protected

Definition at line 297 of file opcodes.cpp.

◆ op_changeWalkPath()

void Touche::ToucheEngine::op_changeWalkPath ( )
protected

Definition at line 716 of file opcodes.cpp.

◆ op_clearConversationChoices()

void Touche::ToucheEngine::op_clearConversationChoices ( )
protected

Definition at line 590 of file opcodes.cpp.

◆ op_disableInput()

void Touche::ToucheEngine::op_disableInput ( )
protected

Definition at line 665 of file opcodes.cpp.

◆ op_div()

void Touche::ToucheEngine::op_div ( )
protected

Definition at line 277 of file opcodes.cpp.

◆ op_drawInventory()

void Touche::ToucheEngine::op_drawInventory ( )
protected

Definition at line 869 of file opcodes.cpp.

◆ op_drawSpriteOnBackdrop()

void Touche::ToucheEngine::op_drawSpriteOnBackdrop ( )
protected

Definition at line 1021 of file opcodes.cpp.

◆ op_enableInput()

void Touche::ToucheEngine::op_enableInput ( )
protected

Definition at line 660 of file opcodes.cpp.

◆ op_endConversation()

void Touche::ToucheEngine::op_endConversation ( )
protected

Definition at line 381 of file opcodes.cpp.

◆ op_faceKeyChar()

void Touche::ToucheEngine::op_faceKeyChar ( )
protected

Definition at line 672 of file opcodes.cpp.

◆ op_fadePalette()

void Touche::ToucheEngine::op_fadePalette ( )
protected

Definition at line 841 of file opcodes.cpp.

◆ op_false()

void Touche::ToucheEngine::op_false ( )
protected

Definition at line 239 of file opcodes.cpp.

◆ op_fetchScriptByte()

void Touche::ToucheEngine::op_fetchScriptByte ( )
protected

Definition at line 430 of file opcodes.cpp.

◆ op_fetchScriptWord()

void Touche::ToucheEngine::op_fetchScriptWord ( )
protected

Definition at line 345 of file opcodes.cpp.

◆ op_getCurrentKeyChar()

void Touche::ToucheEngine::op_getCurrentKeyChar ( )
protected

Definition at line 693 of file opcodes.cpp.

◆ op_getFlag()

void Touche::ToucheEngine::op_getFlag ( )
protected

Definition at line 393 of file opcodes.cpp.

◆ op_getInventoryItem()

void Touche::ToucheEngine::op_getInventoryItem ( )
protected

Definition at line 607 of file opcodes.cpp.

◆ op_getInventoryItemFlags()

void Touche::ToucheEngine::op_getInventoryItemFlags ( )
protected

Definition at line 857 of file opcodes.cpp.

◆ op_getKeyCharCurrentAnim()

void Touche::ToucheEngine::op_getKeyCharCurrentAnim ( )
protected

Definition at line 686 of file opcodes.cpp.

◆ op_getKeyCharCurrentWalkBox()

void Touche::ToucheEngine::op_getKeyCharCurrentWalkBox ( )
protected

Definition at line 898 of file opcodes.cpp.

◆ op_getKeyCharPointsDataNum()

void Touche::ToucheEngine::op_getKeyCharPointsDataNum ( )
protected

Definition at line 908 of file opcodes.cpp.

◆ op_getKeyCharWalkBox()

void Touche::ToucheEngine::op_getKeyCharWalkBox ( )
protected

Definition at line 436 of file opcodes.cpp.

◆ op_giveItemTo()

void Touche::ToucheEngine::op_giveItemTo ( )
protected

Definition at line 817 of file opcodes.cpp.

◆ op_initializeKeyChar()

void Touche::ToucheEngine::op_initializeKeyChar ( )
protected

Definition at line 731 of file opcodes.cpp.

◆ op_initKeyCharScript()

void Touche::ToucheEngine::op_initKeyCharScript ( )
protected

Definition at line 544 of file opcodes.cpp.

◆ op_isKeyCharActive()

void Touche::ToucheEngine::op_isKeyCharActive ( )
protected

Definition at line 698 of file opcodes.cpp.

◆ op_jmp()

void Touche::ToucheEngine::op_jmp ( )
protected

Definition at line 229 of file opcodes.cpp.

◆ op_jnz()

void Touche::ToucheEngine::op_jnz ( )
protected

Definition at line 211 of file opcodes.cpp.

◆ op_jz()

void Touche::ToucheEngine::op_jz ( )
protected

Definition at line 220 of file opcodes.cpp.

◆ op_loadRoom()

void Touche::ToucheEngine::op_loadRoom ( )
protected

Definition at line 476 of file opcodes.cpp.

◆ op_loadSequence()

void Touche::ToucheEngine::op_loadSequence ( )
protected

Definition at line 527 of file opcodes.cpp.

◆ op_loadSpeechSegment()

void Touche::ToucheEngine::op_loadSpeechSegment ( )
protected

Definition at line 1015 of file opcodes.cpp.

◆ op_loadSprite()

void Touche::ToucheEngine::op_loadSprite ( )
protected

Definition at line 520 of file opcodes.cpp.

◆ op_lockHitBox()

void Touche::ToucheEngine::op_lockHitBox ( )
protected

Definition at line 967 of file opcodes.cpp.

◆ op_lockWalkPath()

void Touche::ToucheEngine::op_lockWalkPath ( )
protected

Definition at line 724 of file opcodes.cpp.

◆ op_mod()

void Touche::ToucheEngine::op_mod ( )
protected

Definition at line 287 of file opcodes.cpp.

◆ op_moveKeyCharToPos()

void Touche::ToucheEngine::op_moveKeyCharToPos ( )
protected

Definition at line 452 of file opcodes.cpp.

◆ op_mul()

void Touche::ToucheEngine::op_mul ( )
protected

Definition at line 271 of file opcodes.cpp.

◆ op_neg()

void Touche::ToucheEngine::op_neg ( )
protected

Definition at line 309 of file opcodes.cpp.

◆ op_nop()

void Touche::ToucheEngine::op_nop ( )
protected

Definition at line 207 of file opcodes.cpp.

◆ op_not()

void Touche::ToucheEngine::op_not ( )
protected

Definition at line 250 of file opcodes.cpp.

◆ op_or()

void Touche::ToucheEngine::op_or ( )
protected

Definition at line 303 of file opcodes.cpp.

◆ op_push()

void Touche::ToucheEngine::op_push ( )
protected

Definition at line 244 of file opcodes.cpp.

◆ op_removeConversationChoice()

void Touche::ToucheEngine::op_removeConversationChoice ( )
protected

Definition at line 601 of file opcodes.cpp.

◆ op_removeItemFromInventory()

void Touche::ToucheEngine::op_removeItemFromInventory ( )
protected

Definition at line 973 of file opcodes.cpp.

◆ op_restartKeyCharScript()

void Touche::ToucheEngine::op_restartKeyCharScript ( )
protected

Definition at line 885 of file opcodes.cpp.

◆ op_setConversationNum()

void Touche::ToucheEngine::op_setConversationNum ( )
protected

Definition at line 655 of file opcodes.cpp.

◆ op_setFlag()

void Touche::ToucheEngine::op_setFlag ( )
protected

Definition at line 399 of file opcodes.cpp.

◆ op_setHitBoxText()

void Touche::ToucheEngine::op_setHitBoxText ( )
protected

Definition at line 825 of file opcodes.cpp.

◆ op_setInventoryItem()

void Touche::ToucheEngine::op_setInventoryItem ( )
protected

Definition at line 624 of file opcodes.cpp.

◆ op_setKeyCharBox()

void Touche::ToucheEngine::op_setKeyCharBox ( )
protected

Definition at line 534 of file opcodes.cpp.

◆ op_setKeyCharDelay()

void Touche::ToucheEngine::op_setKeyCharDelay ( )
protected

Definition at line 960 of file opcodes.cpp.

◆ op_setKeyCharDirection()

void Touche::ToucheEngine::op_setKeyCharDirection ( )
protected

Definition at line 580 of file opcodes.cpp.

◆ op_setKeyCharFlags()

void Touche::ToucheEngine::op_setKeyCharFlags ( )
protected

Definition at line 999 of file opcodes.cpp.

◆ op_setKeyCharFrame()

void Touche::ToucheEngine::op_setKeyCharFrame ( )
protected

Definition at line 568 of file opcodes.cpp.

◆ op_setKeyCharTextColor()

void Touche::ToucheEngine::op_setKeyCharTextColor ( )
protected

Definition at line 936 of file opcodes.cpp.

◆ op_setPalette()

void Touche::ToucheEngine::op_setPalette ( )
protected

Definition at line 708 of file opcodes.cpp.

◆ op_setRoomAreaState()

void Touche::ToucheEngine::op_setRoomAreaState ( )
protected

Definition at line 1051 of file opcodes.cpp.

◆ op_setupFollowingKeyChar()

void Touche::ToucheEngine::op_setupFollowingKeyChar ( )
protected

Definition at line 918 of file opcodes.cpp.

◆ op_setupWaitingKeyChars()

void Touche::ToucheEngine::op_setupWaitingKeyChars ( )
protected

Definition at line 740 of file opcodes.cpp.

◆ op_sleep()

void Touche::ToucheEngine::op_sleep ( )
protected

Definition at line 948 of file opcodes.cpp.

◆ op_startAnimation()

void Touche::ToucheEngine::op_startAnimation ( )
protected

Definition at line 928 of file opcodes.cpp.

◆ op_startEpisode()

void Touche::ToucheEngine::op_startEpisode ( )
protected

Definition at line 647 of file opcodes.cpp.

◆ op_startMusic()

void Touche::ToucheEngine::op_startMusic ( )
protected

Definition at line 943 of file opcodes.cpp.

◆ op_startPaletteFadeIn()

void Touche::ToucheEngine::op_startPaletteFadeIn ( )
protected

Definition at line 1029 of file opcodes.cpp.

◆ op_startPaletteFadeOut()

void Touche::ToucheEngine::op_startPaletteFadeOut ( )
protected

Definition at line 1040 of file opcodes.cpp.

◆ op_startSound()

void Touche::ToucheEngine::op_startSound ( )
protected

Definition at line 445 of file opcodes.cpp.

◆ op_startTalk()

void Touche::ToucheEngine::op_startTalk ( )
protected

Definition at line 505 of file opcodes.cpp.

◆ op_stopKeyCharScript()

void Touche::ToucheEngine::op_stopKeyCharScript ( )
protected

Definition at line 875 of file opcodes.cpp.

◆ op_stopScript()

void Touche::ToucheEngine::op_stopScript ( )
protected

Definition at line 388 of file opcodes.cpp.

◆ op_sub()

void Touche::ToucheEngine::op_sub ( )
protected

Definition at line 265 of file opcodes.cpp.

◆ op_testEquals()

void Touche::ToucheEngine::op_testEquals ( )
protected

Definition at line 325 of file opcodes.cpp.

◆ op_testGreater()

void Touche::ToucheEngine::op_testGreater ( )
protected

Definition at line 315 of file opcodes.cpp.

◆ op_testGreaterOrEquals()

void Touche::ToucheEngine::op_testGreaterOrEquals ( )
protected

Definition at line 351 of file opcodes.cpp.

◆ op_testLower()

void Touche::ToucheEngine::op_testLower ( )
protected

Definition at line 335 of file opcodes.cpp.

◆ op_testLowerOrEquals()

void Touche::ToucheEngine::op_testLowerOrEquals ( )
protected

Definition at line 361 of file opcodes.cpp.

◆ op_testNotEquals()

void Touche::ToucheEngine::op_testNotEquals ( )
protected

Definition at line 371 of file opcodes.cpp.

◆ op_true()

void Touche::ToucheEngine::op_true ( )
protected

Definition at line 234 of file opcodes.cpp.

◆ op_unlockHitBox()

void Touche::ToucheEngine::op_unlockHitBox ( )
protected

Definition at line 986 of file opcodes.cpp.

◆ op_unlockWalkPath()

void Touche::ToucheEngine::op_unlockWalkPath ( )
protected

Definition at line 770 of file opcodes.cpp.

◆ op_unsetKeyCharFlags()

void Touche::ToucheEngine::op_unsetKeyCharFlags ( )
protected

Definition at line 1007 of file opcodes.cpp.

◆ op_updateRoom()

void Touche::ToucheEngine::op_updateRoom ( )
protected

Definition at line 482 of file opcodes.cpp.

◆ op_updateRoomAreas()

void Touche::ToucheEngine::op_updateRoomAreas ( )
protected

Definition at line 764 of file opcodes.cpp.

◆ packInventoryItems()

void Touche::ToucheEngine::packInventoryItems ( int  index)
protected

Definition at line 2221 of file touche.cpp.

◆ playSoundInRange()

void Touche::ToucheEngine::playSoundInRange ( )
protected

Definition at line 557 of file touche.cpp.

◆ printStatusString()

void Touche::ToucheEngine::printStatusString ( const char *  str)
protected

Definition at line 449 of file menu.cpp.

◆ processAnimationTable()

void Touche::ToucheEngine::processAnimationTable ( )
protected

Definition at line 3303 of file touche.cpp.

◆ processEvents()

void Touche::ToucheEngine::processEvents ( bool  handleKeyEvents = true)
protected

Definition at line 410 of file touche.cpp.

◆ readConfigurationSettings()

void Touche::ToucheEngine::readConfigurationSettings ( )
protected

Definition at line 311 of file touche.cpp.

◆ redrawBackground()

void Touche::ToucheEngine::redrawBackground ( )
protected

Definition at line 1999 of file touche.cpp.

◆ redrawMenu()

void Touche::ToucheEngine::redrawMenu ( MenuData menu)
protected

Definition at line 168 of file menu.cpp.

◆ redrawRoom()

void Touche::ToucheEngine::redrawRoom ( )
protected

Definition at line 973 of file touche.cpp.

◆ redrawRoomRegion()

void Touche::ToucheEngine::redrawRoomRegion ( int  num,
bool  markForRedraw 
)
protected

Definition at line 2116 of file touche.cpp.

◆ removeConversationChoice()

void Touche::ToucheEngine::removeConversationChoice ( int16  num)
protected

Definition at line 2485 of file touche.cpp.

◆ removeFromTalkTable()

void Touche::ToucheEngine::removeFromTalkTable ( int  keyChar)
protected

Definition at line 2457 of file touche.cpp.

◆ removeItemFromInventory()

void Touche::ToucheEngine::removeItemFromInventory ( int  inventory,
int16  item 
)
protected

Definition at line 2266 of file touche.cpp.

◆ res_allocateTables()

void Touche::ToucheEngine::res_allocateTables ( )
protected

Definition at line 91 of file resource.cpp.

◆ res_closeDataFile()

void Touche::ToucheEngine::res_closeDataFile ( )
protected

Definition at line 85 of file resource.cpp.

◆ res_deallocateTables()

void Touche::ToucheEngine::res_deallocateTables ( )
protected

Definition at line 151 of file resource.cpp.

◆ res_decodeProgramData()

void Touche::ToucheEngine::res_decodeProgramData ( )
protected

Definition at line 246 of file resource.cpp.

◆ res_decodeScanLineImageRLE()

void Touche::ToucheEngine::res_decodeScanLineImageRLE ( uint8 dst,
int  lineWidth 
)
protected

Definition at line 509 of file resource.cpp.

◆ res_getDataOffset()

uint32 Touche::ToucheEngine::res_getDataOffset ( ResourceType  type,
int  num,
uint32 size = NULL 
)
protected

Definition at line 187 of file resource.cpp.

◆ res_loadBackdrop()

void Touche::ToucheEngine::res_loadBackdrop ( )
protected

Definition at line 527 of file resource.cpp.

◆ res_loadImage()

void Touche::ToucheEngine::res_loadImage ( int  num,
uint8 dst 
)
protected

Definition at line 548 of file resource.cpp.

◆ res_loadImageHelper()

void Touche::ToucheEngine::res_loadImageHelper ( uint8 imgData,
int  imgWidth,
int  imgHeight 
)
protected

Definition at line 560 of file resource.cpp.

◆ res_loadMusic()

void Touche::ToucheEngine::res_loadMusic ( int  num)
protected

Definition at line 611 of file resource.cpp.

◆ res_loadProgram()

void Touche::ToucheEngine::res_loadProgram ( int  num)
protected

Definition at line 238 of file resource.cpp.

◆ res_loadRoom()

void Touche::ToucheEngine::res_loadRoom ( int  num)
protected

Definition at line 414 of file resource.cpp.

◆ res_loadSequence()

void Touche::ToucheEngine::res_loadSequence ( int  num,
int  index 
)
protected

Definition at line 500 of file resource.cpp.

◆ res_loadSound()

void Touche::ToucheEngine::res_loadSound ( int  flag,
int  num 
)
protected

Definition at line 588 of file resource.cpp.

◆ res_loadSpeech()

void Touche::ToucheEngine::res_loadSpeech ( int  num)
protected

Definition at line 616 of file resource.cpp.

◆ res_loadSpeechSegment()

void Touche::ToucheEngine::res_loadSpeechSegment ( int  num)
protected

Definition at line 634 of file resource.cpp.

◆ res_loadSprite()

void Touche::ToucheEngine::res_loadSprite ( int  num,
int  index 
)
protected

Definition at line 458 of file resource.cpp.

◆ res_loadSpriteImage()

void Touche::ToucheEngine::res_loadSpriteImage ( int  num,
uint8 dst 
)
protected

Definition at line 227 of file resource.cpp.

◆ res_openDataFile()

void Touche::ToucheEngine::res_openDataFile ( )
protected

Definition at line 65 of file resource.cpp.

◆ res_stopSound()

void Touche::ToucheEngine::res_stopSound ( )
protected

Definition at line 607 of file resource.cpp.

◆ res_stopSpeech()

void Touche::ToucheEngine::res_stopSpeech ( )
protected

Definition at line 685 of file resource.cpp.

◆ resetPointsData()

void Touche::ToucheEngine::resetPointsData ( int  num)
protected

Definition at line 2814 of file touche.cpp.

◆ resetSortedKeyCharsTable()

void Touche::ToucheEngine::resetSortedKeyCharsTable ( )
protected

Definition at line 568 of file touche.cpp.

◆ resetTalkingVars()

void Touche::ToucheEngine::resetTalkingVars ( )
protected

Definition at line 2284 of file touche.cpp.

◆ restart()

void Touche::ToucheEngine::restart ( )
protected

Definition at line 227 of file touche.cpp.

◆ restartKeyCharScriptOnAction()

int Touche::ToucheEngine::restartKeyCharScriptOnAction ( int  action,
int  obj1,
int  obj2 
)
protected

Definition at line 1413 of file touche.cpp.

◆ run()

Common::Error Touche::ToucheEngine::run ( )
virtual

Init the engine and start its main loop.

Returns
returns kNoError on success, else an error code.

Implements Engine.

Definition at line 201 of file touche.cpp.

◆ runConversationScript()

void Touche::ToucheEngine::runConversationScript ( uint16  offset)
protected

Definition at line 2499 of file touche.cpp.

◆ runCurrentKeyCharScript()

void Touche::ToucheEngine::runCurrentKeyCharScript ( int  mode)
protected

Definition at line 691 of file touche.cpp.

◆ runCycle()

void Touche::ToucheEngine::runCycle ( )
protected

Definition at line 468 of file touche.cpp.

◆ runKeyCharScript()

void Touche::ToucheEngine::runKeyCharScript ( KeyChar key)
protected

Definition at line 657 of file touche.cpp.

◆ saveGameState()

Common::Error Touche::ToucheEngine::saveGameState ( int  slot,
const Common::String desc 
)
protectedvirtual

Save a game state.

Parameters
slotthe slot into which the savestate should be stored
desca description for the savestate, entered by the user
Returns
returns kNoError on success, else an error code.

Reimplemented from Engine.

Definition at line 322 of file saveload.cpp.

◆ saveGameStateData()

void Touche::ToucheEngine::saveGameStateData ( Common::WriteStream stream)
protected

Definition at line 230 of file saveload.cpp.

◆ scrollDownConversationChoice()

void Touche::ToucheEngine::scrollDownConversationChoice ( )
protected

Definition at line 2528 of file touche.cpp.

◆ scrollRoom()

bool Touche::ToucheEngine::scrollRoom ( int  keyChar)
protected

Definition at line 886 of file touche.cpp.

◆ scrollScreenToPos()

void Touche::ToucheEngine::scrollScreenToPos ( int  num)
protected

Definition at line 1871 of file touche.cpp.

◆ scrollUpConversationChoice()

void Touche::ToucheEngine::scrollUpConversationChoice ( )
protected

Definition at line 2535 of file touche.cpp.

◆ setCursor()

void Touche::ToucheEngine::setCursor ( int  num)
protected

Definition at line 1523 of file touche.cpp.

◆ setDefaultCursor()

void Touche::ToucheEngine::setDefaultCursor ( int  num)
protected

Definition at line 1530 of file touche.cpp.

◆ setKeyCharBox()

void Touche::ToucheEngine::setKeyCharBox ( int  keyChar,
int  value 
)
protected

Definition at line 814 of file touche.cpp.

◆ setKeyCharFacingDirection()

void Touche::ToucheEngine::setKeyCharFacingDirection ( int  keyChar,
int16  dir 
)
protected

Definition at line 861 of file touche.cpp.

◆ setKeyCharFrame()

void Touche::ToucheEngine::setKeyCharFrame ( int  keyChar,
int16  type,
int16  value1,
int16  value2 
)
protected

Definition at line 825 of file touche.cpp.

◆ setKeyCharMoney()

void Touche::ToucheEngine::setKeyCharMoney ( )
protected

Definition at line 1357 of file touche.cpp.

◆ setKeyCharRandomFrame()

void Touche::ToucheEngine::setKeyCharRandomFrame ( KeyChar key)
protected

Definition at line 1351 of file touche.cpp.

◆ setKeyCharTalkingFrame()

void Touche::ToucheEngine::setKeyCharTalkingFrame ( int  keyChar)
protected

Definition at line 1486 of file touche.cpp.

◆ setKeyCharTextColor()

void Touche::ToucheEngine::setKeyCharTextColor ( int  keyChar,
uint16  color 
)
protected

Definition at line 780 of file touche.cpp.

◆ setMusicVolume()

void Touche::ToucheEngine::setMusicVolume ( int  volume)
protected

Definition at line 3483 of file touche.cpp.

◆ setPalette()

void Touche::ToucheEngine::setPalette ( int  firstColor,
int  colorCount,
int  redScale,
int  greenScale,
int  blueScale 
)
protected

Definition at line 3368 of file touche.cpp.

◆ setRoomAreaState()

void Touche::ToucheEngine::setRoomAreaState ( int  num,
uint16  state 
)
protected

Definition at line 2065 of file touche.cpp.

◆ setupConversationScript()

void Touche::ToucheEngine::setupConversationScript ( int  num)
protected

Definition at line 2574 of file touche.cpp.

◆ setupEpisode()

void Touche::ToucheEngine::setupEpisode ( int  num)
protected

Definition at line 574 of file touche.cpp.

◆ setupInventoryAreas()

void Touche::ToucheEngine::setupInventoryAreas ( )
protected

Definition at line 2160 of file touche.cpp.

◆ setupNewEpisode()

void Touche::ToucheEngine::setupNewEpisode ( )
protected

Definition at line 607 of file touche.cpp.

◆ setupOpcodes()

void Touche::ToucheEngine::setupOpcodes ( )
protected

Definition at line 30 of file opcodes.cpp.

◆ showCursor()

void Touche::ToucheEngine::showCursor ( bool  show)
protected

Definition at line 1518 of file touche.cpp.

◆ sortKeyChars()

void Touche::ToucheEngine::sortKeyChars ( )
protected

Definition at line 631 of file touche.cpp.

◆ sortPointsData()

bool Touche::ToucheEngine::sortPointsData ( int  num1,
int  num2 
)
protected

Definition at line 2821 of file touche.cpp.

◆ startMusic()

void Touche::ToucheEngine::startMusic ( int  num)

Definition at line 3447 of file touche.cpp.

◆ startNewMusic()

void Touche::ToucheEngine::startNewMusic ( )
protected

Definition at line 1882 of file touche.cpp.

◆ startNewSound()

void Touche::ToucheEngine::startNewSound ( )
protected

Definition at line 1890 of file touche.cpp.

◆ stopMusic()

void Touche::ToucheEngine::stopMusic ( )

Definition at line 3468 of file touche.cpp.

◆ syncSoundSettings()

void Touche::ToucheEngine::syncSoundSettings ( )
virtual

Notify the engine that the sound settings in the config manager may have changed and that it hence should adjust any internal volume etc.

values accordingly. The default implementation sets the volume levels of all mixer sound types according to the config entries of the active domain. When overwriting, call the default implementation first, then adjust the volumes further (if required).

Note
When setting volume levels, respect the "mute" config entry.
The volume for the plain sound type is reset to the maximum volume. If the engine can associate its own value for this type, it needs to overwrite this member and set it accordingly.
Todo:
find a better name for this

Reimplemented from Engine.

Definition at line 352 of file touche.cpp.

◆ unlockWalkPath()

void Touche::ToucheEngine::unlockWalkPath ( int  num1,
int  num2 
)
protected

Definition at line 2805 of file touche.cpp.

◆ updateDirtyScreenAreas()

void Touche::ToucheEngine::updateDirtyScreenAreas ( )
protected

Definition at line 3395 of file touche.cpp.

◆ updateEntireScreen()

void Touche::ToucheEngine::updateEntireScreen ( )
protected

Definition at line 3390 of file touche.cpp.

◆ updateKeyCharTalk()

int Touche::ToucheEngine::updateKeyCharTalk ( int  pauseFlag)
protected

Definition at line 2297 of file touche.cpp.

◆ updateKeyCharWalkPath()

void Touche::ToucheEngine::updateKeyCharWalkPath ( KeyChar key,
int16  dx,
int16  dy,
int16  dz 
)
protected

Definition at line 2859 of file touche.cpp.

◆ updatePalette()

void Touche::ToucheEngine::updatePalette ( )
protected

Definition at line 3417 of file touche.cpp.

◆ updateRoomAreas()

void Touche::ToucheEngine::updateRoomAreas ( int  num,
int  flags 
)
protected

Definition at line 2031 of file touche.cpp.

◆ updateRoomRegions()

void Touche::ToucheEngine::updateRoomRegions ( )
protected

Definition at line 2084 of file touche.cpp.

◆ updateScreenArea()

void Touche::ToucheEngine::updateScreenArea ( int  x,
int  y,
int  w,
int  h 
)
protected

Definition at line 3386 of file touche.cpp.

◆ updateSpeech()

void Touche::ToucheEngine::updateSpeech ( )
protected

Definition at line 1901 of file touche.cpp.

◆ updateTalkFrames()

void Touche::ToucheEngine::updateTalkFrames ( int  keyChar)
protected

Definition at line 1476 of file touche.cpp.

◆ waitForKeyCharPosition()

void Touche::ToucheEngine::waitForKeyCharPosition ( int  keyChar)
protected

Definition at line 786 of file touche.cpp.

◆ waitForKeyCharsSet()

void Touche::ToucheEngine::waitForKeyCharsSet ( )
protected

Definition at line 959 of file touche.cpp.

◆ writeConfigurationSettings()

void Touche::ToucheEngine::writeConfigurationSettings ( )
protected

Definition at line 327 of file touche.cpp.

Member Data Documentation

◆ _animationTable

AnimationEntry Touche::ToucheEngine::_animationTable[NUM_ANIMATION_ENTRIES]
protected

Definition at line 838 of file touche.h.

◆ _backdropBuffer

uint8* Touche::ToucheEngine::_backdropBuffer
protected

Definition at line 849 of file touche.h.

◆ _compressedSpeechData

int Touche::ToucheEngine::_compressedSpeechData
protected

Definition at line 846 of file touche.h.

◆ _console

ToucheConsole* Touche::ToucheEngine::_console
protected

Definition at line 613 of file touche.h.

◆ _conversationAreaCleared

bool Touche::ToucheEngine::_conversationAreaCleared
protected

Definition at line 808 of file touche.h.

◆ _conversationChoicesTable

ConversationChoice Touche::ToucheEngine::_conversationChoicesTable[NUM_CONVERSATION_CHOICES]
protected

Definition at line 809 of file touche.h.

◆ _conversationChoicesUpdated

bool Touche::ToucheEngine::_conversationChoicesUpdated
protected

Definition at line 801 of file touche.h.

◆ _conversationEnded

bool Touche::ToucheEngine::_conversationEnded
protected

Definition at line 803 of file touche.h.

◆ _conversationNum

int Touche::ToucheEngine::_conversationNum
protected

Definition at line 804 of file touche.h.

◆ _conversationReplyNum

int Touche::ToucheEngine::_conversationReplyNum
protected

Definition at line 802 of file touche.h.

◆ _convKitData

uint8* Touche::ToucheEngine::_convKitData
protected

Definition at line 851 of file touche.h.

◆ _currentAmountOfMoney

int Touche::ToucheEngine::_currentAmountOfMoney
protected

Definition at line 819 of file touche.h.

◆ _currentBitmapHeight

int Touche::ToucheEngine::_currentBitmapHeight
protected

Definition at line 861 of file touche.h.

◆ _currentBitmapWidth

int Touche::ToucheEngine::_currentBitmapWidth
protected

Definition at line 860 of file touche.h.

◆ _currentConversation

int Touche::ToucheEngine::_currentConversation
protected

Definition at line 806 of file touche.h.

◆ _currentCursorObject

int Touche::ToucheEngine::_currentCursorObject
protected

Definition at line 783 of file touche.h.

◆ _currentEpisodeNum

int Touche::ToucheEngine::_currentEpisodeNum
protected

Definition at line 817 of file touche.h.

◆ _currentImageHeight

int Touche::ToucheEngine::_currentImageHeight
protected

Definition at line 863 of file touche.h.

◆ _currentImageWidth

int Touche::ToucheEngine::_currentImageWidth
protected

Definition at line 862 of file touche.h.

◆ _currentKeyCharNum

int Touche::ToucheEngine::_currentKeyCharNum
protected

Definition at line 814 of file touche.h.

◆ _currentMusicNum

int Touche::ToucheEngine::_currentMusicNum
protected

Definition at line 767 of file touche.h.

◆ _currentObjectNum

int Touche::ToucheEngine::_currentObjectNum
protected

Definition at line 830 of file touche.h.

◆ _currentRoomNum

int Touche::ToucheEngine::_currentRoomNum
protected

Definition at line 823 of file touche.h.

◆ _cursorObjectRect

Common::Rect Touche::ToucheEngine::_cursorObjectRect
protected

Definition at line 876 of file touche.h.

◆ _directionsTable

const uint8 Touche::ToucheEngine::_directionsTable
staticprotected
Initial value:
= {
0x7F, 0x7F, 0x7F, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x7F,
0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
0x7F, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
0x7F, 0x7F, 0x7F, 0x7F, 0x02, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x02, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x02,
0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F,
0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00, 0x00
}

Definition at line 889 of file touche.h.

◆ _dirtyRectsTable

Common::Rect Touche::ToucheEngine::_dirtyRectsTable[NUM_DIRTY_RECTS]
protected

Definition at line 886 of file touche.h.

◆ _dirtyRectsTableCount

int Touche::ToucheEngine::_dirtyRectsTableCount
protected

Definition at line 887 of file touche.h.

◆ _disableConversationScript

bool Touche::ToucheEngine::_disableConversationScript
protected

Definition at line 807 of file touche.h.

◆ _disabledInputCounter

int Touche::ToucheEngine::_disabledInputCounter
protected

Definition at line 759 of file touche.h.

◆ _displayQuitDialog

bool Touche::ToucheEngine::_displayQuitDialog
protected

Definition at line 762 of file touche.h.

◆ _fastMode

bool Touche::ToucheEngine::_fastMode
protected

Definition at line 836 of file touche.h.

◆ _fastWalkMode

bool Touche::ToucheEngine::_fastWalkMode
protected

Definition at line 835 of file touche.h.

◆ _fData

Common::File Touche::ToucheEngine::_fData
protected

Definition at line 844 of file touche.h.

◆ _flagsTable

int16 Touche::ToucheEngine::_flagsTable[NUM_FLAGS]
protected

Definition at line 811 of file touche.h.

◆ _fSpeech

Common::File Touche::ToucheEngine::_fSpeech[2]
protected

Definition at line 845 of file touche.h.

◆ _fullRedrawCounter

int Touche::ToucheEngine::_fullRedrawCounter
protected

Definition at line 882 of file touche.h.

◆ _gameState

GameState Touche::ToucheEngine::_gameState
protected

Definition at line 761 of file touche.h.

◆ _giveItemToCounter

int Touche::ToucheEngine::_giveItemToCounter
protected

Definition at line 822 of file touche.h.

◆ _giveItemToKeyCharNum

int Touche::ToucheEngine::_giveItemToKeyCharNum
protected

Definition at line 820 of file touche.h.

◆ _giveItemToObjectNum

int Touche::ToucheEngine::_giveItemToObjectNum
protected

Definition at line 821 of file touche.h.

◆ _hideInventoryTexts

bool Touche::ToucheEngine::_hideInventoryTexts
protected

Definition at line 760 of file touche.h.

◆ _iconData

uint8* Touche::ToucheEngine::_iconData
protected

Definition at line 856 of file touche.h.

◆ _inp_leftMouseButtonPressed

bool Touche::ToucheEngine::_inp_leftMouseButtonPressed
protected

Definition at line 757 of file touche.h.

◆ _inp_rightMouseButtonPressed

bool Touche::ToucheEngine::_inp_rightMouseButtonPressed
protected

Definition at line 758 of file touche.h.

◆ _inventoryAreasTable

Common::Rect Touche::ToucheEngine::_inventoryAreasTable[13]
protected

Definition at line 784 of file touche.h.

◆ _inventoryItemsInfoTable

int16 Touche::ToucheEngine::_inventoryItemsInfoTable[NUM_INVENTORY_ITEMS]
protected

Definition at line 780 of file touche.h.

◆ _inventoryList1

int16 Touche::ToucheEngine::_inventoryList1[101]
protected

Definition at line 776 of file touche.h.

◆ _inventoryList2

int16 Touche::ToucheEngine::_inventoryList2[101]
protected

Definition at line 777 of file touche.h.

◆ _inventoryList3

int16 Touche::ToucheEngine::_inventoryList3[7]
protected

Definition at line 778 of file touche.h.

◆ _inventoryStateTable

InventoryState Touche::ToucheEngine::_inventoryStateTable[3]
protected

Definition at line 779 of file touche.h.

◆ _inventoryVar1

int16* Touche::ToucheEngine::_inventoryVar1
protected

Definition at line 781 of file touche.h.

◆ _inventoryVar2

int16* Touche::ToucheEngine::_inventoryVar2
protected

Definition at line 782 of file touche.h.

◆ _keyCharsTable

KeyChar Touche::ToucheEngine::_keyCharsTable[NUM_KEYCHARS]
protected

Definition at line 812 of file touche.h.

◆ _keyCharTalkCounter

int Touche::ToucheEngine::_keyCharTalkCounter
protected

Definition at line 794 of file touche.h.

◆ _language

Common::Language Touche::ToucheEngine::_language
protected

Definition at line 754 of file touche.h.

◆ _menuKitData

uint8* Touche::ToucheEngine::_menuKitData
protected

Definition at line 850 of file touche.h.

◆ _menuRedrawCounter

int Touche::ToucheEngine::_menuRedrawCounter
protected

Definition at line 883 of file touche.h.

◆ _midiPlayer

MidiPlayer* Touche::ToucheEngine::_midiPlayer
protected

Definition at line 740 of file touche.h.

◆ _mouseData

uint8* Touche::ToucheEngine::_mouseData
protected

Definition at line 855 of file touche.h.

◆ _moveKeyCharRect

Common::Rect Touche::ToucheEngine::_moveKeyCharRect
protected

Definition at line 828 of file touche.h.

◆ _musicHandle

Audio::SoundHandle Touche::ToucheEngine::_musicHandle
protected

Definition at line 743 of file touche.h.

◆ _musicVolume

int Touche::ToucheEngine::_musicVolume
protected

Definition at line 742 of file touche.h.

◆ _newEpisodeNum

int Touche::ToucheEngine::_newEpisodeNum
protected

Definition at line 816 of file touche.h.

◆ _newMusicNum

int Touche::ToucheEngine::_newMusicNum
protected

Definition at line 766 of file touche.h.

◆ _newSoundDelay

int Touche::ToucheEngine::_newSoundDelay
protected

Definition at line 769 of file touche.h.

◆ _newSoundNum

int Touche::ToucheEngine::_newSoundNum
protected

Definition at line 768 of file touche.h.

◆ _newSoundPriority

int Touche::ToucheEngine::_newSoundPriority
protected

Definition at line 770 of file touche.h.

◆ _numOpcodes

int Touche::ToucheEngine::_numOpcodes
protected

Definition at line 842 of file touche.h.

◆ _objectDescriptionNum

int Touche::ToucheEngine::_objectDescriptionNum
protected

Definition at line 798 of file touche.h.

◆ _offscreenBuffer

uint8* Touche::ToucheEngine::_offscreenBuffer
protected

Definition at line 884 of file touche.h.

◆ _opcodesTable

const OpcodeProc* Touche::ToucheEngine::_opcodesTable
protected

Definition at line 841 of file touche.h.

◆ _paletteBuffer

uint8 Touche::ToucheEngine::_paletteBuffer[256 *3]
protected

Definition at line 885 of file touche.h.

◆ _playSoundCounter

int Touche::ToucheEngine::_playSoundCounter
protected

Definition at line 771 of file touche.h.

◆ _processRandomPaletteCounter

int Touche::ToucheEngine::_processRandomPaletteCounter
protected

Definition at line 831 of file touche.h.

◆ _programActionScriptOffsetTable

Common::Array<ProgramActionScriptOffsetData> Touche::ToucheEngine::_programActionScriptOffsetTable
protected

Definition at line 873 of file touche.h.

◆ _programAreaTable

Common::Array<ProgramAreaData> Touche::ToucheEngine::_programAreaTable
protected

Definition at line 870 of file touche.h.

◆ _programBackgroundTable

Common::Array<ProgramBackgroundData> Touche::ToucheEngine::_programBackgroundTable
protected

Definition at line 871 of file touche.h.

◆ _programConversationTable

Common::Array<ProgramConversationData> Touche::ToucheEngine::_programConversationTable
protected

Definition at line 875 of file touche.h.

◆ _programData

uint8* Touche::ToucheEngine::_programData
protected

Definition at line 853 of file touche.h.

◆ _programDataSize

uint32 Touche::ToucheEngine::_programDataSize
protected

Definition at line 854 of file touche.h.

◆ _programHitBoxTable

Common::Array<ProgramHitBoxData> Touche::ToucheEngine::_programHitBoxTable
protected

Definition at line 872 of file touche.h.

◆ _programKeyCharScriptOffsetTable

Common::Array<ProgramKeyCharScriptOffsetData> Touche::ToucheEngine::_programKeyCharScriptOffsetTable
protected

Definition at line 874 of file touche.h.

◆ _programPointsTable

Common::Array<ProgramPointData> Touche::ToucheEngine::_programPointsTable
protected

Definition at line 868 of file touche.h.

◆ _programRectsTable

Common::Array<Common::Rect> Touche::ToucheEngine::_programRectsTable
protected

Definition at line 867 of file touche.h.

◆ _programTextDataPtr

uint8* Touche::ToucheEngine::_programTextDataPtr
protected

Definition at line 866 of file touche.h.

◆ _programWalkTable

Common::Array<ProgramWalkData> Touche::ToucheEngine::_programWalkTable
protected

Definition at line 869 of file touche.h.

◆ _rnd

Common::RandomSource Touche::ToucheEngine::_rnd
protected

Definition at line 755 of file touche.h.

◆ _roomAreaRect

Common::Rect Touche::ToucheEngine::_roomAreaRect
protected

Definition at line 879 of file touche.h.

◆ _roomNeedRedraw

bool Touche::ToucheEngine::_roomNeedRedraw
protected

Definition at line 881 of file touche.h.

◆ _roomWidth

int Touche::ToucheEngine::_roomWidth
protected

Definition at line 864 of file touche.h.

◆ _saveLoadCurrentPage

int Touche::ToucheEngine::_saveLoadCurrentPage
protected

Definition at line 763 of file touche.h.

◆ _saveLoadCurrentSlot

int Touche::ToucheEngine::_saveLoadCurrentSlot
protected

Definition at line 764 of file touche.h.

◆ _screenOffset

Common::Point Touche::ToucheEngine::_screenOffset
protected

Definition at line 829 of file touche.h.

◆ _screenRect

Common::Rect Touche::ToucheEngine::_screenRect
protected

Definition at line 878 of file touche.h.

◆ _script

Script Touche::ToucheEngine::_script
protected

Definition at line 840 of file touche.h.

◆ _scrollConversationChoiceOffset

int Touche::ToucheEngine::_scrollConversationChoiceOffset
protected

Definition at line 805 of file touche.h.

◆ _sequenceDataTable

uint8* Touche::ToucheEngine::_sequenceDataTable[NUM_SEQUENCES]
protected

Definition at line 852 of file touche.h.

◆ _sequenceEntryTable

SequenceEntry Touche::ToucheEngine::_sequenceEntryTable[NUM_SEQUENCES]
protected

Definition at line 859 of file touche.h.

◆ _sfxHandle

Audio::SoundHandle Touche::ToucheEngine::_sfxHandle
protected

Definition at line 773 of file touche.h.

◆ _skipTalkText

bool Touche::ToucheEngine::_skipTalkText
protected

Definition at line 792 of file touche.h.

◆ _sortedKeyCharsTable

KeyChar* Touche::ToucheEngine::_sortedKeyCharsTable[NUM_KEYCHARS]
protected

Definition at line 813 of file touche.h.

◆ _speechHandle

Audio::SoundHandle Touche::ToucheEngine::_speechHandle
protected

Definition at line 774 of file touche.h.

◆ _speechPlaying

bool Touche::ToucheEngine::_speechPlaying
protected

Definition at line 772 of file touche.h.

◆ _spriteScalingIndex

int16 Touche::ToucheEngine::_spriteScalingIndex[1000]
protected

Definition at line 832 of file touche.h.

◆ _spriteScalingTable

int16 Touche::ToucheEngine::_spriteScalingTable[1000]
protected

Definition at line 833 of file touche.h.

◆ _spritesTable

SpriteData Touche::ToucheEngine::_spritesTable[NUM_SPRITES]
protected

Definition at line 858 of file touche.h.

◆ _talkListCurrent

int Touche::ToucheEngine::_talkListCurrent
protected

Definition at line 788 of file touche.h.

◆ _talkListEnd

int Touche::ToucheEngine::_talkListEnd
protected

Definition at line 787 of file touche.h.

◆ _talkTable

TalkEntry Touche::ToucheEngine::_talkTable[NUM_TALK_ENTRIES]
protected

Definition at line 799 of file touche.h.

◆ _talkTableLastOtherKeyChar

int Touche::ToucheEngine::_talkTableLastOtherKeyChar
protected

Definition at line 796 of file touche.h.

◆ _talkTableLastStringNum

int Touche::ToucheEngine::_talkTableLastStringNum
protected

Definition at line 797 of file touche.h.

◆ _talkTableLastTalkingKeyChar

int Touche::ToucheEngine::_talkTableLastTalkingKeyChar
protected

Definition at line 795 of file touche.h.

◆ _talkTextDisplayed

bool Touche::ToucheEngine::_talkTextDisplayed
protected

Definition at line 790 of file touche.h.

◆ _talkTextInitialized

bool Touche::ToucheEngine::_talkTextInitialized
protected

Definition at line 791 of file touche.h.

◆ _talkTextMode

int Touche::ToucheEngine::_talkTextMode
protected

Definition at line 786 of file touche.h.

◆ _talkTextRect

Common::Rect Touche::ToucheEngine::_talkTextRect
protected

Definition at line 877 of file touche.h.

◆ _talkTextRect2

Common::Rect Touche::ToucheEngine::_talkTextRect2
protected

Definition at line 877 of file touche.h.

◆ _talkTextRectDefined

bool Touche::ToucheEngine::_talkTextRectDefined
protected

Definition at line 789 of file touche.h.

◆ _talkTextSpeed

int Touche::ToucheEngine::_talkTextSpeed
protected

Definition at line 793 of file touche.h.

◆ _textData

uint8* Touche::ToucheEngine::_textData
protected

Definition at line 848 of file touche.h.

◆ _updatedRoomAreasTable

uint8 Touche::ToucheEngine::_updatedRoomAreasTable[200]
protected

Definition at line 827 of file touche.h.

◆ _waitingSetKeyCharNum1

int Touche::ToucheEngine::_waitingSetKeyCharNum1
protected

Definition at line 824 of file touche.h.

◆ _waitingSetKeyCharNum2

int Touche::ToucheEngine::_waitingSetKeyCharNum2
protected

Definition at line 825 of file touche.h.

◆ _waitingSetKeyCharNum3

int Touche::ToucheEngine::_waitingSetKeyCharNum3
protected

Definition at line 826 of file touche.h.


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