ScummVM API documentation
Touche Namespace Reference

Classes

struct  AnimationEntry
 
struct  Area
 
struct  Button
 
struct  ConversationChoice
 
class  Graphics
 
struct  InventoryState
 
struct  KeyChar
 
struct  MenuData
 
class  MidiPlayer
 
struct  ProgramActionScriptOffsetData
 
struct  ProgramAreaData
 
struct  ProgramBackgroundData
 
struct  ProgramConversationData
 
struct  ProgramHitBoxData
 
struct  ProgramKeyCharScriptOffsetData
 
struct  ProgramPointData
 
struct  ProgramWalkData
 
struct  Script
 
struct  SequenceEntry
 
struct  SpriteData
 
struct  TalkEntry
 
class  ToucheConsole
 
class  ToucheEngine
 

Enumerations

enum  TOUCHEAction {
  kToucheActionNone, kToucheActionYes, kToucheActionSkipOrQuit, kToucheActionOpenOptions,
  kToucheActionEnableFastWalk, kToucheActionDisableFastWalk, kToucheActionToggleFastMode, kToucheActionToggleTalkTextMode,
  kToucheActionSkipDialogue
}
 
enum  {
  kDebugEngine = 1 << 0, kDebugGraphics = 1 << 1, kDebugResource = 1 << 2, kDebugOpcodes = 1 << 3,
  kDebugMenu = 1 << 4, kDebugCharset = 1 << 5
}
 
enum  ResourceType {
  kResourceTypeRoomImage = 0, kResourceTypeSequence, kResourceTypeSpriteImage, kResourceTypeIconImage,
  kResourceTypeRoomInfo, kResourceTypeProgram, kResourceTypeMusic, kResourceTypeSound
}
 
enum  TalkMode { kTalkModeTextOnly = 0, kTalkModeVoiceOnly, kTalkModeVoiceAndText, kTalkModeCount }
 
enum  ScriptFlag { kScriptStopped = 1 << 0, kScriptPaused = 1 << 1 }
 
enum  SaveLoadMode { kSaveGameState = 0, kLoadGameState }
 
enum  InventoryArea {
  kInventoryCharacter = 0, kInventoryMoneyDisplay, kInventoryGoldCoins, kInventorySilverCoins,
  kInventoryMoney, kInventoryScroller1, kInventoryObject1, kInventoryObject2,
  kInventoryObject3, kInventoryObject4, kInventoryObject5, kInventoryObject6,
  kInventoryScroller2
}
 
enum  {
  kScreenWidth = 640, kScreenHeight = 400, kRoomHeight = 352, kStartupEpisode = 90,
  kCycleDelay = 1000 / (1193180 / 32768), kIconWidth = 58, kIconHeight = 42, kCursorWidth = 58,
  kCursorHeight = 42, kTextHeight = 16, kMaxProgramDataSize = 61440, kMaxSaveStates = 100
}
 
enum  StringType { kStringTypeDefault, kStringTypeConversation }
 
enum  GameState { kGameStateGameLoop, kGameStateOptionsDialog, kGameStateQuitDialog, kGameStateNone }
 
enum  ActionId {
  kActionNone, kActionLoadMenu, kActionSaveMenu, kActionRestartGame,
  kActionPlayGame, kActionQuitGame, kActionTextOnly, kActionVoiceOnly,
  kActionTextAndVoice, kActionLowerVolume, kActionUpperVolume, kActionGameState1,
  kActionGameState2, kActionGameState3, kActionGameState4, kActionGameState5,
  kActionGameState6, kActionGameState7, kActionGameState8, kActionGameState9,
  kActionGameState10, kActionScrollUpSaves, kActionScrollDownSaves, kActionPerformSaveLoad,
  kActionCancelSaveLoad
}
 
enum  MenuMode { kMenuSettingsMode = 0, kMenuLoadStateMode, kMenuSaveStateMode }
 
enum  ButtonFlags { kButtonBorder = 1 << 0, kButtonText = 1 << 1, kButtonArrow = 1 << 2 }
 

Functions

void readGameStateDescription (Common::ReadStream *f, char *description, int len)
 
Common::String generateGameStateFileName (const char *target, int slot, bool prefixOnly=false)
 
int getGameStateFileSlot (const char *filename)
 

Detailed Description

This is the namespace of the Touche engine.

Status of this engine: ???

Games using this engine:

  • Touché: The Adventures of the Fifth Musketeer