C# Class PluginVideoNes.Video

Inheritance: IVideoPluginNes
Afficher le fichier Open project: spiiin/CadEditor

Méthodes publiques

Свойство Type Description
CHUNK_COUNT int
CadObjectTypeColors Color[]
NES_COLORS_COUNT int
nesColors Color[]

Méthodes publiques

Méthode Description
getName ( ) : string
makeBigBlock ( int i, BigBlock bigBlocks, Image smallBlockss ) : Bitmap
makeBigBlockCapcom ( int i, BigBlock bigBlocks, Image smallBlockss ) : Bitmap
makeBigBlockTT ( int i, BigBlock bigBlocks, Image smallBlocksAll ) : Bitmap
makeBigBlocks ( int videoNo, int bigBlockNo, BigBlock bigBlockIndexes, int palleteNo, MapViewType smallObjectsViewType = MapViewType.Tiles, float smallBlockScaleFactor = 2.0f, float curButtonScale = 2, MapViewType curViewType = MapViewType.Tiles, bool showAxis = false, int hierarchyLevel ) : Image[]
makeBigBlocks ( int videoNo, int bigBlockNo, int blockNo, int palleteNo, MapViewType smallObjectsViewType = MapViewType.Tiles, float smallBlockScaleFactor = 2.0f, float curButtonScale = 2, MapViewType curViewType = MapViewType.Tiles, bool showAxis = false, int hierarchyLevel ) : Image[]
makeImage ( int index, byte videoChunk, byte pallete, int subPalIndex, float scale, bool scaleAccurate = true, bool withAlpha = false ) : Bitmap
makeImageRectangle ( byte videoChunk, byte pallete, int subPalIndex, float scale, bool scaleAccurate = true, bool withAlpha = false ) : Bitmap
makeImageStrip ( byte videoChunk, byte pallete, int subPalIndex, float scale, bool scaleAccurate = true, bool withAlpha = false ) : Bitmap
makeObject ( int index, CadEditor.ObjRec objects, Bitmap objStrips, float scale, MapViewType drawType, int constantSubpal = -1 ) : Bitmap
makeObjectsRectangle ( byte videoPageId, byte tilesId, byte palId, float scale, MapViewType drawType, int constantSubpal = -1 ) : Bitmap
makeObjectsStrip ( byte videoPageId, byte tilesId, byte palId, float scale, MapViewType drawType, int constantSubpal = -1 ) : Bitmap
makeScreen ( int scrNo, int levelNo, int videoNo, int bigBlockNo, int blockNo, int palleteNo, float scale = 2.0f, bool withBorders = true ) : Bitmap
updateColorsFromConfig ( ) : void

Private Methods

Méthode Description
Video ( ) : System
getTTSmallBlocksColorByte ( int index ) : byte
mixBits ( bool hi, bool lo ) : int

Method Details

getName() public méthode

public getName ( ) : string
Résultat string

makeBigBlock() public méthode

public makeBigBlock ( int i, BigBlock bigBlocks, Image smallBlockss ) : Bitmap
i int
bigBlocks BigBlock
smallBlockss Image
Résultat System.Drawing.Bitmap

makeBigBlockCapcom() public méthode

public makeBigBlockCapcom ( int i, BigBlock bigBlocks, Image smallBlockss ) : Bitmap
i int
bigBlocks BigBlock
smallBlockss Image
Résultat System.Drawing.Bitmap

makeBigBlockTT() public méthode

public makeBigBlockTT ( int i, BigBlock bigBlocks, Image smallBlocksAll ) : Bitmap
i int
bigBlocks BigBlock
smallBlocksAll Image
Résultat System.Drawing.Bitmap

makeBigBlocks() public méthode

public makeBigBlocks ( int videoNo, int bigBlockNo, BigBlock bigBlockIndexes, int palleteNo, MapViewType smallObjectsViewType = MapViewType.Tiles, float smallBlockScaleFactor = 2.0f, float curButtonScale = 2, MapViewType curViewType = MapViewType.Tiles, bool showAxis = false, int hierarchyLevel ) : Image[]
videoNo int
bigBlockNo int
bigBlockIndexes BigBlock
palleteNo int
smallObjectsViewType MapViewType
smallBlockScaleFactor float
curButtonScale float
curViewType MapViewType
showAxis bool
hierarchyLevel int
Résultat Image[]

