C# Class NScumm.Sky.Screen

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public ClearScreen ( ) : void
Résultat void

Flip() public méthode

public Flip ( bool doUpdate = true ) : void
doUpdate bool
Résultat void

FnDrawScreen() public méthode

public FnDrawScreen ( uint palette, uint scroll ) : void
palette uint
scroll uint
Résultat void

FnFadeDown() public méthode

public FnFadeDown ( uint scroll ) : void
scroll uint
Résultat void

FnFadeUp() public méthode

public FnFadeUp ( uint palNum, uint scroll ) : void
palNum uint
scroll uint
Résultat void

ForceRefresh() public méthode

public ForceRefresh ( ) : void
Résultat void

HalvePalette() public méthode

public HalvePalette ( ) : void
Résultat void

PaletteFadeUp() public méthode

public PaletteFadeUp ( ushort fileNr ) : void
fileNr ushort
Résultat void

ProcessSequence() public méthode

public ProcessSequence ( ) : void
Résultat void

Recreate() public méthode

public Recreate ( ) : void
Résultat void

Screen() public méthode

public Screen ( ISystem system, Disk disk, SkyCompact skyCompact ) : System
system ISystem
disk Disk
skyCompact SkyCompact
Résultat System

SeqFramesLeft() public méthode

public SeqFramesLeft ( ) : uint
Résultat uint

SequenceRunning() public méthode

public SequenceRunning ( ) : bool
Résultat bool

SetFocusRectangle() public méthode

public SetFocusRectangle ( Rect rect ) : void
rect Rect
Résultat void

SetPalette() public méthode

public SetPalette ( ushort fileNum ) : void
fileNum ushort
Résultat void

SetPaletteEndian() public méthode

public SetPaletteEndian ( byte pal ) : void
pal byte
Résultat void

ShowGrid() public méthode

public ShowGrid ( byte grid ) : void
grid byte
Résultat void

ShowScreen() public méthode

public ShowScreen ( byte screen ) : void
screen byte
Résultat void

ShowScreen() public méthode

public ShowScreen ( int fileNum ) : void
fileNum int
Résultat void

SpriteEngine() public méthode

public SpriteEngine ( ) : void
Résultat void

StartSequence() public méthode

public StartSequence ( ushort fileNum ) : void
fileNum ushort
Résultat void

StartSequenceItem() public méthode

public StartSequenceItem ( ushort itemNum ) : void
itemNum ushort
Résultat void

StopSequence() public méthode

public StopSequence ( ) : void
Résultat void

WaitForSequence() public méthode

public WaitForSequence ( ) : void
Résultat void