Loads the document from disk.
New from scratch
Specifies the current edit mode
Puts the loaded tiles onto a TileLayer
Scrolls the selected layer by the amount set. Should be called for every frame.
Returns the next available layer number.
Scrolls the selected layer by a given amount.
Sets the continuous scroll amounts.
Updates the layers for this document.
Updates the material list for the selected layer.
Updates the selection on the raster window.
If set, then layer is being scrolled.
To solve some "debounce" issues around mouse click releases
If set, tilePlacement overrides only transparent (0xFFFF) tiles.
Contains the selected layer area parameters
Per document event stack
Null if not yet saved, otherwise name of the target file
Various status flags combined into one.
Local layerinfo for data lookup
Used to reduce duplicate data as much as possible
Contains the selected map area parameters
Mose event mode selector
Window used to output the screen data
Used for adding the palette for the document
Previous mouse X position
Previous mouse Y position
Continuous X scroll amount
Continuous Y scroll amount
Indicates the currently selected layer
Currently selected mapping element to write, including mirroring properties, palette selection, and priority attributes
Individual document for parallel editing