112 s32 type = data->
type;
113 f32 scale = data->
scale;
133 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
135 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
139 guScaleF(mtxTemp, scale, scale, 1.0f);
140 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
145 for (i = 0; i < 4; i++) {
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);