static void render(int time, Graphics g) { if (g != null) { g.TranslateTransform(107f, 0f); g.FillRectangle(new SolidBrush(Color.Black), LOWERBOUND, 0, UPPERBOUND - LOWERBOUND * 2, 480); } fft.Update(time); iTime = time; foreach (Z z in zs) { if (z.start <= time && time < z.stop) { isPhantomFrame = false; if (rendering && time % z.framedelta != 0) { if (!processPhantom || time % z.phantomframedelta != 0) { continue; } isPhantomFrame = true; } int reltime = time - z.start; z.draw(new SCENE(z.start, z.stop, time, g)); } } if (g != null && !Widescreen) { Widescreen = true; Brush b = new SolidBrush(SystemColors.Control); g.FillRectangle(b, LOWERBOUND, 0, -LOWERBOUND, 480); g.FillRectangle(b, UPPERBOUND + LOWERBOUND, 0, -LOWERBOUND, 480); Widescreen = false; } }