Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
Loading...
Searching...
No Matches
MapDBEntry Struct Reference

One map's complete static definition – the root of the MapDBEntry family. More...

#include <mapdbentry.h>

Inheritance diagram for MapDBEntry:
Collaboration diagram for MapDBEntry:

Public Member Functions

const QString bestName () const
 < Best display name (modern/internal).
int height2X2 () const
 Height x2 (derived; see note).
int width2X2 () const
 Width x2 (derived; see note).
const QString getName () const
int getInd () const
bool getGlitch () const
bool getSpecial () const
const QVector< MapDBEntryWarpOut * > getWarpOut () const
 Outgoing warps.
int getWarpOutSize () const
const MapDBEntryWarpOutgetWarpOutAt (const int ind) const
 Outgoing warp ind (for QML).
const QVector< MapDBEntryWarpIn * > getWarpIn () const
 Incoming warps.
int getWarpInSize () const
const MapDBEntryWarpIngetWarpInAt (const int ind) const
 Incoming warp ind (for QML).
const QVector< MapDBEntrySign * > getSigns () const
 Signs on the map.
int getSignsSize () const
const MapDBEntrySigngetSignsAt (const int ind) const
 Sign ind (for QML).
const QVector< MapDBEntrySprite * > getSprites () const
 Sprites on the map.
int getSpritesSize () const
const MapDBEntrySpritegetSpritesAt (const int ind) const
 Sprite ind (for QML).
const QHash< int, MapDBEntryConnect * > getConnect () const
 Edge connections by direction.
const MapDBEntryConnectgetConnectAt (const int val) const
 Connection in direction val (for QML).
int getMonRate () const
int getMonRateWater () const
const QVector< MapDBEntryWildMon * > getMonsRed () const
 Red-version wild encounters.
int getMonsRedSize () const
const MapDBEntryWildMongetMonsRedAt (const int ind) const
 Red wild ind (for QML).
const QVector< MapDBEntryWildMon * > getMonsBlue () const
 Blue-version wild encounters.
int getMonsBlueSize () const
const MapDBEntryWildMongetMonsBlueAt (const int ind) const
 Blue wild ind (for QML).
const QVector< MapDBEntryWildMon * > getMonsWater () const
 Water wild encounters.
int getMonsWaterSize () const
const MapDBEntryWildMongetMonsWaterAt (const int ind) const
 Water wild ind (for QML).
int getSpriteSet () const
SpriteSetDBEntrygetToSpriteSet () const
int getBorder () const
int getBank () const
int getDataPtr () const
int getScriptPtr () const
int getTextPtr () const
int getWidth () const
int getHeight () const
const QString getMusic () const
const QString getTileset () const
const QString getModernName () const
const QString getIncomplete () const
MusicDBEntrygetToMusic () const
TilesetDBEntrygetToTileset () const
MapDBEntrygetToComplete () const
const QVector< EventDBEntry * > getToEvents () const
 Events associated with this map.
int getToEventsSize () const
const EventDBEntrygetToEventsAt (const int ind) const
 Associated event ind (for QML).
FlyDBEntrygetToFlyDestination () const
const QVector< HiddenItemDBEntry * > getToHiddenItems () const
 Hidden items on this map.
int getToHiddenItemsSize () const
const HiddenItemDBEntrygetToHiddenItemsAt (const int ind) const
 Hidden item ind (for QML).
ScriptDBEntrygetToScript () const
void qmlProtect (const QQmlEngine *const engine) const
 Pin to C++ ownership.

Protected Member Functions

 MapDBEntry ()
 Empty entry (built by MapsDB).
 MapDBEntry (const QJsonValue &data)
 Build from a JSON value.
void deepLink ()
 Resolve the full cross-reference web.
void qmlRegister () const
 Register with QML.

Protected Attributes

QString name = ""
 Backing field (read via getName()).
int ind = -1
 Backing field (read via getInd()).
bool glitch = false
 Backing field (read via getGlitch()).
bool special = false
 Backing field (read via getSpecial()).
QVector< MapDBEntryWarpOut * > warpOut
 Outgoing warps.
QVector< MapDBEntryWarpIn * > warpIn
 Incoming warps.
QVector< MapDBEntrySign * > signs
 Signs.
