ScummVM API documentation
Sword2 Namespace Reference

Classes

struct  AnimHeader
 
struct  BarData
 
struct  BlockSurface
 
struct  BuildUnit
 
struct  CdtEntry
 
class  CLUInputStream
 
class  Debugger
 
class  Dialog
 
struct  EventUnit
 
class  FontRenderer
 
struct  FrameHeader
 
struct  KeyboardEvent
 
struct  LayerHeader
 
struct  LineInfo
 
class  Logic
 
struct  MemBlock
 
class  MemoryManager
 
struct  MenuObject
 
class  MiniDialog
 
class  Mouse
 
struct  MouseAnim
 
struct  MouseEvent
 
struct  MouseUnit
 
class  MoviePlayer
 
struct  MovieText
 
struct  MultiScreenHeader
 
class  MusicInputStream
 
struct  NodeData
 
class  ObjectGraphic
 
class  ObjectHub
 
class  ObjectLogic
 
class  ObjectMega
 
struct  ObjectMouse
 
class  ObjectSpeech
 
struct  ObjectWalkdata
 
class  OptionsDialog
 
struct  Parallax
 
struct  PathData
 
struct  PSXFontEntry
 
struct  PSXScreensEntry
 
class  QuitDialog
 
struct  ResHeader
 
struct  Resource
 
struct  ResourceFile
 
class  ResourceManager
 
class  RestartDialog
 
class  RestoreDialog
 
struct  RouteData
 
class  Router
 
class  SaveDialog
 
class  SaveRestoreDialog
 
class  Screen
 
struct  ScreenHeader
 
struct  ScreenInfo
 
class  Sound
 
struct  SoundFileHandle
 
struct  SpriteInfo
 
class  StartDialog
 
struct  StartUp
 
struct  SubjectUnit
 
class  Sword2Engine
 
struct  TextBloc
 
struct  TextHeader
 
struct  WalkData
 

Enumerations

enum  DecoderType { kVideoDecoderDXA = 0, kVideoDecoderSMK = 1, kVideoDecoderPSX = 2, kVideoDecoderMP2 = 3 }
 
enum  { kSaveDialog, kRestoreDialog }
 
enum  { GF_SPANISHDEMO = 1 << 0 }
 
enum  {
  ANIMATION_FILE = 1, SCREEN_FILE = 2, GAME_OBJECT = 3, WALK_GRID_FILE = 4,
  GLOBAL_VAR_FILE = 5, PARALLAX_FILE_null = 6, RUN_LIST = 7, TEXT_FILE = 8,
  SCREEN_MANAGER = 9, MOUSE_FILE = 10, WAV_FILE = 11, ICON_FILE = 12,
  PALETTE_FILE = 13
}
 
enum  { NO_COMPRESSION = 0, FILE_COMPRESSION = 1 }
 
enum  { NONE = 0, RLE256 = 1, RLE16 = 2 }
 
enum  { FRAME_OFFSET = 1, FRAME_FLIPPED = 2, FRAME_256_FAST = 4 }
 
enum  {
  IR_STOP = 0, IR_CONT = 1, IR_TERMINATE = 2, IR_REPEAT = 3,
  IR_GOSUB = 4
}
 
enum  {
  CP_END_SCRIPT = 0, CP_PUSH_LOCAL_VAR32 = 1, CP_PUSH_GLOBAL_VAR32 = 2, CP_POP_LOCAL_VAR32 = 3,
  CP_CALL_MCODE = 4, CP_PUSH_LOCAL_ADDR = 5, CP_PUSH_INT32 = 6, CP_SKIPONFALSE = 7,
  CP_SKIPALWAYS = 8, CP_SWITCH = 9, CP_ADDNPOP_LOCAL_VAR32 = 10, CP_SUBNPOP_LOCAL_VAR32 = 11,
  CP_SKIPONTRUE = 12, CP_POP_GLOBAL_VAR32 = 13, CP_ADDNPOP_GLOBAL_VAR32 = 14, CP_SUBNPOP_GLOBAL_VAR32 = 15,
  CP_DEBUGON = 16, CP_DEBUGOFF = 17, CP_QUIT = 18, CP_TERMINATE = 19,
  OP_ISEQUAL = 20, OP_PLUS = 21, OP_MINUS = 22, OP_TIMES = 23,
  OP_DIVIDE = 24, OP_NOTEQUAL = 25, OP_ANDAND = 26, OP_GTTHAN = 27,
  OP_LSTHAN = 28, CP_JUMP_ON_RETURNED = 29, CP_TEMP_TEXT_PROCESS = 30, CP_SAVE_MCODE_START = 31,
  CP_RESTART_SCRIPT = 32, CP_PUSH_STRING = 33, CP_PUSH_DEREFERENCED_STRUCTURE = 34, OP_GTTHANE = 35,
  OP_LSTHANE = 36, OP_OROR = 37
}
 
