src/field/world_map_cursor_angles.c
Which way the cursor of the map screen moves for the +Control Pad (fdMapScreenUpdateMarkers).
Variables
| Name | Description | |
|---|---|---|
const Uint16 | WorldMapCursorDirectionAngles [16] | A heading for each value of the right, left, up and down bits of the +Control Pad, in eight ways; DPAD_ANGLE_NONE when none is held, or right and left or up and down together. |
Description
Which way the cursor of the map screen moves for the +Control Pad
(fdMapScreenUpdateMarkers).
Variables in detail
WorldMapCursorDirectionAngles
const Uint16 WorldMapCursorDirectionAngles[16]
A heading for each value of the right, left, up and down bits of the +Control Pad, in eight ways;
DPAD_ANGLE_NONE when none is held, or right and left or up and down together. The same table as
InputDpadAnglesEightWay, which The Broken Seal keeps once.
Referenced by fdMapScreenUpdateMarkers().
Definition at line 12 of file world_map_cursor_angles.c.