QVector< MapDBEntrySprite * > sprites
 Sprites.
QHash< int, MapDBEntryConnect * > connect
 Edge connections by direction.
int monRate = -1
 Land encounter rate.
int monRateWater = -1
 Water encounter rate.
QVector< MapDBEntryWildMon * > monsRed
 Red-version land encounters.
QVector< MapDBEntryWildMon * > monsBlue
 Blue-version land encounters.
QVector< MapDBEntryWildMon * > monsWater
 Water encounters (shared; see note).
int spriteSet = -1
 Sprite-set index.
SpriteSetDBEntrytoSpriteSet = nullptr
 Resolved sprite set (deepLink).
int border = -1
 Border block number.
int bank = -1
 Map data bank.
int dataPtr = -1
 Map data pointer.
int scriptPtr = -1
 Map script pointer.
int textPtr = -1
 Map text pointer.
int width = -1
 Width (blocks).
int height = -1
 Height (blocks).
QString music = ""
 Music name.
QString tileset = ""
 Tileset name.
QString modernName = ""
 Modern display name.
QString incomplete = ""
 Incomplete-map marker.
MusicDBEntrytoMusic = nullptr
TilesetDBEntrytoTileset = nullptr
MapDBEntrytoComplete = nullptr
QVector< EventDBEntry * > toEvents
FlyDBEntrytoFlyDestination = nullptr
QVector< HiddenItemDBEntry * > toHiddenItems
ScriptDBEntrytoScript = nullptr
 Resolved script (deepLink).

Friends

class MapsDB
class MapSearch
struct EventDBEntry
struct FlyDBEntry
struct HiddenItemDBEntry
struct ScriptDBEntry

Detailed Description

One map's complete static definition – the root of the MapDBEntry family.

The DB counterpart to the save's Area: everything canonical about a map. It owns the map's warps (in/out), signs, sprites, edge connections, and wild-encounter tables (red/blue/water), plus its pointers, sprite-set, music, and tileset. deepLink() then resolves a wide web of cross-references (the to* members): music, tileset, the "complete" version of an incomplete map, associated events, fly destination, hidden items, and script.

Sub-lists are surfaced to QML via the ...Size + invokable ...At() accessor workaround. This is the largest entry family in the project; the sub-types (warps, sign, sprite + its 4 subclasses, connect, wildmon) each have their own header. See db.md.

See also
MapsDB, Area (the save-side map), and the MapDBEntry* family.

Definition at line 56 of file mapdbentry.h.

Constructor & Destructor Documentation

◆ MapDBEntry() [1/2]

MapDBEntry::MapDBEntry ( )
protected

Empty entry (built by MapsDB).

Definition at line 50 of file mapdbentry.cpp.

References qmlRegister().

Referenced by getToComplete().

◆ MapDBEntry() [2/2]

Member Function Documentation

◆ bestName()

const QString MapDBEntry::bestName ( ) const

< Best display name (modern/internal).

Height in 2x2 units (derived). Width in 2x2 units (derived). Internal name. Map index. Glitch map. Special map. Number of outgoing warps. Number of incoming warps. Number of signs. Number of sprites. Land encounter rate. Water encounter rate. Red-version wild count. Blue-version wild count. Water wild count. Sprite-set index. Resolved sprite set. Border block number. Map data bank. Map data pointer. Map script pointer. Map text pointer. Width (blocks). Height (blocks). Music track name. Tileset name. Modern display name. Incomplete-map marker. Resolved music. Resolved tileset. Resolved complete-map version. Number of associated events. Resolved fly destination. Number of hidden items here. Resolved script.

See also
bestName property.

Definition at line 592 of file mapdbentry.cpp.

References modernName, and name.

◆ deepLink()

◆ getBank()

int MapDBEntry::getBank ( ) const
See also
getBank property.

Definition at line 406 of file mapdbentry.cpp.

References bank.

◆ getBorder()

int MapDBEntry::getBorder ( ) const
See also
getBorder property.

Definition at line 411 of file mapdbentry.cpp.

References border.

Referenced by AreaMap::randomize().

◆ getConnect()

const QHash< int, MapDBEntryConnect * > MapDBEntry::getConnect ( ) const

