274 s32 primR, primG, primB;
275 s32 envR, envG, envB;
276 s32 primR2, primG2, primB2;
277 s32 envR2, envG2, envB2;
283 primR = data->
prim.
r;
284 primG = data->
prim.
g;
285 primB = data->
prim.
b;
289 primR2 = data->
prim.
r;
290 primG2 = data->
prim.
g;
291 primB2 = data->
prim.
b;
317 G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
325 for (i = 1; i < ((
EffectInstance*) effect)->numParts; i++, data++) {
340 G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
347 gDPSetPrimColor(
gMainGfxPos++, 0, 0, primR2, primG2, primB2, primA);
348 gDPSetEnvColor(
gMainGfxPos++, envR2, envG2, envB2, 0);
352 gDPSetPrimColor(
gMainGfxPos++, 0, 0, primR, primG, primB, primA);
353 gDPSetEnvColor(
gMainGfxPos++, envR, envG, envB, 0);