|
void | PA_InitMode7 (u8 bg_select) |
| Initialize Mode 7 for a given background. You MUST be in video mode 1 or 2.
|
|
static void | PA_DeInitMode7 () |
| DeInitialize Mode 7.
|
|
static void | PA_Mode7Angle (s16 angle) |
| Define the current angle.
|
|
static void | PA_Mode7MoveLeftRight (s16 x_deplac) |
| Move lateraly, so left or right...
|
|
static void | PA_Mode7MoveForwardBack (s16 z_deplac) |
| Move forward or backwards.
|
|
static void | PA_Mode7X (s16 mode7x) |
| Move to a given point on the map.
|
|
static void | PA_Mode7Z (s16 mode7z) |
| Move to a given point on the map.
|
|
static void | PA_Mode7SetPointXZ (s16 mode7x, s16 mode7z) |
| Move to a given point on the map (of coordinates x, z)
|
|
static void | PA_Mode7Height (s16 mode7y) |
| Set the camera height.
|
|
Different commands for Mode 7 :p A big thanks to TONC for these...
◆ PA_InitMode7()
void PA_InitMode7 |
( |
u8 |
bg_select | ) |
|
◆ PA_Mode7Angle()
static inline void PA_Mode7Angle |
( |
s16 |
angle | ) |
|
|
inlinestatic |
◆ PA_Mode7MoveLeftRight()
static inline void PA_Mode7MoveLeftRight |
( |
s16 |
x_deplac | ) |
|
|
inlinestatic |
◆ PA_Mode7MoveForwardBack()
static inline void PA_Mode7MoveForwardBack |
( |
s16 |
z_deplac | ) |
|
|
inlinestatic |
◆ PA_Mode7X()
static inline void PA_Mode7X |
( |
s16 |
mode7x | ) |
|
|
inlinestatic |
Move to a given point on the map.
- Parameters
-
mode7x | X position on the map |
◆ PA_Mode7Z()
static inline void PA_Mode7Z |
( |
s16 |
mode7z | ) |
|
|
inlinestatic |
Move to a given point on the map.
- Parameters
-
mode7z | Z position on the map |
◆ PA_Mode7SetPointXZ()
static inline void PA_Mode7SetPointXZ |
( |
s16 |
mode7x, |
|
|
s16 |
mode7z |
|
) |
| |
|
inlinestatic |
Move to a given point on the map (of coordinates x, z)
- Parameters
-
mode7x | X position on the map |
mode7z | Z position on the map |
◆ PA_Mode7Height()
static inline void PA_Mode7Height |
( |
s16 |
mode7y | ) |
|
|
inlinestatic |
Set the camera height.
- Parameters
-
mode7y | Camera Height. By default, 8192. You can set this from 0 to 40 000 (or even more, but then it gets a little small... |
- Examples
- Backgrounds/Effects/Mode7/source/main.c.