Go to the source code of this file.
|
| #define | SetModelTiles() |
| | Set up the tiles of the textures of a model: the load tile and the two render tiles.
|
| #define | SetModelTextures() |
| | Turn the textures on at full scale and set up the tiles.
|
◆ SetModelTiles
| #define SetModelTiles |
( |
| ) |
|
Value: { \
0, \
0, \
0, \
0, \
0, \
0, \
0, \
0, \
0); \
gDPSetTile( \
gDisplayListPtr++,
G_IM_FMT_RGBA,
G_IM_SIZ_4b, 0, 0x1F0, 6, 0, 0, 0, 0, 0, 0, 0); \
gDPSetTile( \
gDisplayListPtr++,
G_IM_FMT_RGBA,
G_IM_SIZ_4b, 0, 0x100, 5, 0, 0, 0, 0, 0, 0, 0); \
}
Gfx * gDisplayListPtr
The next command of the display list.
#define G_TX_LOADTILE
Definition gbi.h:354
#define G_IM_SIZ_4b
Definition gbi.h:334
#define G_IM_FMT_RGBA
Definition gbi.h:330
#define G_IM_SIZ_16b
Definition gbi.h:336
Set up the tiles of the textures of a model: the load tile and the two render tiles.
◆ SetModelTextures
| #define SetModelTextures |
( |
| ) |
|
Value: { \
SetModelTiles(); \
}
#define G_ON
Definition gbi.h:359
#define G_TEXTURE_GEN_LINEAR
Definition gbi.h:202
#define G_TEXTURE_GEN
Definition gbi.h:201
#define G_TX_RENDERTILE
Definition gbi.h:353
Turn the textures on at full scale and set up the tiles.
◆ DrawModelDisplayList()
Draw a display list of the current model when it has one.
◆ SetVehicleLightColors()
| void SetVehicleLightColors |
( |
u32 | dir, |
|
|
u32 | ambient ) |
|
inlinestatic |
Set the colours of the light of the sun and of the ambient light.