C# Class NScumm.Sky.Screen

Datei anzeigen Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
ClearScreen ( ) : void
Flip ( bool doUpdate = true ) : void
FnDrawScreen ( uint palette, uint scroll ) : void
FnFadeDown ( uint scroll ) : void
FnFadeUp ( uint palNum, uint scroll ) : void
ForceRefresh ( ) : void
HalvePalette ( ) : void
PaletteFadeUp ( ushort fileNr ) : void
ProcessSequence ( ) : void
Recreate ( ) : void
Screen ( ISystem system, Disk disk, SkyCompact skyCompact ) : System
SeqFramesLeft ( ) : uint
SequenceRunning ( ) : bool
SetFocusRectangle ( Rect rect ) : void
SetPalette ( ushort fileNum ) : void
SetPaletteEndian ( byte pal ) : void
ShowGrid ( byte grid ) : void
ShowScreen ( byte screen ) : void
ShowScreen ( int fileNum ) : void
SpriteEngine ( ) : void
StartSequence ( ushort fileNum ) : void
StartSequenceItem ( ushort itemNum ) : void
StopSequence ( ) : void
WaitForSequence ( ) : void

Private Methods

Method Description
ConvertPalette ( byte pal ) : Color[]
DoSprites ( byte layer ) : void
DrawSprite ( byte spriteInfo, Compact sprCompact ) : void
PaintBox ( ushort x, ushort y ) : void
PaletteFadeDownHelper ( Color pal, uint num ) : void
PaletteFadeUp ( byte pal ) : void
SetPalette ( byte pal ) : void

Set a new palette.

SortSprites ( ) : void
VectorToGame ( byte gridVal ) : void
VertMaskSub ( UShortAccess grid, int gridOfs, int screenPtr, uint layerId ) : void
VerticalMask ( ) : void
WaitForTick ( ) : void

Method Details

ClearScreen() public method

public ClearScreen ( ) : void
return void

Flip() public method

public Flip ( bool doUpdate = true ) : void
doUpdate bool
return void

FnDrawScreen() public method

public FnDrawScreen ( uint palette, uint scroll ) : void
palette uint
scroll uint
return void

FnFadeDown() public method

public FnFadeDown ( uint scroll ) : void
scroll uint
return void

FnFadeUp() public method

public FnFadeUp ( uint palNum, uint scroll ) : void
palNum uint
scroll uint
return void

ForceRefresh() public method

public ForceRefresh ( ) : void
return void

HalvePalette() public method

public HalvePalette ( ) : void
return void

PaletteFadeUp() public method

public PaletteFadeUp ( ushort fileNr ) : void
fileNr ushort
return void

ProcessSequence() public method

public ProcessSequence ( ) : void
return void

Recreate() public method

public Recreate ( ) : void
return void

Screen() public method

public Screen ( ISystem system, Disk disk, SkyCompact skyCompact ) : System
system ISystem
disk Disk
skyCompact SkyCompact
return System

SeqFramesLeft() public method

public SeqFramesLeft ( ) : uint
return uint

SequenceRunning() public method

public SequenceRunning ( ) : bool
return bool

SetFocusRectangle() public method

public SetFocusRectangle ( Rect rect ) : void
rect Rect
return void

SetPalette() public method

public SetPalette ( ushort fileNum ) : void
fileNum ushort
return void

SetPaletteEndian() public method

public SetPaletteEndian ( byte pal ) : void
pal byte
return void

ShowGrid() public method

public ShowGrid ( byte grid ) : void
grid byte
return void

ShowScreen() public method

public ShowScreen ( byte screen ) : void
screen byte
return void

ShowScreen() public method

public ShowScreen ( int fileNum ) : void
fileNum int
return void

SpriteEngine() public method

public SpriteEngine ( ) : void
return void

StartSequence() public method

public StartSequence ( ushort fileNum ) : void
fileNum ushort
return void

StartSequenceItem() public method

public StartSequenceItem ( ushort itemNum ) : void
itemNum ushort
return void

StopSequence() public method

public StopSequence ( ) : void
return void

WaitForSequence() public method

public WaitForSequence ( ) : void
return void