C# Class PortraitInserter.PortraitFormat

Mostrar archivo Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Private Properties

Property Type Description
Decomp byte[]
GetBitmat CanCauseError
GetData CanCauseError
GetFormat PortraitFormat
GetNormalFormat CanCauseError
GetPortraitFromRaw CanCauseError
Insert ManagedPointer
LZ77Length int
Move void
PortraitFormat System
ReverseMapping Point>>.IEnumerable
WriteData CanCauseError

Public Methods

Method Description
GetPortrait ( GeneralizedPointerTableEntry entry, IROM rom ) : CanCauseError
WriteData ( Bitmap picture, IAllocator allocator, IROM rom ) : CanCauseError

Private Methods

Method Description
Decomp ( IROM rom, int offset ) : byte[]
GetBitmat ( GeneralizedPointerTableEntry entry, IROM rom ) : CanCauseError
GetData ( IROM rom, int offset, bool compressed, int size, string error ) : CanCauseError
GetFormat ( string game ) : PortraitFormat
GetNormalFormat ( byte rawPortrait, byte rawMini, byte rawMouth, Color palette ) : CanCauseError
GetPortraitFromRaw ( byte rawPortrait, byte rawMini, byte rawPalette, byte rawMouth, byte rawGeneric ) : CanCauseError
Insert ( Bitmap toInsert, Color palette, int blockAdded, bool compressed, IROM rom, IAllocator allocator ) : ManagedPointer
LZ77Length ( int offset, IROM rom ) : int
Move ( Bitmap source, Bitmap dest, Point>.IEnumerable mapping ) : void
PortraitFormat ( ) : System

Initializes built-in formats

ReverseMapping ( Point>.IEnumerable mapping ) : Point>>.IEnumerable
WriteData ( PortraitFormat format, Bitmap picture, IAllocator allocator, IROM rom ) : CanCauseError

Method Details

GetPortrait() public static method

public static GetPortrait ( GeneralizedPointerTableEntry entry, IROM rom ) : CanCauseError
entry PortraitInserter.Portraits.GeneralizedPointerTableEntry
rom IROM
return CanCauseError

WriteData() public static method

public static WriteData ( Bitmap picture, IAllocator allocator, IROM rom ) : CanCauseError
picture System.Drawing.Bitmap
allocator IAllocator
rom IROM
return CanCauseError