Edge connections by direction.

Definition at line 490 of file mapdbentry.cpp.

References connect.

Referenced by AreaMap::randomize().

◆ getConnectAt()

const MapDBEntryConnect * MapDBEntry::getConnectAt ( const int val) const

Connection in direction val (for QML).

Definition at line 495 of file mapdbentry.cpp.

References connect.

◆ getDataPtr()

int MapDBEntry::getDataPtr ( ) const
See also
getDataPtr property.

Definition at line 401 of file mapdbentry.cpp.

References dataPtr.

Referenced by AreaMap::randomize().

◆ getGlitch()

bool MapDBEntry::getGlitch ( ) const
See also
getGlitch property.

Definition at line 577 of file mapdbentry.cpp.

References glitch.

◆ getHeight()

int MapDBEntry::getHeight ( ) const
See also
getHeight property.

Definition at line 381 of file mapdbentry.cpp.

References height.

Referenced by AreaMap::randomize().

◆ getIncomplete()

const QString MapDBEntry::getIncomplete ( ) const
See also
getIncomplete property.

Definition at line 361 of file mapdbentry.cpp.

References incomplete.

◆ getInd()

int MapDBEntry::getInd ( ) const
See also
getInd property.

Definition at line 582 of file mapdbentry.cpp.

References ind.

Referenced by WarpData::load(), MapConnData::loadFromData(), AreaMap::randomize(), and AreaGeneral::setTo().

◆ getModernName()

const QString MapDBEntry::getModernName ( ) const
See also
getModernName property.

Definition at line 366 of file mapdbentry.cpp.

References modernName.

◆ getMonRate()

int MapDBEntry::getMonRate ( ) const
See also
getMonRate property.

Definition at line 485 of file mapdbentry.cpp.

References monRate.

Referenced by AreaPokemon::setTo().

◆ getMonRateWater()

int MapDBEntry::getMonRateWater ( ) const
See also
getMonRateWater property.

Definition at line 480 of file mapdbentry.cpp.

References monRateWater.

Referenced by AreaPokemon::setTo().

◆ getMonsBlue()

const QVector< MapDBEntryWildMon * > MapDBEntry::getMonsBlue ( ) const

Blue-version wild encounters.

Definition at line 444 of file mapdbentry.cpp.

References monsBlue.

Referenced by AreaPokemon::setTo().

◆ getMonsBlueAt()

const MapDBEntryWildMon * MapDBEntry::getMonsBlueAt ( const int ind) const

Blue wild ind (for QML).

Definition at line 454 of file mapdbentry.cpp.

References ind, and monsBlue.

◆ getMonsBlueSize()

int MapDBEntry::getMonsBlueSize ( ) const
See also
getMonsBlueSize property.

Definition at line 449 of file mapdbentry.cpp.

References monsBlue.

◆ getMonsRed()

const QVector< MapDBEntryWildMon * > MapDBEntry::getMonsRed ( ) const

Red-version wild encounters.

Definition at line 462 of file mapdbentry.cpp.

References monsRed.

Referenced by AreaPokemon::setTo().

◆ getMonsRedAt()

const MapDBEntryWildMon * MapDBEntry::getMonsRedAt ( const int ind) const

Red wild ind (for QML).

Definition at line 472 of file mapdbentry.cpp.

References ind, and monsRed.

◆ getMonsRedSize()

int MapDBEntry::getMonsRedSize ( ) const
See also
getMonsRedSize property.

Definition at line 467 of file mapdbentry.cpp.

References monsRed.

◆ getMonsWater()

const QVector< MapDBEntryWildMon * > MapDBEntry::getMonsWater ( ) const

Water wild encounters.

Definition at line 426 of file mapdbentry.cpp.

References monsWater.

Referenced by AreaPokemon::setTo().

◆ getMonsWaterAt()

const MapDBEntryWildMon * MapDBEntry::getMonsWaterAt ( const int ind) const

Water wild ind (for QML).

Definition at line 436 of file mapdbentry.cpp.

References ind, and monsWater.

◆ getMonsWaterSize()

int MapDBEntry::getMonsWaterSize ( ) const
See also
getMonsWaterSize property.

Definition at line 431 of file mapdbentry.cpp.

References monsWater.

◆ getMusic()

const QString MapDBEntry::getMusic ( ) const
See also
getMusic property.

Definition at line 376 of file mapdbentry.cpp.

References music.

◆ getName()

const QString MapDBEntry::getName ( ) const
See also
getName property.

Definition at line 587 of file mapdbentry.cpp.

References name.

◆ getScriptPtr()

int MapDBEntry::getScriptPtr ( ) const
See also
getScriptPtr property.

Definition at line 396 of file mapdbentry.cpp.

References scriptPtr.

Referenced by AreaMap::randomize().

◆ getSigns()

const QVector< MapDBEntrySign * > MapDBEntry::getSigns ( ) const

Signs on the map.

Definition at line 518 of file mapdbentry.cpp.

References signs.

Referenced by AreaSign::randomize(), and AreaSign::setTo().

◆ getSignsAt()

const MapDBEntrySign * MapDBEntry::getSignsAt ( const int ind) const

Sign ind (for QML).

Definition at line 528 of file mapdbentry.cpp.

References ind, and signs.

◆ getSignsSize()

int MapDBEntry::getSignsSize ( ) const
See also
getSignsSize property.

Definition at line 523 of file mapdbentry.cpp.

References signs.

◆ getSpecial()

bool MapDBEntry::getSpecial ( ) const
See also
getSpecial property.

Definition at line 572 of file mapdbentry.cpp.

References special.

◆ getSprites()

const QVector< MapDBEntrySprite * > MapDBEntry::getSprites ( ) const

Sprites on the map.

Definition at line 500 of file mapdbentry.cpp.

References sprites.

Referenced by AreaSprites::setTo().

◆ getSpritesAt()

const MapDBEntrySprite * MapDBEntry::getSpritesAt ( const int ind) const

Sprite ind (for QML).

Definition at line 510 of file mapdbentry.cpp.

References ind, and sprites.

◆ getSpriteSet()

int MapDBEntry::getSpriteSet ( ) const
See also
getSpriteSet property.

Definition at line 421 of file mapdbentry.cpp.

References spriteSet.

◆ getSpritesSize()

int MapDBEntry::getSpritesSize ( ) const
See also
getSpritesSize property.

Definition at line 505 of file mapdbentry.cpp.

References sprites.

◆ getTextPtr()

int MapDBEntry::getTextPtr ( ) const
See also
getTextPtr property.

Definition at line 391 of file mapdbentry.cpp.

References textPtr.

Referenced by AreaMap::randomize().

◆ getTileset()

const QString MapDBEntry::getTileset ( ) const
See also
getTileset property.

Definition at line 371 of file mapdbentry.cpp.

References tileset.

◆ getToComplete()

MapDBEntry * MapDBEntry::getToComplete ( ) const
See also
getToComplete property.

Definition at line 346 of file mapdbentry.cpp.

References MapDBEntry(), and toComplete.

◆ getToEvents()

const QVector< EventDBEntry * > MapDBEntry::getToEvents ( ) const

Events associated with this map.

Definition at line 328 of file mapdbentry.cpp.

References toEvents.

◆ getToEventsAt()

const EventDBEntry * MapDBEntry::getToEventsAt ( const int ind) const

Associated event ind (for QML).

Definition at line 338 of file mapdbentry.cpp.

References EventDBEntry, ind, and toEvents.

◆ getToEventsSize()

int MapDBEntry::getToEventsSize ( ) const
See also
getToEventsSize property.

Definition at line 333 of file mapdbentry.cpp.

References toEvents.

◆ getToFlyDestination()

FlyDBEntry * MapDBEntry::getToFlyDestination ( ) const
See also
getToFlyDestination property.

Definition at line 323 of file mapdbentry.cpp.

References FlyDBEntry, and toFlyDestination.

◆ getToHiddenItems()

const QVector< HiddenItemDBEntry * > MapDBEntry::getToHiddenItems ( ) const

Hidden items on this map.

Definition at line 305 of file mapdbentry.cpp.

References toHiddenItems.

◆ getToHiddenItemsAt()

const HiddenItemDBEntry * MapDBEntry::getToHiddenItemsAt ( const int ind) const

Hidden item ind (for QML).

