Macros and constants for definition cardinal directions in screen and world space.
More...
|
#define | RETROFLAT_DIR4_NONE (-1) |
|
#define | RETROFLAT_DIR4_NORTH 0 |
|
#define | RETROFLAT_DIR4_EAST 1 |
|
#define | RETROFLAT_DIR4_SOUTH 2 |
|
#define | RETROFLAT_DIR4_WEST 3 |
|
#define | RETROFLAT_DIR8_NONE (-1) |
|
#define | RETROFLAT_DIR8_NORTH 0 |
|
#define | RETROFLAT_DIR8_EAST 2 |
|
#define | RETROFLAT_DIR8_SOUTH 4 |
|
#define | RETROFLAT_DIR8_WEST 6 |
|
#define | retroflat_dir8_reverse(dir) |
|
#define | retroflat_dir8_bounce(dir) |
|
|
typedef int8_t | retroflat_dir4_t |
|
typedef int8_t | retroflat_dir8_t |
|
|
MAUG_CONST int16_t SEG_MCONST | gc_retroflat_offsets8_x [8] |
|
MAUG_CONST int16_t SEG_MCONST | gc_retroflat_offsets8_y [8] |
|
MAUG_CONST int16_t SEG_MCONST | gc_retroflat_offsets4_x [4] |
|
MAUG_CONST int16_t SEG_MCONST | gc_retroflat_offsets4_y [4] |
|
Macros and constants for definition cardinal directions in screen and world space.
◆ retroflat_dir8_bounce
#define retroflat_dir8_bounce |
( |
| dir | ) |
|
◆ retroflat_dir8_reverse
#define retroflat_dir8_reverse |
( |
| dir | ) |
|