[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netPanzer-CVS] netpanzer ./ChangeLog src/NetPanzer/Interfaces/...
From: |
Matthias Braun |
Subject: |
[netPanzer-CVS] netpanzer ./ChangeLog src/NetPanzer/Interfaces/... |
Date: |
Tue, 11 Nov 2003 09:42:31 -0500 |
CVSROOT: /cvsroot/netpanzer
Module name: netpanzer
Branch:
Changes by: Matthias Braun <address@hidden> 03/11/11 09:42:31
Modified files:
. : ChangeLog
src/NetPanzer/Interfaces: GameManager.cpp PlayerGameManager.cpp
Log message:
display a message, so that the user knows what's going on when the
first start takes a long time
Patches:
Index: netpanzer/ChangeLog
diff -u netpanzer/ChangeLog:1.27 netpanzer/ChangeLog:1.28
--- netpanzer/ChangeLog:1.27 Tue Nov 11 08:42:04 2003
+++ netpanzer/ChangeLog Tue Nov 11 09:42:30 2003
@@ -3,6 +3,7 @@
-report exceptions in the irclobby view
-fixed serveraddress view to not contain the ok and abort buttons
-make irc lobby change nickname when the player changes it's name
+-put a message on screen, when palettes are calculated
07-Nov-2003 by Matthias Braun
-fixed HOM effect while joining server
Index: netpanzer/src/NetPanzer/Interfaces/GameManager.cpp
diff -u netpanzer/src/NetPanzer/Interfaces/GameManager.cpp:1.66
netpanzer/src/NetPanzer/Interfaces/GameManager.cpp:1.67
--- netpanzer/src/NetPanzer/Interfaces/GameManager.cpp:1.66 Tue Nov 11
07:09:50 2003
+++ netpanzer/src/NetPanzer/Interfaces/GameManager.cpp Tue Nov 11 09:42:30 2003
@@ -195,6 +195,18 @@
Desktop::checkViewPositions(mode_res);
//ConsoleInterface::setToSurfaceSize( mode_res );
+ if(old_res == iXY(0,0)) {
+ // users can get annoyed when they see a black screen for half a minute
+ // so we display something here... (we're just hoping that palette1 is
+ // not black)
+ std::cout << "Draw..." << std::endl;
+ Palette::color[255].red = 255;
+ Palette::color[255].green = 255;
+ Palette::color[255].blue = 255;
+ Screen->setPalette(Palette::color);
+ drawTextCenteredOnScreen("Please wait... generating palettes", 255);
+ }
+
// reset palette
Screen->setPalette(Palette::color);
}
Index: netpanzer/src/NetPanzer/Interfaces/PlayerGameManager.cpp
diff -u netpanzer/src/NetPanzer/Interfaces/PlayerGameManager.cpp:1.5
netpanzer/src/NetPanzer/Interfaces/PlayerGameManager.cpp:1.6
--- netpanzer/src/NetPanzer/Interfaces/PlayerGameManager.cpp:1.5 Mon Nov
3 08:26:34 2003
+++ netpanzer/src/NetPanzer/Interfaces/PlayerGameManager.cpp Tue Nov 11
09:42:31 2003
@@ -125,6 +125,7 @@
{
LOGGER.info("Initializing video mode");
Screen = new SDLDraw();
+ initFont();
GameManager::setVideoMode();
lobbyView = new LobbyView();
@@ -159,8 +160,6 @@
void PlayerGameManager::initializeWindowSubSystem()
{
GameManager::loadPalette("wads/netp.act");
-
- initFont();
gameView.init();
Desktop::add( &gameView );
- [netPanzer-CVS] netpanzer ./ChangeLog src/NetPanzer/Interfaces/...,
Matthias Braun <=