dmapdata#
Load with Game->LoadDMapData().
Variables#
const int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int[] |
|
int[] |
|
int[] |
|
int[] |
|
int[] |
|
int[] |
|
bool[] |
|
int[] |
|
bool |
|
int |
|
int |
|
untyped[] |
|
int |
|
untyped[] |
|
int[] |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
Functions#
Variable descriptions#
The DMapβs ID number.
Which map this DMap is associated with.
The Level Number of this dmap.
The DMap offset.
The compass marker and continue screen numbers.
The level palette to use for this DMap
The MIDI set to play on this dmap.
The compass marker and continue screen numbers.
The type of the dmap, using the DmapType (DMAP_
) constants.
The dmapdata script to run on this dmap.
The track number to use for enhanced music. See GetMusic().
int ActiveSubscreen π Source
Which engine active subscreen to use on this dmap.
int PassiveSubscreen π Source
Which engine passive subscreen to use on this dmap.
int OverlaySubscreen π Source
Which engine overlay subscreen to use on this dmap.
Bitwise values representing the state of the map grid. Make use of the
functions in std_zh/dmapgrid.zh
to access these values.
The tile used for the engine subscreen Small Map. The [0] index tile is used without the dungeon map, and the [1] index with the dungeon map.
The csets used for the engine subscreen Small Map, to go along with the MiniMapTile[].
The 8 InitD values for the active dmap script.
The tile used for the engine subscreen Large Map. The [0] index tile is used without the dungeon map, and the [1] index with the dungeon map.
The csets used for the engine subscreen Large Map, to go along with the MapTile[].
bool[] DisabledItems π Source
If each item on the dmap is disabled.
The flags for the dmap. Uses the DMFS_
constants.
If true, the dmap is treated as sideview by default; screens with the sideview flag enabled will toggle sideview back *off*.
Which dmapdata script to use as a replacement for the engine active subscreen (0 for none).
Which dmapdata script to run for passive subscreen draws.
untyped[] SubInitD π Source
The 8 InitD values shared by the Active and Passive Subscreen Scripts.
Which dmapdata script to use as a replacement for the engine fullscreen map (0 for none).
untyped[] MapInitD π Source
The 8 InitD values used by the Map Script.
Stores the large map exploration data for each screen on the dmap. <todo>Test if works on overworld dmaps.</todo>
The DMap ID that using a Mirror will take you to. If this is -1
,
Mirrors will not be able to warp you to another dmap. If the Flagset[]
βMirror Continues instead of Warpingβ is set, the mirror dmap setting is
not used.
The flags used by the DMap. These are ORβd together.
CAVES 0x0001
3STAIR 0x0002
WHIRLWIND 0x0004
GUYCAVES 0x0008
NOCOMPASS 0x0010
WAVY 0x0020
WHIRLWINDRET 0x0040
ALWAYSMSG 0x0080
VIEWMAP 0x0100
DMAPMAP 0x0200
MINIMAPCOLORFIX 0x0400
SCRIPT1 0x0800
SCRIPT2 0x1000
SCRIPT3 0x2000
SCRIPT4 0x4000
SCRIPT5 0x8000
int MusicLoopStart π Source
The starting loop point for enhanced music in seconds.
The ending loop point for enhanced music in seconds.
int MusicCrossfadeIn π Source
The number of frames enhanced music fades in for.
int MusicCrossfadeOut π Source
The number of frames enhanced music fades out for.
The ID in the string editor for the dmapβs intro string.
Function descriptions#
void GetName(char32[] buffer) π Source
Fills the buffer with the dmapβs name.
void SetName(char32[] buffer) π Source
Sets the DMapβs name to the buffer contents.
void GetTitle(char32[] buf) π Source
Fills the buffer with the dmapβs title.
void SetTitle(char32[] buf) π Source
Sets the DMapβs title to the buffer contents.
void GetIntro(char32[] buffer) π Source
Fills the buffer with the dmapβs intro.
void SetIntro(char32[] buffer) π Source
Sets the DMapβs intro to the buffer contents.
void GetMusic(char32[] buffer) π Source
Fills the buffer with the dmapβs enhanced music filename. See MusicTrack.
void SetMusic(char32[] filename) π Source
Sets the DMapβs enhanced music filename to the buffer contents. See MusicTrack.