void WaitForTimer(int msec_delay)
{
// if (_fastMode & 2)
// msec_delay = 0;
// else if (_fastMode & 1)
// msec_delay = 10;
var start_time = Environment.TickCount;
while (!HasToQuit)
{
// _sound.updateCD(); // Loop CD Audio if needed
ParseEvents();
if (_townsScreen != null)
_townsScreen.Update();
_gfxManager.UpdateScreen();
if (Environment.TickCount >= start_time + msec_delay)
break;
ServiceLocator.Platform.Sleep(10);
}
}