ScummVM API documentation
Gob Namespace Reference

Classes

class  AdLib
 
class  ADLPlayer
 
class  ANIFile
 
class  ANIObject
 
struct  ArchiveInfo
 
class  BackBuffer
 
class  BackgroundAtmosphere
 
class  BATPlayer
 
class  CDROM
 
class  Cheater
 
class  Cheater_Geisha
 
class  CMPFile
 
class  ConstPixel
 
class  Databases
 
class  DataIO
 
class  dBase
 
class  DECFile
 
class  DemoPlayer
 
class  Draw
 
class  Draw_Bargon
 
class  Draw_Fascination
 
class  Draw_Playtoons
 
class  Draw_v1
 
class  Draw_v2
 
class  Draw_v7
 
class  Environments
 
class  Expression
 
class  FakeFileHandler
 
class  Font
 
class  Game
 
struct  GameIdToType
 
class  GCTFile
 
class  Global
 
class  GobConsole
 
class  GobEngine
 
struct  GOBGameDescription
 
class  Goblin
 
class  Goblin_v1
 
class  Goblin_v2
 
class  Goblin_v3
 
class  Goblin_v4
 
class  Goblin_v7
 
class  Hotspots
 
class  Infogrames
 
class  INIConfig
 
class  Init
 
class  Init_Fascination
 
class  Init_Geisha
 
class  Init_v1
 
class  Init_v2
 
class  Init_v3
 
class  Init_v4
 
class  Init_v6
 
class  Init_v7
 
class  Inter
 
class  Inter_Adibou1
 
class  Inter_Bargon
 
class  Inter_Fascination
 
class  Inter_Geisha
 
class  Inter_Inca2
 
class  Inter_LittleRed
 
class  Inter_Playtoons
 
class  Inter_v1
 
class  Inter_v2
 
class  Inter_v3
 
class  Inter_v4
 
class  Inter_v5
 
class  Inter_v6
 
class  Inter_v7
 
struct  ItemPos
 
class  Map
 
class  Map_v1
 
class  Map_v2
 
class  Mult
 
class  Mult_v1
 
class  Mult_v2
 
class  MUSPlayer
 
class  NotesHandler
 
struct  OpcodeEntry
 
struct  OpFuncParams
 
struct  OpGobParams
 
class  PalAnim
 
class  PCSpeaker
 
class  Pixel
 
class  PreGob
 
class  Protracker
 
class  Resource
 
class  Resources
 
class  RXYFile
 
class  SaveContainer
 
class  SaveConverter
 
class  SaveConverter_Notes
 
class  SaveConverter_v2
 
class  SaveConverter_v3
 
class  SaveConverter_v4
 
class  SaveHandler
 
class  SaveHeader
 
class  SaveLoad
 
class  SaveLoad_Adibou1
 
class  SaveLoad_Fascination
 
class  SaveLoad_Geisha
 
class  SaveLoad_Inca2
 
class  SaveLoad_Playtoons
 
class  SaveLoad_v2
 
class  SaveLoad_v3
 
class  SaveLoad_v4
 
class  SaveLoad_v6
 
class  SaveLoad_v7
 
class  SavePart
 
class  SavePartInfo
 
class  SavePartMem
 
class  SavePartSprite
 
class  SavePartVars
 
class  SaveReader
 
class  SaveWriter
 
class  Scenery
 
class  Scenery_v1
 
class  Scenery_v2
 
class  SCNPlayer
 
class  Script
 
class  SEQFile
 
class  SlotFile
 
class  SlotFileIndexed
 
class  SlotFileStatic
 
class  Sound
 
class  SoundBlaster
 
class  SoundDesc
 
class  SoundMixer
 
class  Surface
 
class  TempSpriteHandler
 
class  TextItem
 
class  TOTFile
 
class  TotFunctions
 
class  TXTFile
 
class  Util
 
class  VariableReference
 
class  Variables
 
class  VariablesBE
 
class  VariablesLE
 
class  VariableStack
 
class  Video
 
class  Video_v1
 
class  Video_v2
 
class  Video_v6
 
class  VideoPlayer
 
struct  WayPoint
 

Typedefs

typedef Common::Functor0< void > OpcodeDraw
 
typedef Common::Functor1< struct OpFuncParams &, void > OpcodeFunc
 
typedef Common::Functor1< struct OpGobParams &, void > OpcodeGob
 
typedef Common::SharedPtr< SurfaceSurfacePtr
 

Enumerations

