void ResetActorBgs() { for (int i = 0; i < Gdi.NumStrips; i++) { int strip = _screenStartStrip + i; Gdi.ClearGfxUsageBit(strip, Gdi.UsageBitDirty); Gdi.ClearGfxUsageBit(strip, Gdi.UsageBitRestored); for (int j = 1; j < Actors.Length; j++) { if (Gdi.TestGfxUsageBit(strip, j) && ((Actors[j].Top != 0x7fffffff && Actors[j].NeedRedraw) || Actors[j].NeedBackgroundReset)) { Gdi.ClearGfxUsageBit(strip, j); if ((Actors[j].Bottom - Actors[j].Top) >= 0) { Gdi.ResetBackground(Actors[j].Top, Actors[j].Bottom, i); } } } } for (int i = 1; i < Actors.Length; i++) { Actors[i].NeedBackgroundReset = false; } }