From 41596a49cdaed49617af4bc28cacef626de90cdd Mon Sep 17 00:00:00 2001 From: Wanne Date: Mon, 19 May 2008 19:46:40 +0000 Subject: [PATCH] - bugfix: Multiplayer games can now run in fullscreen mode! Game will not pause anymore and ALT + TAB also works. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2186 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Standard Gaming Platform/sgp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Standard Gaming Platform/sgp.cpp b/Standard Gaming Platform/sgp.cpp index 7a9488be..e4cf4e0f 100644 --- a/Standard Gaming Platform/sgp.cpp +++ b/Standard Gaming Platform/sgp.cpp @@ -387,11 +387,11 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP break; case FALSE: // We are suspending direct draw - if (iScreenMode == 0) + //if (iScreenMode == 0) { #ifdef JA2 // pause the JA2 Global clock - PauseTime( TRUE ); + //PauseTime( TRUE ); SuspendVideoManager(); #else #ifndef UTIL @@ -406,7 +406,7 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP MoveTimer(TIMER_SUSPEND); #endif - gfApplicationActive = FALSE; + // gfApplicationActive = FALSE; fRestore = TRUE; } break; @@ -423,7 +423,7 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP break; case WM_SETFOCUS: - if (iScreenMode == 0) + //if (iScreenMode == 0) { #if !defined( JA2 ) && !defined( UTIL ) if(!VideoInspectorIsEnabled())