Creates new instance from scratch.
Serializes itself from file.
Adds an embedded MapData to a TileLayer.
Adds an embedded MapData to a TileLayer.
Adds an embedded palette to the document.
Adds a TileData file to a TileLayer. Filename should contain relative path.
Adds a layer from preexsting tag.
Adds a newly created TileLayer to the document.
Adds an object to a layer. Intended for editor use.
Adds a palette file source to the document.
Adds a new property tag to a layer's tag. Note: Property tag must be first created by addTagToLayer.
Adds a new tag to a layer.
Adds a single TileInfo to a preexisting chunk on the layer.
Ditto, but from preexiting Tag.
Adds TileInfo to a TileLayer from an array. Joins together multiple chunks with the same source identifier. (should be a path)
Adds TileInfo to a TileLayer from a preexiting tag. Joins together multiple chunks with the same source identifier. (should be a path)
Adds a tile source file (file that contains the tiles) to a TileLayer.
Alters a tile layer data.
Edits the values of a layer's property tag.
Edits the values of a layer's tag.
Returns all tile sources for a given layer. Intended to use with a loader.
Returns the horizontal resolution.
Returns all layer's basic information.
Returns a specified layer's basic information.
Returns all objects belonging to a layerID in an array.
Gets the values of a layer's property tag.
Gets the values of a layer's root tag.
Gets the values of a layer's tag.
Returns the given metadata.
Returns the name of the map from metadata.
Returns a selected tile layer's all tile's basic information. Mainly used to display information in editors.
Accesses tile source tags in documents for adding extra data (eg. tile names).
Returns the vertical resolution.
Returns whether the given palette file source exists.
Loads all sprites and objects to thir respective layers and the supplied ObjectCollisionDetector.
Loads mapping data from disk to all layers.
Loads the sprites associated with the layer ID.
Loads tiles from disk to all layers. Also loads the palette. TODO: Add dpk support
Returns the requested layer.
Pulls TileLayer data from the layer, and stores it in the preconfigured location.
Removes embedded TileData from a TileLayer.
Removes a given layer of any kind.
Removes a layer's tag.
Removes a TileData file from a TileLayer.
Removes an object from a layer. Intended for editor use.
Removes a single tile from a TileInfo chunk.
Removes a tile source.
Renames a single tile.
Saves the document to disc.
Associative array used for rendering mode lookups in one way.
Layerdata stored as SDLang tags.
Used to fast map and object data pullback in editors
Stores metadata.
Root tag for common information.
Stores basic TileData that are loaded through extensions
Serializes/deserializes XMF map data in SDLang format. Each layer can contain objects (eg. for marking events, clipping, or sprites if applicable), tilemapping (not for SpriteLayers), embedded data such as tilemapping or scripts, and so on.
Also does some basic resource managing.
Note on layer tags: As of this version, additional tags within layers must have individual names. Subtags within a parent also need to have individual names. Namespaces are reserved for internal use (eg. file sources, objects).