public void Recolor(bool p, byte[] newColors, byte[] oldColors) { normal.Recolor(p, newColors, oldColors); normal_f.Recolor(p, newColors, oldColors); attack.Recolor(p, newColors, oldColors); attack_f.Recolor(p, newColors, oldColors); }
internal static void DrawMaybeOverlayed(DaxBlock dax_block, bool useOverlay, int rowY, int colX) // sub_7000A { if (dax_block != null) { if (gbl.area_ptr.picture_fade > 0 || useOverlay == true) { if (gbl.area_ptr.picture_fade > 0) { dax_block.Recolor(true, fadeNewColors, fadeOldColors); } seg040.OverlayBounded(dax_block, 0, 0, rowY - 1, colX - 1); seg040.DrawOverlay(); } else { seg040.draw_picture(dax_block, rowY, colX, 0); } } }