Definition at line 315 of file mapdbentry.cpp.

References HiddenItemDBEntry, ind, and toHiddenItems.

◆ getToHiddenItemsSize()

int MapDBEntry::getToHiddenItemsSize ( ) const
See also
getToHiddenItemsSize property.

Definition at line 310 of file mapdbentry.cpp.

References toHiddenItems.

◆ getToMusic()

MusicDBEntry * MapDBEntry::getToMusic ( ) const
See also
getToMusic property.

Definition at line 356 of file mapdbentry.cpp.

References toMusic.

Referenced by AreaAudio::setTo().

◆ getToScript()

ScriptDBEntry * MapDBEntry::getToScript ( ) const
See also
getToScript property.

Definition at line 295 of file mapdbentry.cpp.

References ScriptDBEntry, and toScript.

◆ getToSpriteSet()

SpriteSetDBEntry * MapDBEntry::getToSpriteSet ( ) const
See also
getToSpriteSet property.

Definition at line 416 of file mapdbentry.cpp.

References toSpriteSet.

Referenced by AreaLoadedSprites::randomize(), and AreaLoadedSprites::setTo().

◆ getToTileset()

TilesetDBEntry * MapDBEntry::getToTileset ( ) const
See also
getToTileset property.

Definition at line 351 of file mapdbentry.cpp.

References toTileset.

Referenced by AreaTileset::loadFromData().

◆ getWarpIn()

const QVector< MapDBEntryWarpIn * > MapDBEntry::getWarpIn ( ) const

Incoming warps.

Definition at line 536 of file mapdbentry.cpp.

References warpIn.

◆ getWarpInAt()

const MapDBEntryWarpIn * MapDBEntry::getWarpInAt ( const int ind) const

Incoming warp ind (for QML).

Definition at line 546 of file mapdbentry.cpp.

References ind, and warpIn.

◆ getWarpInSize()

int MapDBEntry::getWarpInSize ( ) const
See also
getWarpInSize property.

Definition at line 541 of file mapdbentry.cpp.

References warpIn.

◆ getWarpOut()

const QVector< MapDBEntryWarpOut * > MapDBEntry::getWarpOut ( ) const

Outgoing warps.

Definition at line 554 of file mapdbentry.cpp.

References warpOut.

Referenced by AreaWarps::randomize(), and AreaWarps::setTo().

◆ getWarpOutAt()

const MapDBEntryWarpOut * MapDBEntry::getWarpOutAt ( const int ind) const

Outgoing warp ind (for QML).

Definition at line 564 of file mapdbentry.cpp.

References ind, and warpOut.

◆ getWarpOutSize()

int MapDBEntry::getWarpOutSize ( ) const
See also
getWarpOutSize property.

Definition at line 559 of file mapdbentry.cpp.

References warpOut.

◆ getWidth()

int MapDBEntry::getWidth ( ) const
See also
getWidth property.

Definition at line 386 of file mapdbentry.cpp.

References width.

Referenced by MapConnData::loadFromData(), and AreaMap::randomize().

◆ height2X2()

int MapDBEntry::height2X2 ( ) const

Height x2 (derived; see note).

Definition at line 600 of file mapdbentry.cpp.

References height.

Referenced by AreaMap::randomize().

◆ qmlProtect()

void MapDBEntry::qmlProtect ( const QQmlEngine *const engine) const

Pin to C++ ownership.

Definition at line 300 of file mapdbentry.cpp.

References Utility::qmlProtectUtil().

◆ qmlRegister()

void MapDBEntry::qmlRegister ( ) const
protected

Register with QML.

Definition at line 284 of file mapdbentry.cpp.

Referenced by MapDBEntry().

◆ width2X2()

int MapDBEntry::width2X2 ( ) const

Width x2 (derived; see note).

Definition at line 608 of file mapdbentry.cpp.

References width.

Referenced by AreaMap::randomize().

◆ EventDBEntry

friend struct EventDBEntry
friend

Definition at line 246 of file mapdbentry.h.

References EventDBEntry.

Referenced by EventDBEntry, and getToEventsAt().

◆ FlyDBEntry

friend struct FlyDBEntry
friend

Definition at line 247 of file mapdbentry.h.

References FlyDBEntry.

