Clean up some ifdefs and config.h
This commit is contained in:
1 parent
923db21615
commit
12c362ac86
57 files changed
+207
-5568
No files matched your search
@@ -980,17 +980,7 @@ static void geo_process_shadow(struct GraphNodeShadow *node) {
|
||||
mtxf_mul(gMatStack[gMatStackIndex], mtxf, *gCurGraphNodeCamera->matrixPtr);
|
||||
mtxf_to_mtx(mtx, gMatStack[gMatStackIndex]);
|
||||
gMatStackFixed[gMatStackIndex] = mtx;
|
||||
#ifdef FIX_SHADOW_TRANSPARENCY
|
||||
geo_append_display_list((void *) VIRTUAL_TO_PHYSICAL(shadowList), ((gShadowAboveWaterOrLava || gShadowAboveCustomWater || gMarioOnIceOrCarpet) ? LAYER_TRANSPARENT : LAYER_TRANSPARENT_DECAL));
|
||||
#else
|
||||
if (gShadowAboveWaterOrLava == TRUE) {
|
||||
geo_append_display_list((void *) VIRTUAL_TO_PHYSICAL(shadowList), LAYER_ALPHA);
|
||||
} else if (gMarioOnIceOrCarpet == TRUE || gShadowAboveCustomWater == TRUE) {
|
||||
geo_append_display_list((void *) VIRTUAL_TO_PHYSICAL(shadowList), LAYER_TRANSPARENT);
|
||||
} else {
|
||||
geo_append_display_list((void *) VIRTUAL_TO_PHYSICAL(shadowList), LAYER_TRANSPARENT_DECAL);
|
||||
}
|
||||
#endif
|
||||
gMatStackIndex--;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user