Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Classes | Enumerations | Functions | Variables

Sword2 Namespace Reference

Classes

struct  AnimHeader
struct  BarData
struct  BlockSurface
struct  BuildUnit
class  Button
struct  CdInf
struct  CdtEntry
class  CLUInputStream
struct  CreditsLine
class  Debugger
class  Dialog
class  DXADecoderWithSound
struct  EventUnit
class  FontRenderer
class  FontRendererGui
struct  FrameHeader
struct  GameSettings
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  SafeSubReadStream
class  SaveDialog
class  SaveRestoreDialog
class  Screen
struct  ScreenHeader
struct  ScreenInfo
class  ScrollButton
class  Slider
class  Slot
class  Sound
struct  SoundFileHandle
struct  SpriteInfo
class  StartDialog
struct  StartUp
struct  SubjectUnit
class  Switch
class  Sword2Engine
struct  TextBloc
struct  TextHeader
struct  WalkData
struct  WalkGridHeader
class  Widget

Enumerations

enum  {
  kSelectSlot = -1, kDeselectSlot = -2, kWheelDown = -3, kWheelUp = -4,
  kStartEditing = -5, kCursorTick = -6
}
enum  { kSaveDialog, kRestoreDialog }
enum  {
  S_OB_GRAPHIC = 0, S_OB_SPEECH = 1, S_OB_LOGIC = 2, S_OB_MEGA = 3,
  S_TEXT = 4, S_WAV = 5, S_ANIM = 6, S_DIR_TABLE = 7,
  S_ANIM_MODE = 8
}
enum  {
  INS_talk = 1, INS_anim = 2, INS_reverse_anim = 3, INS_walk = 4,
  INS_turn = 5, INS_face = 6, INS_trace = 7, INS_no_sprite = 8,
  INS_sort = 9, INS_foreground = 10, INS_background = 11, INS_table_anim = 12,
  INS_reverse_table_anim = 13, INS_walk_to_anim = 14, INS_set_frame = 15, INS_stand_after_anim = 16,
  INS_quit = 42
}
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_CENTRE_OF_BASE = 1, POSITION_AT_CENTRE_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_CENTRE = 7,
  POSITION_AT_RIGHT_OF_CENTRE = 8
}
enum  { DEFAULT_TEXT = 0, FINNISH_TEXT = 1, POLISH_TEXT = 2 }
enum  {
  CROSHAIR = 18, EXIT0 = 788, EXIT1 = 789, EXIT2 = 790,
  EXIT3 = 791, EXIT4 = 792, EXIT5 = 793, EXIT6 = 794,
  EXIT7 = 795, EXITDOWN = 796, EXITUP = 797, MOUTH = 787,
  NORMAL = 17, PICKUP = 3099, SCROLL_L = 1440, SCROLL_R = 1441,
  USE = 3100
}
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  {
  BOTH = 0x0, CD1 = 0x1, CD2 = 0x2, LOCAL_CACHE = 0x4,
  LOCAL_PERM = 0x8
}
enum  {
  SR_OK, SR_ERR_FILEOPEN, SR_ERR_INCOMPATIBLE, SR_ERR_READFAIL,
  SR_ERR_WRITEFAIL
}
enum  { LINE_LEFT, LINE_CENTER, LINE_RIGHT }
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  {
  S_OB_GRAPHIC = 0, S_OB_SPEECH = 1, S_OB_LOGIC = 2, S_OB_MEGA = 3,
  S_TEXT = 4, S_WAV = 5, S_ANIM = 6, S_DIR_TABLE = 7,
  S_ANIM_MODE = 8
}
enum  { GF_DEMO = 1 << 0 }
enum  {
  RD_LEFTBUTTONDOWN = 0x01, RD_LEFTBUTTONUP = 0x02, RD_RIGHTBUTTONDOWN = 0x04, RD_RIGHTBUTTONUP = 0x08,
  RD_WHEELUP = 0x10, RD_WHEELDOWN = 0x20, RD_KEYDOWN = 0x40
}
enum  DecoderType { kVideoDecoderDXA = 0, kVideoDecoderSMK = 1 }

Functions

static int compare_blocks (const void *p1, const void *p2)
static Audio::AudioStreamgetAudioStream (SoundFileHandle *fh, const char *base, int cd, uint32 id, uint32 *numSamples)
static Audio::AudioStreammakeCLUStream (Common::File *fp, int size)
MoviePlayermakeMoviePlayer (const char *name, Sword2Engine *vm, Audio::Mixer *snd, OSystem *system)
static Audio::AudioStreammakePSXCLUStream (Common::File *fp, int size)
static void plot (int x, int y, int colour, void *data)

Variables

static int baseSlot = 0
static const GameSettings sword2_settings []

Detailed Description

This is the namespace of the Sword2 engine.

Status of this engine: ???

Supported games:


Generated by  Doxygen 1.6.0   Back to index