Referenced by FlyDBEntry, and getToFlyDestination().

◆ HiddenItemDBEntry

friend struct HiddenItemDBEntry
friend

Definition at line 248 of file mapdbentry.h.

References HiddenItemDBEntry.

Referenced by getToHiddenItemsAt(), and HiddenItemDBEntry.

◆ MapsDB

friend class MapsDB
friend

Definition at line 244 of file mapdbentry.h.

References MapsDB.

Referenced by MapsDB.

◆ MapSearch

friend class MapSearch
friend

Definition at line 245 of file mapdbentry.h.

References MapSearch.

Referenced by MapSearch.

◆ ScriptDBEntry

friend struct ScriptDBEntry
friend

Definition at line 249 of file mapdbentry.h.

References ScriptDBEntry.

Referenced by getToScript(), and ScriptDBEntry.

Member Data Documentation

◆ bank

int MapDBEntry::bank = -1
protected

Map data bank.

Definition at line 223 of file mapdbentry.h.

Referenced by getBank(), and MapDBEntry().

◆ border

int MapDBEntry::border = -1
protected

Border block number.

Definition at line 221 of file mapdbentry.h.

Referenced by getBorder(), and MapDBEntry().

◆ connect

QHash<int, MapDBEntryConnect*> MapDBEntry::connect
protected

Edge connections by direction.

Definition at line 203 of file mapdbentry.h.

Referenced by deepLink(), getConnect(), getConnectAt(), and MapDBEntry().

◆ dataPtr

int MapDBEntry::dataPtr = -1
protected

Map data pointer.

Definition at line 224 of file mapdbentry.h.

Referenced by getDataPtr(), and MapDBEntry().

◆ glitch

bool MapDBEntry::glitch = false
protected

Backing field (read via getGlitch()).

Definition at line 187 of file mapdbentry.h.

Referenced by getGlitch(), and MapDBEntry().

◆ height

int MapDBEntry::height = -1
protected

Height (blocks).

Definition at line 228 of file mapdbentry.h.

Referenced by getHeight(), height2X2(), and MapDBEntry().

◆ incomplete

QString MapDBEntry::incomplete = ""
protected

Incomplete-map marker.

Definition at line 233 of file mapdbentry.h.

Referenced by deepLink(), getIncomplete(), and MapDBEntry().

◆ ind

int MapDBEntry::ind = -1
protected

◆ modernName

QString MapDBEntry::modernName = ""
protected

Modern display name.

Definition at line 232 of file mapdbentry.h.

Referenced by bestName(), getModernName(), and MapDBEntry().

◆ monRate

int MapDBEntry::monRate = -1
protected

Land encounter rate.

Definition at line 210 of file mapdbentry.h.

Referenced by getMonRate(), and MapDBEntry().

◆ monRateWater

int MapDBEntry::monRateWater = -1
protected

Water encounter rate.

Definition at line 211 of file mapdbentry.h.

Referenced by getMonRateWater(), and MapDBEntry().

◆ monsBlue

QVector<MapDBEntryWildMon*> MapDBEntry::monsBlue
protected

Blue-version land encounters.

Definition at line 213 of file mapdbentry.h.

Referenced by deepLink(), getMonsBlue(), getMonsBlueAt(), getMonsBlueSize(), and MapDBEntry().

◆ monsRed

QVector<MapDBEntryWildMon*> MapDBEntry::monsRed
protected

Red-version land encounters.

Definition at line 212 of file mapdbentry.h.

Referenced by deepLink(), getMonsRed(), getMonsRedAt(), getMonsRedSize(), and MapDBEntry().

◆ monsWater

QVector<MapDBEntryWildMon*> MapDBEntry::monsWater
protected

Water encounters (shared; see note).

Definition at line 214 of file mapdbentry.h.

Referenced by deepLink(), getMonsWater(), getMonsWaterAt(), getMonsWaterSize(), and MapDBEntry().

◆ music

QString MapDBEntry::music = ""
protected

Music name.

Definition at line 230 of file mapdbentry.h.

Referenced by deepLink(), getMusic(), and MapDBEntry().

◆ name

QString MapDBEntry::name = ""
protected

Backing field (read via getName()).

Definition at line 184 of file mapdbentry.h.

