54Q_DECLARE_OPAQUE_POINTER(
AreaMap*)
55Q_DECLARE_OPAQUE_POINTER(
AreaNPC*)
The current map's audio: which track plays, and a couple of music flags.
Miscellaneous per-area flags: contrast, letter delay, playtime counting.
The fixed set of sprite picture-ids currently loaded into the map's VRAM.
Identity, size, pointers, and edge connections of the current map.
Transient NPC/control/battle flags for the current map.
The player's position and movement/HM/battle/warp state on the map.
Rate is how likely to encounter Pokemon higher number = higher chance A rate of 0 means no wild pokem...
The current map's list of signs.
The current map's list of sprites/NPCs.
The current map's tileset: which set, its behaviour type, and pointers.
The current map's warps, plus the live warp-transition state.
void preloadedSpritesChanged()
void save(SaveFile *saveFile)
Flatten the whole area to the save.
void reset()
Blank the whole area.
AreaLoadedSprites * preloadedSprites
Area(SaveFile *saveFile=nullptr)
< Map music/audio settings.
void setTo(MapDBEntry *map)
Reconfigure the area to map (the "place on any map" feature).
void load(SaveFile *saveFile=nullptr)
Expand the whole area from the save.
void randomize()
Randomize the area (constrained, playable).
The trainer: their basics, bag, pokedex, and party.
One loaded save: the raw 32 KB bytes, their expanded object tree, and the tools that move between the...
Import/export macro for the savefile library, plus the central list of QObject types kept deliberatel...
#define SAVEFILE_AUTOPORT
Expands to the correct dllexport/dllimport decoration for this library.
One map's complete static definition – the root of the MapDBEntry family.