- {
- /*
- * Have all the timers checked.
- */
- fghCheckTimers();
-
- /*
- * Poll the joystick and notify all windows that want to be notified...
- */
- fghCheckJoystickPolls();
-
- /*
- * No messages in the queue, which means we are idling...
- */
- if( fgState.IdleCallback != NULL )
- fgState.IdleCallback();
-
- /*
- * Remember about displaying all the windows that have
- * been marked for a redisplay (possibly in the idle call):
- */
- fghDisplayAll();
- }
-