Referenced by bestName(), deepLink(), getName(), and MapDBEntry().

◆ scriptPtr

int MapDBEntry::scriptPtr = -1
protected

Map script pointer.

Definition at line 225 of file mapdbentry.h.

Referenced by getScriptPtr(), and MapDBEntry().

◆ signs

QVector<MapDBEntrySign*> MapDBEntry::signs
protected

Signs.

Definition at line 197 of file mapdbentry.h.

Referenced by getSigns(), getSignsAt(), getSignsSize(), and MapDBEntry().

◆ special

bool MapDBEntry::special = false
protected

Backing field (read via getSpecial()).

Definition at line 188 of file mapdbentry.h.

Referenced by getSpecial(), and MapDBEntry().

◆ sprites

QVector<MapDBEntrySprite*> MapDBEntry::sprites
protected

Sprites.

Definition at line 200 of file mapdbentry.h.

Referenced by deepLink(), getSprites(), getSpritesAt(), getSpritesSize(), and MapDBEntry().

◆ spriteSet

int MapDBEntry::spriteSet = -1
protected

Sprite-set index.

Definition at line 217 of file mapdbentry.h.

Referenced by deepLink(), getSpriteSet(), and MapDBEntry().

◆ textPtr

int MapDBEntry::textPtr = -1
protected

Map text pointer.

Definition at line 226 of file mapdbentry.h.

Referenced by getTextPtr(), and MapDBEntry().

◆ tileset

QString MapDBEntry::tileset = ""
protected

Tileset name.

Definition at line 231 of file mapdbentry.h.

Referenced by deepLink(), getTileset(), and MapDBEntry().

◆ toComplete

MapDBEntry* MapDBEntry::toComplete = nullptr
protected

Definition at line 238 of file mapdbentry.h.

Referenced by deepLink(), and getToComplete().

◆ toEvents

QVector<EventDBEntry*> MapDBEntry::toEvents
protected

Definition at line 239 of file mapdbentry.h.

Referenced by getToEvents(), getToEventsAt(), and getToEventsSize().

◆ toFlyDestination

FlyDBEntry* MapDBEntry::toFlyDestination = nullptr
protected

Definition at line 240 of file mapdbentry.h.

Referenced by getToFlyDestination().

◆ toHiddenItems

QVector<HiddenItemDBEntry*> MapDBEntry::toHiddenItems
protected

Definition at line 241 of file mapdbentry.h.

Referenced by getToHiddenItems(), getToHiddenItemsAt(), and getToHiddenItemsSize().

◆ toMusic

MusicDBEntry* MapDBEntry::toMusic = nullptr
protected

Definition at line 236 of file mapdbentry.h.

Referenced by deepLink(), and getToMusic().

◆ toScript

ScriptDBEntry* MapDBEntry::toScript = nullptr
protected

Resolved script (deepLink).

Definition at line 242 of file mapdbentry.h.

Referenced by getToScript().

◆ toSpriteSet

SpriteSetDBEntry* MapDBEntry::toSpriteSet = nullptr
protected

Resolved sprite set (deepLink).

Definition at line 218 of file mapdbentry.h.

Referenced by deepLink(), and getToSpriteSet().

◆ toTileset

TilesetDBEntry* MapDBEntry::toTileset = nullptr
protected

Definition at line 237 of file mapdbentry.h.

Referenced by deepLink(), and getToTileset().

◆ warpIn

QVector<MapDBEntryWarpIn*> MapDBEntry::warpIn
protected

Incoming warps.

Definition at line 194 of file mapdbentry.h.

Referenced by getWarpIn(), getWarpInAt(), getWarpInSize(), and MapDBEntry().

◆ warpOut

QVector<MapDBEntryWarpOut*> MapDBEntry::warpOut
protected

Outgoing warps.

Definition at line 191 of file mapdbentry.h.

Referenced by deepLink(), getWarpOut(), getWarpOutAt(), getWarpOutSize(), and MapDBEntry().

◆ width

int MapDBEntry::width = -1
protected

Width (blocks).

Definition at line 227 of file mapdbentry.h.

Referenced by getWidth(), MapDBEntry(), and width2X2().


The documentation for this struct was generated from the following files: