C# Класс NScumm.Sword1.Screen

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddToGraphicList() публичный Метод

public AddToGraphicList ( byte listId, uint objId ) : void
listId byte
objId uint
Результат void

ClearScreen() публичный Метод

public ClearScreen ( ) : void
Результат void

DecompressHIF() публичный статический Метод

public static DecompressHIF ( byte src, int srcOff, byte dest ) : void
src byte
srcOff int
dest byte
Результат void

Draw() публичный Метод

public Draw ( ) : void
Результат void

FadeDownPalette() публичный Метод

public FadeDownPalette ( ) : void
Результат void

FadeUpPalette() публичный Метод

public FadeUpPalette ( ) : void
Результат void

FnFlash() публичный Метод

public FnFlash ( byte color ) : void
color byte
Результат void

FnSetPalette() публичный Метод

public FnSetPalette ( byte start, ushort length, uint id, bool fadeUp ) : void
start byte
length ushort
id uint
fadeUp bool
Результат void

FnSetParallax() публичный Метод

public FnSetParallax ( uint screen, uint resId ) : void
screen uint
resId uint
Результат void

FullRefresh() публичный Метод

public FullRefresh ( ) : void
Результат void

NewScreen() публичный Метод

public NewScreen ( uint screen ) : void
screen uint
Результат void

QuitScreen() публичный Метод

public QuitScreen ( ) : void
Результат void

Screen() публичный Метод

public Screen ( string directory, ISystem system, ResMan resMan, ObjectMan objMan ) : System
directory string
system ISystem
resMan ResMan
objMan ObjectMan
Результат System

SetScrolling() публичный Метод

public SetScrolling ( short offsetX, short offsetY ) : void
offsetX short
offsetY short
Результат void

ShowFrame() публичный Метод

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
Результат void

ShowScrollFrame() публичный Метод

public ShowScrollFrame ( ) : bool
Результат bool

StillFading() публичный Метод

public StillFading ( ) : bool
Результат bool

UpdateScreen() публичный Метод

public UpdateScreen ( ) : void
Результат void