|
Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
|
One tileset definition: its type, graphics/block/collision pointers, etc. More...
#include <tileset.h>
Public Member Functions | |
| TilesetDBEntry () | |
| Empty entry. | |
| TilesetDBEntry (QJsonValue &data) | |
| Build from a JSON value. | |
| TilesetType | typeAsEnum () const |
| type parsed to the TilesetType enum. | |
Public Attributes | |
| QString | name |
| Internal tileset name (key). | |
| QString | type |
| Behaviour type as a string. | |
| QString | nameAlias |
| Friendly name. | |
| QString | typeAlias |
| Friendly type label. | |
| var8 | ind = 0 |
| Tileset index. | |
| var8 | talk [3] = {0, 0, 0} |
| Talk-over tile ids. | |
| var8 | grass = 0 |
| Grass tile id. | |
| var8 | bank = 0 |
| Bank holding GFX + blocks. | |
| var16 | blockPtr = 0 |
| Blocks pointer. | |
| var16 | gfxPtr = 0 |
| Graphics pointer. | |
| var16 | collPtr = 0 |
| Collision pointer. | |
| QVector< MapDBEntry * > | toMaps |
| Maps using this tileset (back-ref). | |
One tileset definition: its type, graphics/block/collision pointers, etc.
Plain-struct DB entry. Carries the canonical tileset data the save's AreaTileset mirrors (bank/pointers, grass tile, talk-over tiles). typeAsEnum converts the type string to TilesetType. toMaps lists the maps using this tileset (back-ref). See db.md.
| TilesetDBEntry::TilesetDBEntry | ( | ) |
Empty entry.
Definition at line 29 of file tileset.cpp.
| TilesetDBEntry::TilesetDBEntry | ( | QJsonValue & | data | ) |
| TilesetType TilesetDBEntry::typeAsEnum | ( | ) | const |
type parsed to the TilesetType enum.
Definition at line 49 of file tileset.cpp.
| var8 TilesetDBEntry::bank = 0 |
| var16 TilesetDBEntry::blockPtr = 0 |
| var16 TilesetDBEntry::collPtr = 0 |
| var16 TilesetDBEntry::gfxPtr = 0 |
| var8 TilesetDBEntry::grass = 0 |
| var8 TilesetDBEntry::ind = 0 |
| QString TilesetDBEntry::name |
Internal tileset name (key).
Definition at line 49 of file tileset.h.
Referenced by TilesetDBEntry().
| QString TilesetDBEntry::nameAlias |
| var8 TilesetDBEntry::talk[3] = {0, 0, 0} |
| QVector<MapDBEntry*> TilesetDBEntry::toMaps |
| QString TilesetDBEntry::type |
Behaviour type as a string.
Definition at line 50 of file tileset.h.
Referenced by TilesetDBEntry(), and typeAsEnum().
| QString TilesetDBEntry::typeAlias |