78 Q_INVOKABLE
void connNew(
int dir);
constexpr var16 VramBGPtr
Fixed GB VRAM background-tilemap pointer (never changes).
void forceBikeRideChanged()
void setTo(MapDBEntry *map, int x, int y)
Configure to map with the player at (x,y).
void mapViewVRAMPointerChanged()
void cardKeyDoorYChanged()
int height
Map Size including it's double size.
int mapViewVRAMPointer
<- Unused, reset at start of gameplay
void blackoutDestChanged()
protected::void curMapChanged()
void cardKeyDoorXChanged()
int connCount()
Number of edge connections.
int currentTileBlockMapViewPointer
<- Player coords converted to a ptr
bool forceBikeRide
Flags that may not be used, unknown.
void connRemove(int dir)
Remove the connection in dir.
int cardKeyDoorX
Unknown ???
MapDBEntry * toCurMap()
The current map's DB entry.
int coordsToPtr(int x, int y, int width)
Converts X & Y values to a pointer for currentTileBlockMapViewPointer.
void load(SaveFile *saveFile=nullptr)
Expand the map block from the save.
void curMapScriptChanged()
void connNew(int dir)
Add a connection in dir.
int outOfBoundsBlock
This is not a tile, it's a block.
void outOfBoundsBlockChanged()
QHash< var8, MapConnData * > connections
Edge connections by direction (see the IDE note above).
int curMap
Current Map ID.
void save(SaveFile *saveFile)
Flatten the map block to the save.
void curMapNextFrameChanged()
void currentTileBlockMapViewPointerChanged()
AreaMap(SaveFile *saveFile=nullptr)
< Current map id.
MapConnData * connAt(int dir)
Connection in direction dir (GC-protected return).
void reset()
Blank the map block.
int curMapScript
Current map script index.
void randomize(MapDBEntry *map, int x, int y)
Randomize to map with the player at (x,y).
void connectionsChanged()
int dataPtr
Map basic pointers.
One edge connection of the current map (the seam to a neighbouring map).
One loaded save: the raw 32 KB bytes, their expanded object tree, and the tools that move between the...
Project-wide fixed-width integer aliases (var8, var16, ...).
var16e var16
Everyday 16-bit alias. Exact width to avoid the "fastest" widening bug.
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.