C# Class NScumm.Sword1.Screen

Mostra file Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
AddToGraphicList ( byte listId, uint objId ) : void
ClearScreen ( ) : void
DecompressHIF ( byte src, int srcOff, byte dest ) : void
Draw ( ) : void
FadeDownPalette ( ) : void
FadeUpPalette ( ) : void
FnFlash ( byte color ) : void
FnSetPalette ( byte start, ushort length, uint id, bool fadeUp ) : void
FnSetParallax ( uint screen, uint resId ) : void
FullRefresh ( ) : void
NewScreen ( uint screen ) : void
QuitScreen ( ) : void
Screen ( string directory, ISystem system, ResMan resMan, ObjectMan objMan ) : System
SetScrolling ( short offsetX, short offsetY ) : void
ShowFrame ( ushort x, ushort y, uint resId, uint frameNo, byte fadeMask = null, sbyte fadeStatus ) : void
ShowScrollFrame ( ) : bool
StillFading ( ) : bool
UpdateScreen ( ) : void

Private Methods

Method Description
BlitBlockClear ( ushort x, ushort y, ByteAccess data ) : void
DecompressRLE0 ( byte src, int srcOffset, uint compSize, byte dest ) : void
DecompressRLE7 ( byte src, int srcOffset, uint compSize, byte dest ) : void
DecompressTony ( byte src, int srcOffset, uint compSize, byte dest ) : void
DrawPsxFullShrinkedSprite ( byte sprData, int offset, ushort sprX, ushort sprY, ushort sprWidth, ushort sprHeight, ushort sprPitch ) : void
DrawPsxHalfShrinkedSprite ( byte sprData, int offset, ushort sprX, ushort sprY, ushort sprWidth, ushort sprHeight, ushort sprPitch ) : void
DrawPsxParallax ( byte psxParallax, ushort paraScrlX, ushort scrnScrlX, ushort scrnWidth ) : void
DrawSprite ( ByteAccess sprData, ushort sprX, ushort sprY, ushort sprWidth, ushort sprHeight, ushort sprPitch ) : void
FadePalette ( ) : void
FastShrink ( ByteAccess src, ushort width, ushort height, uint scale, byte dest ) : void
FetchPsxParallaxSize ( byte psxParallax, ushort &paraSizeX, ushort &paraSizeY ) : void
FlushPsxCache ( ) : void
ProcessImage ( uint id ) : void
PsxBackgroundToIndexed ( byte psxBackground, int offset, int bakXres, int bakYres ) : byte[]
PsxShrinkedBackgroundToIndexed ( byte psxBackground, int offset, int bakXres, int bakYres ) : byte[]
RenderParallax ( byte data ) : void
SpriteClipAndSet ( ushort &pSprX, ushort &pSprY, ushort &pSprWidth, ushort &pSprHeight, ushort &incr ) : void
VerticalMask ( ushort x, ushort y, ushort bWidth, ushort bHeight ) : void

Method Details

AddToGraphicList() public method

public AddToGraphicList ( byte listId, uint objId ) : void
listId byte
objId uint
return void

ClearScreen() public method

public ClearScreen ( ) : void
return void

DecompressHIF() public static method

public static DecompressHIF ( byte src, int srcOff, byte dest ) : void
src byte
srcOff int
dest byte
return void

Draw() public method

public Draw ( ) : void
return void

FadeDownPalette() public method

public FadeDownPalette ( ) : void
return void

FadeUpPalette() public method

public FadeUpPalette ( ) : void
return void

FnFlash() public method

public FnFlash ( byte color ) : void
color byte
return void

FnSetPalette() public method

public FnSetPalette ( byte start, ushort length, uint id, bool fadeUp ) : void
start byte
length ushort
id uint
fadeUp bool
return void

FnSetParallax() public method

public FnSetParallax ( uint screen, uint resId ) : void
screen uint
resId uint
return void

FullRefresh() public method

public FullRefresh ( ) : void
return void

NewScreen() public method

public NewScreen ( uint screen ) : void
screen uint
return void

QuitScreen() public method

public QuitScreen ( ) : void
return void

Screen() public method

public Screen ( string directory, ISystem system, ResMan resMan, ObjectMan objMan ) : System
directory string
system ISystem
resMan ResMan
objMan ObjectMan
return System

SetScrolling() public method

public SetScrolling ( short offsetX, short offsetY ) : void
offsetX short
offsetY short
return void

ShowFrame() public method

public ShowFrame ( ushort x, ushort y, uint resId, uint frameNo, byte fadeMask = null, sbyte fadeStatus ) : void
x ushort
y ushort
resId uint
frameNo uint
fadeMask byte
fadeStatus sbyte
return void

ShowScrollFrame() public method

public ShowScrollFrame ( ) : bool
return bool

StillFading() public method

public StillFading ( ) : bool
return bool

UpdateScreen() public method

public UpdateScreen ( ) : void
return void