This is a list with all classes and functions.
Creates the default map.
The default map consists out of two groups containing a quadlayer with the background and the game layer.
Returns a list of all layers, collected from the groups.
Load a new teeworlds map from map_path.
Save the current map to map_path.
Contains fileheader information.
Takes a file as argument, please make sure it is at the beginning. Note that the file won’t be rewinded!
Write the header itself in tw map format to a file.
It calculates the item sizes. Every item consists of a special number of ints plus two additional ints which are added later (this is the +8). There is allways one envpoint item and one version item. All other items counted.
Represents an item.
Represents an image.
Represents an envelope.
Represents a group.
Creates the group optimised for the background.
Represents the layer data every layer has.
Represents a tile layer.
Property for height.
This is necessarry to rearrange self.tiles corresponding to this value.
Property for width.
This is necessarry to rearrange self.tiles corresponding to this value.
Represents a tile of a tilelayer.
Represents a quad layer.
Adds the default background quad to the layer.
Represents a quad of a quadlayer.
Represents an envpoint.