[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp
From: |
Ivo Danihelka |
Subject: |
[netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp |
Date: |
Tue, 23 Sep 2003 18:51:03 -0400 |
CVSROOT: /cvsroot/netpanzer
Module name: netpanzer
Branch:
Changes by: Ivo Danihelka <address@hidden> 03/09/23 18:51:03
Modified files:
src/NetPanzer/Interfaces: GameManager.cpp
Log message:
Alt+Enter ... fullscreen
Patches:
Index: netpanzer/src/NetPanzer/Interfaces/GameManager.cpp
diff -u netpanzer/src/NetPanzer/Interfaces/GameManager.cpp:1.52
netpanzer/src/NetPanzer/Interfaces/GameManager.cpp:1.53
--- netpanzer/src/NetPanzer/Interfaces/GameManager.cpp:1.52 Tue Sep 23
11:04:44 2003
+++ netpanzer/src/NetPanzer/Interfaces/GameManager.cpp Tue Sep 23 18:51:03 2003
@@ -495,6 +495,14 @@
Bot::bot()->processEvents();
}
+ // Alt+Enter fullscreen
+ if (KeyboardInterface::getKeyPressed(SDLK_RETURN)
+ && (KeyboardInterface::getKeyState(SDLK_RALT)
+ || KeyboardInterface::getKeyState(SDLK_LALT)))
+ {
+ GameConfig::setFullscreen(!Screen->isFullScreen());
+ GameManager::setVideoMode();
+ }
if (Desktop::getVisible("GameView")) {
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp, Matthias Braun, 2003/09/05
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp, Matthias Braun, 2003/09/06
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp, Matthias Braun, 2003/09/08
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp, Matthias Braun, 2003/09/11
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp, Matthias Braun, 2003/09/13
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp, Matthias Braun, 2003/09/23
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp, Ivo Danihelka, 2003/09/23
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp,
Ivo Danihelka <=