#include <maploader.h>
Public Member Functions | |
virtual bool | load (Map *map)=0 |
Static Protected Member Functions | |
static MapLoader * | registerLoader (MapLoader *loader, Map::Type type) |
static bool | loadData (Map *map, Common::SeekableReadStream &f) |
static bool | isChunkCompressed (Map *map, int chunk) |
The generic map loader interface. Map loaders should override the load method to load a map from the meta data already initialized in the map object passed in. They must also register themselves with registerLoader for one or more Map::Types.
|
staticprotected |
Registers a loader for the given map type.
|
staticprotected |
Loads raw data from the given file.