- /* this is done in screens.c/HandleGameActions() by calling BackToFront() */
- XSync(display, False); /* block until all graphics are drawn */
-#endif
-
- WaitUntilDelayReached(&game_frame_delay, game_frame_delay_value);
-
- game_animscreen();
-
- RandomEM = RandomEM * 129 + 1;
-
- frame = (frame - 1) & 7;
-
- for (i = 0; i < MAX_PLAYERS; i++)
- readjoy(action[i], &ply[i]);
-
- UpdateEngineValues(screen_x / TILEX, screen_y / TILEY);
-
- if (frame == 7)
- {
- synchro_1();
- synchro_2();
- }
-
- if (frame == 6)
- {
- synchro_3();
- sound_play();