enum  {
  NO_JUSTIFICATION = 0, POSITION_AT_CENTER_OF_BASE = 1, POSITION_AT_CENTER_OF_TOP = 2, POSITION_AT_LEFT_OF_TOP = 3,
  POSITION_AT_RIGHT_OF_TOP = 4, POSITION_AT_LEFT_OF_BASE = 5, POSITION_AT_RIGHT_OF_BASE = 6, POSITION_AT_LEFT_OF_CENTER = 7,
  POSITION_AT_RIGHT_OF_CENTER = 8, POSITION_AT_CENTER_OF_CENTER = 9
}
 
enum  { DEFAULT_TEXT = 0, FINNISH_TEXT = 1, POLISH_TEXT = 2 }
 
enum  {
  MOUSE_normal = 0, MOUSE_menu = 1, MOUSE_drag = 2, MOUSE_system_menu = 3,
  MOUSE_holding = 4
}
 
enum  { RDMOUSE_NOFLASH, RDMOUSE_FLASH }
 
enum  {
  RDMENU_HIDDEN, RDMENU_SHOWN, RDMENU_OPENING, RDMENU_CLOSING,
  RDMENU_ALMOST_HIDDEN
}
 
enum  {
  SR_OK, SR_ERR_FILEOPEN, SR_ERR_INCOMPATIBLE, SR_ERR_READFAIL,
  SR_ERR_WRITEFAIL
}
 
enum  {
  RDSPR_TRANS = 0x0001, RDSPR_BLEND = 0x0004, RDSPR_FLIP = 0x0008, RDSPR_SHADOW = 0x0010,
  RDSPR_DISPLAYALIGN = 0x0020, RDSPR_NOCOMPRESSION = 0x0040, RDSPR_EDGEBLEND = 0x0080, RDSPR_RLE16 = 0x0000,
  RDSPR_RLE256 = 0x0100, RDSPR_RLE256FAST = 0x0200
}
 
enum  { RDFADE_NONE, RDFADE_UP, RDFADE_DOWN, RDFADE_BLACK }
 
enum  { RDPAL_FADE, RDPAL_INSTANT }
 
enum  { RDBLTFX_SPRITEBLEND = 0x01, RDBLTFX_SHADOWBLEND = 0x02, RDBLTFX_EDGEBLEND = 0x04 }
 
enum  { kCLUMode = 1, kMP3Mode, kVorbisMode, kFLACMode }
 
enum  { kLeadInSound, kLeadOutSound }
 
enum  {
  FX_SPOT = 0, FX_LOOP = 1, FX_RANDOM = 2, FX_SPOT2 = 3,
  FX_LOOPING = 4
}
 
enum  {
  RDSE_SAMPLEFINISHED = 0, RDSE_SAMPLEPLAYING = 1, RDSE_FXTOCLEAR = 0, RDSE_FXCACHED = 1,
  RDSE_FXSPOT = 0, RDSE_FXLOOP = 1, RDSE_FXLEADIN = 2, RDSE_FXLEADOUT = 3,
  RDSE_QUIET = 1, RDSE_SPEAKING = 0
}
 
enum  {
  RD_LEFTBUTTONDOWN = 0x01, RD_LEFTBUTTONUP = 0x02, RD_RIGHTBUTTONDOWN = 0x04, RD_RIGHTBUTTONUP = 0x08,
  RD_WHEELUP = 0x10, RD_WHEELDOWN = 0x20, RD_KEYDOWN = 0x40
}
 

Functions

MoviePlayermakeMoviePlayer (const char *name, Sword2Engine *vm, OSystem *system, uint32 frameCount)
 

Detailed Description

This is the namespace of the Sword2 engine.

Status of this engine: ???

Games using this engine:

  • Broken Sword II: The Smoking Mirror