132 {
135 Gfx* dlist2;
136 s32 alpha;
137 s32 primR;
138 s32 primG;
139 s32 primB;
140 s32 envR;
141 s32 envG;
142 s32 envB;
143 s32 primR2;
144 s32 primG2;
145 s32 primB2;
146 s32 envR2;
147 s32 envG2;
148 s32 envB2;
149 Gfx* savedGfxPos;
150 Gfx* savedGfxPos2;
153 s32 i;
154
161
165
168
170
172 primR2 = primR;
173 primG2 = primG;
174 primB2 = primB;
175 envR2 = envR;
176 envG2 = envG;
177 envB2 = envB;
178
182
183 part++;
184 for (i = 1; i < ((
EffectInstance*)effect)->numParts; i++, part++) {
194
196
202 }
203 }
204
207
208 gDPSetPrimColor(
gMainGfxPos++, 0, 0, primR2, primG2, primB2, alpha);
209 gDPSetEnvColor(
gMainGfxPos++, envR2, envG2, envB2, 0);
213
214 gDPSetPrimColor(
gMainGfxPos++, 0, 0, primR, primG, primB, alpha);
215 gDPSetEnvColor(
gMainGfxPos++, envR, envG, envB, 0);
219
221}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext