From e4cd3dea2cb6314273e35c475542389312b74392 Mon Sep 17 00:00:00 2001 From: James Turk Date: Sat, 1 Mar 2003 20:46:00 +0000 Subject: [PATCH] *** empty log message *** --- src/ZE_ZEngine.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/ZE_ZEngine.cpp b/src/ZE_ZEngine.cpp index 6a618e1..88212f9 100644 --- a/src/ZE_ZEngine.cpp +++ b/src/ZE_ZEngine.cpp @@ -13,7 +13,7 @@ File: ZE_ZEngine.cpp
Description: Implementation source file for ZEngine library main singleton class.
Author(s): James Turk
-$Id: ZE_ZEngine.cpp,v 1.28 2003/02/16 21:38:50 cozman Exp $
+$Id: ZE_ZEngine.cpp,v 1.29 2003/03/01 20:46:00 cozman Exp $
\file ZE_ZEngine.cpp \brief Central source file for ZEngine. @@ -293,7 +293,17 @@ void ZEngine::ToggleFullscreen() SDL_WM_ToggleFullScreen(mScreen); #else char *title,*icon; + + if(!mPaused) + { + mUnpauseOnActive = true; + PauseTimer(); + } SetupDisplay(mWidth,mHeight,mBPP,!mFullscreen); + + if(mUnpauseOnActive) + UnpauseTimer(); + SDL_WM_GetCaption(&title,&icon); if(icon) CreateDisplay(title,icon);