makeBigBlocks() public méthode

public makeBigBlocks ( int videoNo, int bigBlockNo, int blockNo, int palleteNo, MapViewType smallObjectsViewType = MapViewType.Tiles, float smallBlockScaleFactor = 2.0f, float curButtonScale = 2, MapViewType curViewType = MapViewType.Tiles, bool showAxis = false, int hierarchyLevel ) : Image[]
videoNo int
bigBlockNo int
blockNo int
palleteNo int
smallObjectsViewType MapViewType
smallBlockScaleFactor float
curButtonScale float
curViewType MapViewType
showAxis bool
hierarchyLevel int
Résultat Image[]

makeImage() public méthode

public makeImage ( int index, byte videoChunk, byte pallete, int subPalIndex, float scale, bool scaleAccurate = true, bool withAlpha = false ) : Bitmap
index int
videoChunk byte
pallete byte
subPalIndex int
scale float
scaleAccurate bool
withAlpha bool
Résultat System.Drawing.Bitmap

makeImageRectangle() public méthode

public makeImageRectangle ( byte videoChunk, byte pallete, int subPalIndex, float scale, bool scaleAccurate = true, bool withAlpha = false ) : Bitmap
videoChunk byte
pallete byte
subPalIndex int
scale float
scaleAccurate bool
withAlpha bool
Résultat System.Drawing.Bitmap

makeImageStrip() public méthode

public makeImageStrip ( byte videoChunk, byte pallete, int subPalIndex, float scale, bool scaleAccurate = true, bool withAlpha = false ) : Bitmap
videoChunk byte
pallete byte
subPalIndex int
scale float
scaleAccurate bool
withAlpha bool
Résultat System.Drawing.Bitmap

makeObject() public méthode

public makeObject ( int index, CadEditor.ObjRec objects, Bitmap objStrips, float scale, MapViewType drawType, int constantSubpal = -1 ) : Bitmap
index int
objects CadEditor.ObjRec
objStrips System.Drawing.Bitmap
scale float
drawType MapViewType
constantSubpal int
Résultat System.Drawing.Bitmap

makeObjectsRectangle() public méthode

public makeObjectsRectangle ( byte videoPageId, byte tilesId, byte palId, float scale, MapViewType drawType, int constantSubpal = -1 ) : Bitmap
videoPageId byte
tilesId byte
palId byte
scale float
drawType MapViewType
constantSubpal int
Résultat System.Drawing.Bitmap

makeObjectsStrip() public méthode

public makeObjectsStrip ( byte videoPageId, byte tilesId, byte palId, float scale, MapViewType drawType, int constantSubpal = -1 ) : Bitmap
videoPageId byte
tilesId byte
palId byte
scale float
drawType MapViewType
constantSubpal int
Résultat System.Drawing.Bitmap

makeScreen() public méthode

public makeScreen ( int scrNo, int levelNo, int videoNo, int bigBlockNo, int blockNo, int palleteNo, float scale = 2.0f, bool withBorders = true ) : Bitmap
scrNo int
levelNo int
videoNo int
bigBlockNo int
blockNo int
palleteNo int
scale float
withBorders bool
Résultat System.Drawing.Bitmap

updateColorsFromConfig() public méthode

public updateColorsFromConfig ( ) : void
Résultat void

Property Details

CHUNK_COUNT public_oe static_oe property

public static int CHUNK_COUNT
Résultat int

CadObjectTypeColors public_oe static_oe property

public static Color[] CadObjectTypeColors
Résultat Color[]

NES_COLORS_COUNT public_oe static_oe property

public static int NES_COLORS_COUNT
Résultat int

nesColors public_oe static_oe property

public static Color[] nesColors
Résultat Color[]