C# 클래스 NScumm.Scumm.Smush.SmushPlayer

파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

DecodeFrameObject() 공개 메소드

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
리턴 void

GetFont() 공개 메소드

public GetFont ( int font ) : SmushFont
font int
리턴 SmushFont

GetString() 공개 메소드

public GetString ( int id ) : string
id int
리턴 string

HandleAnimHeader() 공개 메소드

public HandleAnimHeader ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
리턴 void

HandleDeltaPalette() 공개 메소드

public HandleDeltaPalette ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
리턴 void

HandleFetch() 공개 메소드

public HandleFetch ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
리턴 void

HandleFrame() 공개 메소드

public HandleFrame ( uint frameSize, BinaryReader b ) : void
frameSize uint
b System.IO.BinaryReader
리턴 void

HandleFrameObject() 공개 메소드

public HandleFrameObject ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
리턴 void

HandleIACT() 공개 메소드

public HandleIACT ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
리턴 void

HandleNewPalette() 공개 메소드

public HandleNewPalette ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
리턴 void

HandleSoundBuffer() 공개 메소드

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
리턴 void

HandleSoundFrame() 공개 메소드

public HandleSoundFrame ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
리턴 void

HandleStore() 공개 메소드

public HandleStore ( uint subSize, BinaryReader b ) : void
subSize uint
b System.IO.BinaryReader
리턴 void

HandleTextResource() 공개 메소드

public HandleTextResource ( string subType, uint subSize, BinaryReader b ) : void
subType string
subSize uint
b System.IO.BinaryReader
리턴 void

Init() 공개 메소드

public Init ( int speed ) : void
speed int
리턴 void

Insanity() 공개 메소드

public Insanity ( bool flag ) : void
flag bool
리턴 void

ParseNextFrame() 공개 메소드

public ParseNextFrame ( ) : void
리턴 void

Play() 공개 메소드

public Play ( string filename, int speed, int offset, int startFrame ) : void
filename string
speed int
offset int
startFrame int
리턴 void

Release() 공개 메소드

public Release ( ) : void
리턴 void

SeekSan() 공개 메소드

public SeekSan ( string filename, int pos, int contFrame ) : void
filename string
pos int
contFrame int
리턴 void

SetDirtyColors() 공개 메소드

public SetDirtyColors ( int min, int max ) : void
min int
max int
리턴 void

SetPalette() 공개 메소드

public SetPalette ( byte palette ) : void
palette byte
리턴 void

SetPaletteValue() 공개 메소드

public SetPaletteValue ( int n, byte r, byte g, byte b ) : void
n int
r byte
g byte
b byte
리턴 void

SetupAnim() 공개 메소드

public SetupAnim ( string file ) : void
file string
리턴 void

SmushPlayer() 공개 메소드

public SmushPlayer ( ScummEngine7 scumm ) : System
scumm ScummEngine7
리턴 System

TimerCallback() 공개 메소드

public TimerCallback ( ) : void
리턴 void

TryCmpFile() 공개 메소드

public TryCmpFile ( string filename ) : void
filename string
리턴 void

UpdateScreen() 공개 메소드

public UpdateScreen ( ) : void
리턴 void