110 {
112 s32 type = data->
type;
113 f32 scale = data->
scale;
116 s32 i;
117
118 if (scale != 0.0f) {
122
123 if (type == 0) {
126 } else {
129 }
130
133 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
135 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
136
137 scale *= 0.6;
138
139 guScaleF(mtxTemp, scale, scale, 1.0f);
140 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
142
144
145 for (i = 0; i < 4; i++) {
147
148 if (type == 0) {
150 } else {
152 }
153
154 gDPSetTextureImage(
gMainGfxPos++, G_IM_FMT_IA, G_IM_SIZ_8b, 128, img);
155 gDPSetTile(
gMainGfxPos++, G_IM_FMT_IA, G_IM_SIZ_8b, 16, 0, G_TX_LOADTILE, 0,
156 G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD,
157 G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD);
159 gDPLoadTile(
gMainGfxPos++, G_TX_LOADTILE, 0, 0, 508, 124);
161 gDPSetTile(
gMainGfxPos++, G_IM_FMT_IA, G_IM_SIZ_8b, 16, 0, G_TX_RENDERTILE, 0,
162 G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD,
163 G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD);
164 gDPSetTileSize(
gMainGfxPos++, G_TX_RENDERTILE, 0, 0, 508, 124);
166 }
167
170 }
171}
IMG_BIN D_09000000_345B40[][0x1000]
IMG_BIN D_09004000_349B40[][0x1000]
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext