| 666 | extern bool Skip_render_game_frame; |
| 667 | extern void GameFrame(void); |
| 668 | void D3DeferHandler(bool is_active) { |
| 669 | if (is_active) { |
| 670 | // perform any needed io system processing in the background |
| 671 | ddio_Frame(); |
| 672 | } else { |
| 673 | // JEFF - If the game is in idle loop and we are in multiplayer game |
| 674 | // then process the game frame so we stay alive in the game. |
| 675 | if (Game_mode & GM_MULTI) { |
| 676 | Skip_render_game_frame = true; |
| 677 | GameFrame(); |
| 678 | Skip_render_game_frame = false; |
| 679 | } |
| 680 | } |
| 681 | |
| 682 | // JEFF - Commented out due to new idle processing |
| 683 | nw_DoNetworkIdle(); |
| 684 | } |
| 685 | |
| 686 | // --------------------------------------------------------------------------- |
| 687 | // this is called when you hit a debug break! |
nothing calls this directly
no test coverage detected