C# Class PGMEBackend.MapLayout

Show file Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Public Properties

Property Type Description
border short[]
borderBlocksPointer int
borderHeight byte
borderWidth byte
buffer1 byte
buffer2 byte
drawTiles List
globalTileset MapTileset
globalTilesetPointer int
layout short[]
layoutHeight int
layoutIndex short
layoutWidth int
localTileset MapTileset
localTilesetPointer int
mapDataPointer int
originROM Nintenlord.ROMHacking.GBA.GBAROM
rawBorder byte[]
rawBorderOrig byte[]
rawHeader byte[]
rawHeaderOrig byte[]
rawLayout byte[]
rawLayoutOrig byte[]

Public Methods

Method Description
Draw ( Spritesheet globalSheets, Spritesheet localSheets, int xPos, int yPos, double scale ) : void
DrawBorder ( Spritesheet globalSheets, Spritesheet localSheets, int xPos, int yPos, double scale ) : void
LoadBorderFromRaw ( ) : void
LoadLayoutFromRaw ( ) : void
LoadLayoutHeaderFromRaw ( ) : void
MapLayout ( ) : System
MapLayout ( int index, int offset, GBAROM ROM ) : System
PaintBlocksToMap ( short blockArray, int x, int y, int w, int h ) : void
RefreshChunks ( Spritesheet globalSheets, Spritesheet localSheets, int xPos, int yPos, double scale ) : void
ResizeLayout ( int newWidth, int newHeight ) : void
Revert ( ) : void
Save ( ) : void
Unload ( ) : void
WriteBorderToRaw ( ) : void
WriteLayoutHeaderToRaw ( ) : void
WriteLayoutToRaw ( ) : void

Method Details

Draw() public method

public Draw ( Spritesheet globalSheets, Spritesheet localSheets, int xPos, int yPos, double scale ) : void
globalSheets Spritesheet
localSheets Spritesheet
xPos int
yPos int
scale double
return void

DrawBorder() public method

public DrawBorder ( Spritesheet globalSheets, Spritesheet localSheets, int xPos, int yPos, double scale ) : void
globalSheets Spritesheet
localSheets Spritesheet
xPos int
yPos int
scale double
return void

LoadBorderFromRaw() public method

public LoadBorderFromRaw ( ) : void
return void

LoadLayoutFromRaw() public method

public LoadLayoutFromRaw ( ) : void
return void

LoadLayoutHeaderFromRaw() public method

public LoadLayoutHeaderFromRaw ( ) : void
return void

MapLayout() public method

public MapLayout ( ) : System
return System

MapLayout() public method

public MapLayout ( int index, int offset, GBAROM ROM ) : System
index int
offset int
ROM Nintenlord.ROMHacking.GBA.GBAROM
return System

PaintBlocksToMap() public method

public PaintBlocksToMap ( short blockArray, int x, int y, int w, int h ) : void
blockArray short
x int
y int
w int
h int
return void

RefreshChunks() public method

public RefreshChunks ( Spritesheet globalSheets, Spritesheet localSheets, int xPos, int yPos, double scale ) : void
globalSheets Spritesheet
localSheets Spritesheet
xPos int
yPos int
scale double
return void

ResizeLayout() public method

public ResizeLayout ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
return void

Revert() public method

public Revert ( ) : void
return void

Save() public method

public Save ( ) : void
return void

Unload() public method

public Unload ( ) : void
return void

WriteBorderToRaw() public method

public WriteBorderToRaw ( ) : void
return void

WriteLayoutHeaderToRaw() public method

public WriteLayoutHeaderToRaw ( ) : void
return void

WriteLayoutToRaw() public method

public WriteLayoutToRaw ( ) : void
return void

Property Details

border public property

public short[] border
return short[]

borderBlocksPointer public property

public int borderBlocksPointer
return int

borderHeight public property

public byte borderHeight
return byte

borderWidth public property

public byte borderWidth
return byte

buffer1 public property

public byte buffer1
return byte

buffer2 public property

public byte buffer2
return byte

drawTiles public property

public List drawTiles
return List

globalTileset public property

public MapTileset,PGMEBackend globalTileset
return MapTileset

globalTilesetPointer public property

public int globalTilesetPointer
return int

layout public property

public short[] layout
return short[]

layoutHeight public property

public int layoutHeight
return int

layoutIndex public property

public short layoutIndex
return short

layoutWidth public property

public int layoutWidth
return int

localTileset public property

public MapTileset,PGMEBackend localTileset
return MapTileset

localTilesetPointer public property

public int localTilesetPointer
return int

mapDataPointer public property

public int mapDataPointer
return int

originROM public property

public GBAROM,Nintenlord.ROMHacking.GBA originROM
return Nintenlord.ROMHacking.GBA.GBAROM

rawBorder public property

public byte[] rawBorder
return byte[]

rawBorderOrig public property

public byte[] rawBorderOrig
return byte[]

rawHeader public property

public byte[] rawHeader
return byte[]

rawHeaderOrig public property

public byte[] rawHeaderOrig
return byte[]

rawLayout public property

public byte[] rawLayout
return byte[]

rawLayoutOrig public property

public byte[] rawLayoutOrig
return byte[]