enum  GameType {
  kGameTypeNone = 0, kGameTypeGob1, kGameTypeGob2, kGameTypeGob3,
  kGameTypeWoodruff, kGameTypeBargon, kGameTypeWeen, kGameTypeLostInTime,
  kGameTypeInca2, kGameTypeDynasty, kGameTypeUrban, kGameTypePlaytoons,
  kGameTypeBambou, kGameTypeFascination, kGameTypeGeisha, kGameTypeAdi2,
  kGameTypeAdi4, kGameTypeAdibou2, kGameTypeAdibou1, kGameTypeAbracadabra,
  kGameTypeBabaYaga, kGameTypeLittleRed, kGameTypeOnceUponATime, kGameTypeCrousti = 24,
  kGameTypeDynastyWood, kGameTypeAdi1
}
 
enum  Features {
  kFeaturesNone = 0, kFeaturesCD = 1 << 0, kFeaturesEGA = 1 << 1, kFeaturesAdLib = 1 << 2,
  kFeaturesSCNDemo = 1 << 3, kFeaturesBATDemo = 1 << 4, kFeatures640x480 = 1 << 5, kFeatures800x600 = 1 << 6,
  kFeaturesTrueColor = 1 << 7, kFeatures16Colors = 1 << 8, kFeatures640x400 = 1 << 9
}
 
enum  AdditionalGameFlags { GF_ENABLE_ADIBOU2_FREE_BANANAS_WORKAROUND = 1 << 0, GF_ENABLE_ADIBOU2_FLOWERS_INFINITE_LOOP_WORKAROUND = 1 << 1 }
 
enum  {
  OP_NEG = 1, OP_ADD = 2, OP_SUB = 3, OP_BITOR = 4,
  OP_MUL = 5, OP_DIV = 6, OP_MOD = 7, OP_BITAND = 8,
  OP_BEGIN_EXPR = 9, OP_END_EXPR = 10, OP_NOT = 11, OP_END_MARKER = 12,
  OP_ARRAY_INT8 = 16, OP_LOAD_VAR_INT16 = 17, OP_LOAD_VAR_INT8 = 18, OP_LOAD_IMM_INT32 = 19,
  OP_LOAD_IMM_INT16 = 20, OP_LOAD_IMM_INT8 = 21, OP_LOAD_IMM_STR = 22, OP_LOAD_VAR_INT32 = 23,
  OP_LOAD_VAR_INT32_AS_INT16 = 24, OP_LOAD_VAR_STR = 25, OP_ARRAY_INT32 = 26, OP_ARRAY_INT16 = 27,
  OP_ARRAY_STR = 28, OP_FUNC = 29, OP_OR = 30, OP_AND = 31,
  OP_LESS = 32, OP_LEQ = 33, OP_GREATER = 34, OP_GEQ = 35,
  OP_EQ = 36, OP_NEQ = 37
}
 
enum  {
  FUNC_SQRT1 = 0, FUNC_SQRT2 = 1, FUNC_SQRT3 = 6, FUNC_SQR = 5,
  FUNC_ABS = 7, FUNC_RAND = 10
}
 
enum  {
  TYPE_IMM_INT8 = OP_LOAD_IMM_INT8, TYPE_IMM_INT32 = OP_LOAD_IMM_INT32, TYPE_IMM_INT16 = OP_LOAD_IMM_INT16, TYPE_IMM_STR = OP_LOAD_IMM_STR,
  TYPE_VAR_INT8 = OP_LOAD_VAR_INT8, TYPE_VAR_INT16 = OP_LOAD_VAR_INT16, TYPE_VAR_INT32 = OP_LOAD_VAR_INT32, TYPE_VAR_STR = OP_LOAD_VAR_STR,
  TYPE_ARRAY_INT8 = OP_ARRAY_INT8, TYPE_ARRAY_INT16 = OP_ARRAY_INT16, TYPE_ARRAY_INT32 = OP_ARRAY_INT32, TYPE_ARRAY_STR = OP_ARRAY_STR,
  TYPE_VAR_INT32_AS_INT16 = OP_LOAD_VAR_INT32_AS_INT16
}
 
enum  { GOB_TRUE = 24, GOB_FALSE = 23 }
 
enum  Language {
  kLanguageFrench = 0, kLanguageGerman = 1, kLanguageBritish = 2, kLanguageSpanish = 3,
  kLanguageItalian = 4, kLanguageAmerican = 5, kLanguageDutch = 6, kLanguageKorean = 7,
  kLanguageHebrew = 8, kLanguagePortuguese = 9, kLanguageJapanese = 10
}
 
enum  Endianness { kEndiannessLE, kEndiannessBE }
 
enum  EndiannessMethod { kEndiannessMethodLE, kEndiannessMethodBE, kEndiannessMethodSystem, kEndiannessMethodAltFile }
 
