Skip to Content
The Alchemy Project

struct MAP_VIEW_STATE

A view of the map state as the screen transitions read it: the display control bits, the window edges and interrupt lines of a transition, and the map's resources.

Declared in map_grid.h.

Fields

NameDescription
Uint32unused [5]Map state fields no window view names.
Uint16dispcntDisplay control bits ORed into DISPCNT.
Uint8unusedAfterDispcnt [234]No code names it.
Sint8animationActive
Uint8unusedAfterAnimationActive [3]No code names it.
Uint16windowTop
Uint16windowBottom
Uint16irqFirstLine
Uint16irqSecondLine
Uint16irqPhase
Uint8unusedAfterIrqPhase [18]No code names it.
Uint32 *resources
Uint8unusedAfterResources [2124]No code names it.
Sint8extraTiles
Uint8pictureShown
Uint8picturePending
Sint8area

Description

A view of the map state as the screen transitions read it: the display control bits, the window edges and interrupt lines of a transition, and the map's resources.

struct MAP_VIEW_STATE

Referenced by fdScreenTransitionStart(), fdScreenTransitionUpdate(), fdScreenTransitionUpdateFromCenter() and fdScreenTransitionUpdateScanline().

Definition at line 283 of file map_grid.h.

Fields in detail

unused

Uint32 unused[5]

Map state fields no window view names.

dispcnt

Uint16 dispcnt

Display control bits ORed into DISPCNT.

unusedAfterDispcnt

Uint8 unusedAfterDispcnt[234]

No code names it.

animationActive

Sint8 animationActive

unusedAfterAnimationActive

Uint8 unusedAfterAnimationActive[3]

No code names it.

windowTop

Uint16 windowTop

windowBottom

Uint16 windowBottom

irqFirstLine

Uint16 irqFirstLine

irqSecondLine

Uint16 irqSecondLine

irqPhase

Uint16 irqPhase

unusedAfterIrqPhase

Uint8 unusedAfterIrqPhase[18]

No code names it.

resources

Uint32 *resources

unusedAfterResources

Uint8 unusedAfterResources[2124]

No code names it.

extraTiles

Sint8 extraTiles

pictureShown

Uint8 pictureShown

picturePending

Uint8 picturePending

area

Sint8 area