C# Class NScumm.Scumm.Smush.SmushPlayer

Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Méthodes publiques

Méthode Description
DecodeFrameObject ( int codec, byte src, int left, int top, int width, int height ) : void
GetFont ( int font ) : SmushFont
GetString ( int id ) : string
HandleAnimHeader ( uint subSize, BinaryReader b ) : void
HandleDeltaPalette ( uint subSize, BinaryReader b ) : void
HandleFetch ( uint subSize, BinaryReader b ) : void
HandleFrame ( uint frameSize, BinaryReader b ) : void
HandleFrameObject ( uint subSize, BinaryReader b ) : void
HandleIACT ( uint subSize, BinaryReader b ) : void
HandleNewPalette ( uint subSize, BinaryReader b ) : void
HandleSoundBuffer ( int track_id, int index, int max_frames, int flags, int vol, int pan, BinaryReader b, int size ) : void
HandleSoundFrame ( uint subSize, BinaryReader b ) : void
HandleStore ( uint subSize, BinaryReader b ) : void
HandleTextResource ( string subType, uint subSize, BinaryReader b ) : void
Init ( int speed ) : void
Insanity ( bool flag ) : void
ParseNextFrame ( ) : void
Play ( string filename, int speed, int offset, int startFrame ) : void
Release ( ) : void
SeekSan ( string filename, int pos, int contFrame ) : void
SetDirtyColors ( int min, int max ) : void
SetPalette ( byte palette ) : void
SetPaletteValue ( int n, byte r, byte g, byte b ) : void
SetupAnim ( string file ) : void
SmushPlayer ( ScummEngine7 scumm ) : System
TimerCallback ( ) : void
TryCmpFile ( string filename ) : void
UpdateScreen ( ) : void

Private Methods

Méthode Description
DeltaColor ( int org_color, int delta_color ) : byte
GetStrings ( ScummEngine vm, string file, bool isEncoded ) : TrsFile
ReadPalette ( BinaryReader b ) : Palette
ReadString ( string file ) : bool
SmushDecodeCodec1 ( byte dst, int dstPos, byte src, int srcfOffset, int left, int top, int width, int height, int pitch ) : void

Method Details

DecodeFrameObject() public méthode

public DecodeFrameObject ( int codec, byte src, int left, int top, int width, int height ) : void
codec int
src byte
left int
top int
width int
height int
Résultat void

GetFont() public méthode

public GetFont ( int font ) : SmushFont
font int
Résultat SmushFont

GetString() public méthode

public GetString ( int id ) : string
id int
Résultat string

HandleAnimHeader() public méthode

public HandleAnimHeader ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
Résultat void

HandleDeltaPalette() public méthode

public HandleDeltaPalette ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
Résultat void

HandleFetch() public méthode

public HandleFetch ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
Résultat void

HandleFrame() public méthode

public HandleFrame ( uint frameSize, BinaryReader b ) : void
frameSize uint
b System.IO.BinaryReader
Résultat void

HandleFrameObject() public méthode

public HandleFrameObject ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
Résultat void

HandleIACT() public méthode

public HandleIACT ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
Résultat void

HandleNewPalette() public méthode

public HandleNewPalette ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
Résultat void

HandleSoundBuffer() public méthode

public HandleSoundBuffer ( int track_id, int index, int max_frames, int flags, int vol, int pan, BinaryReader b, int size ) : void
track_id int
index int
max_frames int
flags int
vol int
pan int
b System.IO.BinaryReader
size int
Résultat void

HandleSoundFrame() public méthode

public HandleSoundFrame ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
Résultat void

HandleStore() public méthode

public HandleStore ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
Résultat void

HandleTextResource() public méthode

public HandleTextResource ( string subType, uint subSize, BinaryReader b ) : void
subType string
subSize uint
b System.IO.BinaryReader
Résultat void

Init() public méthode

public Init ( int speed ) : void
speed int
Résultat void

Insanity() public méthode

public Insanity ( bool flag ) : void
flag bool
Résultat void

ParseNextFrame() public méthode

public ParseNextFrame ( ) : void
Résultat void

Play() public méthode

public Play ( string filename, int speed, int offset, int startFrame ) : void
filename string
speed int
offset int
startFrame int
Résultat void

Release() public méthode

public Release ( ) : void
Résultat void

SeekSan() public méthode

public SeekSan ( string filename, int pos, int contFrame ) : void
filename string
pos int
contFrame int
Résultat void

SetDirtyColors() public méthode

public SetDirtyColors ( int min, int max ) : void
min int
max int
Résultat void

SetPalette() public méthode

public SetPalette ( byte palette ) : void
palette byte
Résultat void

SetPaletteValue() public méthode

public SetPaletteValue ( int n, byte r, byte g, byte b ) : void
n int
r byte
g byte
b byte
Résultat void

SetupAnim() public méthode

public SetupAnim ( string file ) : void
file string
Résultat void

SmushPlayer() public méthode

public SmushPlayer ( ScummEngine7 scumm ) : System
scumm ScummEngine7
Résultat System

TimerCallback() public méthode

public TimerCallback ( ) : void
Résultat void

TryCmpFile() public méthode

public TryCmpFile ( string filename ) : void
filename string
Résultat void

UpdateScreen() public méthode

public UpdateScreen ( ) : void
Résultat void