enum  {
  kDebugFuncOp = 1 << 0, kDebugDrawOp = 1 << 1, kDebugGobOp = 1 << 2, kDebugSound = 1 << 3,
  kDebugExpression = 1 << 4, kDebugGameFlow = 1 << 5, kDebugFileIO = 1 << 6, kDebugSaveLoad = 1 << 7,
  kDebugGraphics = 1 << 8, kDebugVideo = 1 << 9, kDebugHotspots = 1 << 10, kDebugDemo = 1 << 11
}
 
enum  RelativeDirection {
  kRelDirNone = 0, kRelDirLeft = (1 << 0), kRelDirUp = (1 << 1), kRelDirRight = (1 << 2),
  kRelDirDown = (1 << 3), kRelDirLeftUp = kRelDirLeft | kRelDirUp, kRelDirLeftDown = kRelDirLeft | kRelDirDown, kRelDirRightUp = kRelDirRight | kRelDirUp,
  kRelDirRightDown = kRelDirRight | kRelDirDown
}
 
enum  Direction {
  kDirNone = 0x0000, kDirNW = 0x4700, kDirN = 0x4800, kDirNE = 0x4900,
  kDirW = 0x4B00, kDirE = 0x4D00, kDirSW = 0x4F00, kDirS = 0x5000,
  kDirSE = 0x5100
}
 
enum  SoundType { SOUND_SND, SOUND_WAV, SOUND_ADL }
 
enum  ImageType {
  kImageTypeNone = -1, kImageTypeTGA = 0, kImageTypeIFF, kImageTypeBRC,
  kImageTypeBMP, kImageTypeJPEG
}
 
enum  MouseButtons {
  kMouseButtonsNone = 0, kMouseButtonsLeft = 1, kMouseButtonsRight = 2, kMouseButtonsBoth = 3,
  kMouseButtonsAny = 4
}
 
enum  Keys {
  kKeyNone = 0x0000, kKeyBackspace = 0x0E08, kKeySpace = 0x3920, kKeyReturn = 0x1C0D,
  kKeyEscape = 0x011B, kKeyDelete = 0x5300, kKeyUp = 0x4800, kKeyDown = 0x5000,
  kKeyRight = 0x4D00, kKeyLeft = 0x4B00, kKeyF1 = 0x3B00, kKeyF2 = 0x3C00,
  kKeyF3 = 0x3D00, kKeyF4 = 0x3E00, kKeyF5 = 0x3F00, kKeyF6 = 0x4000,
  kKeyF7 = 0x4100, kKeyF8 = 0x4200, kKeyF9 = 0x4300, kKeyF10 = 0x4400
}
 
enum  ShortKey {
  kShortKeyUp = 0x0B, kShortKeyDown = 0x0A, kShortKeyRight = 0x09, kShortKeyLeft = 0x08,
  kShortKeyEscape = 0x1B, kShortKeyBackspace = 0x19, kShortKeyDelete = 0x1A
}
 

Detailed Description

This is the namespace of the Gob engine.

Status of this engine: Supported

Games using this engine:

  • Adi 1
  • Adi 2
  • Adi 4
  • Adi 5
  • Adibou 1
  • Adibou 2
  • Adibou 3
  • Adibou présente Cuisine
  • Adibou présente Dessin
  • Adibou présente Magie
  • Adiboud'chou a la mer
  • Adiboud'chou sur la banquise
  • Adiboud'chou a la campagne
  • Adiboud'chou dans la jungle et la savane
  • English Fever
  • Gobliiins
  • Gobliins 2
  • Goblins 3
  • Ween: The Prophecy
  • Bargon Attack
  • Le pays des Pierres Magiques
  • Lost in Time
  • Nathan Vacances CM1/CE2
  • The Bizarre Adventures of Woodruff and the Schnibble
  • Fascination
  • Inca II: Nations of Immortality
  • Urban Runner
  • Bambou le sauveur de la jungle
  • Playtoons 1 Uncle Archibald
  • Playtoons 2 The Case of the Counterfeit Collaborator (Spirou)
  • Playtoons 3 The Secret of the Castle
  • Playtoons 4 The Mandarin Prince
  • Playtoons 5 The Stone of Wakan
  • Playtoons Construction Kit 1 Monsters
  • Playtoons Construction Kit 2 Knights
  • Playtoons Construction Kit 3 The Far West
  • Geisha
  • Once Upon A Time: Abracadabra
  • Once Upon A Time: Baba Yaga
  • Once Upon A Time: Little Red Riding Hood
  • Croustibat

Enumeration Type Documentation

◆ EndiannessMethod

Enumerator
kEndiannessMethodLE 

Always little endian.

kEndiannessMethodBE 

Always big endian.

kEndiannessMethodSystem 

Follows system endianness.

kEndiannessMethodAltFile 

Different endianness in alternate file.