The JugiMapBinaryLoader class loads data from jugimap binary files (.jmb).
More...
#include <jmMapBinaryLoader.h>
|
static bool | LoadSourceGraphics (std::string _filePath, SourceGraphics *_sourceGraphics) |
| Loads source data from a jugimap binary file (.jmb) at the given **_filePath** into an empty **_SourceGraphics**. Returns true if loading succeeds, otherwise returns false. More...
|
|
static bool | LoadMap (std::string _filePath, jugimap::Map *_map, SourceGraphics *_sourceGraphics) |
| Loads map data from a jugimap binary file (.jmb) at the given **_filePath** using the associated **_SourceGraphics**. Returns true if loading succeeds, otherwise returns false. More...
|
|
|
static std::string | pathPrefix = "" |
| An optional string attached to the filePath parameter in the loading functions. It must end with slash '/'! More...
|
|
static std::string | error = "" |
| Error message if loading fails. More...
|
|
static std::vector< std::string > | messages |
| Messages about skipped chunks of data during the loading. More...
|
|
static int | zOrderCounterStart = 1000 |
| Starting z-order for loaded layers (for engines which manages drawing order of sprites via z-order parameter). More...
|
|
static int | zOrderCounter = 1000 |
| Z-order counter for loaded layers. More...
|
|
The JugiMapBinaryLoader class loads data from jugimap binary files (.jmb).
◆ LoadSourceGraphics()
bool LoadSourceGraphics |
( |
std::string |
_filePath, |
|
|
SourceGraphics * |
_sourceGraphics |
|
) |
| |
|
static |
Loads source data from a jugimap binary file (.jmb) at the given **_filePath** into an empty **_SourceGraphics**. Returns true if loading succeeds, otherwise returns false.
◆ LoadMap()
Loads map data from a jugimap binary file (.jmb) at the given **_filePath** using the associated **_SourceGraphics**. Returns true if loading succeeds, otherwise returns false.
◆ pathPrefix
std::string pathPrefix = "" |
|
static |
An optional string attached to the filePath parameter in the loading functions. It must end with slash '/'!
◆ error
Error message if loading fails.
◆ messages
std::vector< std::string > messages |
|
static |
Messages about skipped chunks of data during the loading.
◆ zOrderCounterStart
int zOrderCounterStart = 1000 |
|
static |
Starting z-order for loaded layers (for engines which manages drawing order of sprites via z-order parameter).
◆ zOrderCounter
Z-order counter for loaded layers.
The documentation for this class was generated from the following files:
- C:/Development/JugiMapProject/JugiMapFRM/framework_c++/jugimap/jmMapBinaryLoader.h
- C:/Development/JugiMapProject/JugiMapFRM/framework_c++/jugimap/jmMapBinaryLoader.cpp