C# Class HaloMap.RawData.ParsedBitmap

Summary description for Bitmap.
Afficher le fichier Open project: troymac1ure/Entity Class Usage Examples

Méthodes publiques

Свойство Type Description
BitmapHeader HaloBitmapHeader
Properties BitmapInfo[]
headersize int

Méthodes publiques

Méthode Description
ConvertCEtoH2ParsedBitmap ( Meta &meta, Map map ) : void

The convert c eto h 2 parsed bitmap.

DecodeBitm ( byte bitmBytes, int height, int width, int depth, int bitsPerPixel, BitmapType type, BitmapFormat format, bool swizzle, Map map, int visualchunkindex, int ident ) : Bitmap

The decode bitm.

FindChunkAndDecode ( int bitmap, int chunknumber, int mipmap, Meta &meta, Map map, int visualchunkindex, int bspnumber ) : Bitmap

The find chunk and decode.

ParsedBitmap ( Meta &meta, Map map ) : System

Initializes a new instance of the ParsedBitmap class.

ReadCEParsedBitmap ( Meta &meta ) : void

The read ce parsed bitmap.

ReadH2ParsedBitmap ( Meta &meta ) : void

The read h 2 parsed bitmap.

bitmapInternalize ( Meta bitmapMeta ) : void

The bitmap internalize.

bitmapInternalizeRaw ( RawDataContainer &raw, Map map ) : void

Internalizes a bitmap by passing raw data. This was primarily written for the bitmap internalization in the mainmenu editor.

Private Methods

Méthode Description
DecodeBitmap ( byte &fart, int height, int width, int depth, int bitsPerPixel, BitmapType type, BitmapFormat format, bool swizzle, Map map, int visualchunkindex, int ident ) : int

The decode bitmap.

RtlMoveMemory ( IntPtr dest, byte src, int cb ) : void
biGetRawTotalSize ( RawDataContainer raw, bool ignoreInternal ) : long

The bi get raw total size.

biUpdateMapInfo ( Map map, int change ) : void

The bi update map info.

genPadding ( int amount, byte type ) : byte[]

The gen padding.

genPaddingSize ( long totRawSize, int padToSize ) : int

The gen padding size.

shift ( FileStream FS, long offset, long size ) : void

The shift.

Method Details

ConvertCEtoH2ParsedBitmap() public méthode

The convert c eto h 2 parsed bitmap.
public ConvertCEtoH2ParsedBitmap ( Meta &meta, Map map ) : void
meta HaloMap.Meta.Meta The meta.
map HaloMap.Map.Map The map.
Résultat void

DecodeBitm() public static méthode

The decode bitm.
/// ///
public static DecodeBitm ( byte bitmBytes, int height, int width, int depth, int bitsPerPixel, BitmapType type, BitmapFormat format, bool swizzle, Map map, int visualchunkindex, int ident ) : Bitmap
bitmBytes byte The bitm bytes.
height int The height.
width int The width.
depth int The depth.
bitsPerPixel int The bits per pixel.
type BitmapType The type.
format BitmapFormat The format.
swizzle bool The swizzle.
map HaloMap.Map.Map The map.
visualchunkindex int The visualchunkindex.
ident int The ident.
Résultat System.Drawing.Bitmap

FindChunkAndDecode() public méthode

The find chunk and decode.
public FindChunkAndDecode ( int bitmap, int chunknumber, int mipmap, Meta &meta, Map map, int visualchunkindex, int bspnumber ) : Bitmap
bitmap int The bitmap.
chunknumber int The chunknumber.
mipmap int The mipmap.
meta HaloMap.Meta.Meta The meta.
map HaloMap.Map.Map The map.
visualchunkindex int The visualchunkindex.
bspnumber int The bspnumber.
Résultat System.Drawing.Bitmap

ParsedBitmap() public méthode

Initializes a new instance of the ParsedBitmap class.
public ParsedBitmap ( Meta &meta, Map map ) : System
meta HaloMap.Meta.Meta The meta.
map HaloMap.Map.Map The map.
Résultat System

ReadCEParsedBitmap() public méthode

The read ce parsed bitmap.
public ReadCEParsedBitmap ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
Résultat void

ReadH2ParsedBitmap() public méthode

The read h 2 parsed bitmap.
public ReadH2ParsedBitmap ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
Résultat void

bitmapInternalize() public static méthode

The bitmap internalize.
public static bitmapInternalize ( Meta bitmapMeta ) : void
bitmapMeta HaloMap.Meta.Meta The bitmap meta.
Résultat void

bitmapInternalizeRaw() public static méthode

Internalizes a bitmap by passing raw data. This was primarily written for the bitmap internalization in the mainmenu editor.
public static bitmapInternalizeRaw ( RawDataContainer &raw, Map map ) : void
raw RawDataContainer Entity.RawDataContainer
map HaloMap.Map.Map Map to add data to
Résultat void

Property Details

BitmapHeader public_oe property

The bitmap header.
public HaloBitmapHeader BitmapHeader
Résultat HaloBitmapHeader

Properties public_oe property

The properties.
public BitmapInfo[] Properties
Résultat BitmapInfo[]

headersize public_oe property

The headersize.
public int headersize
Résultat int