Browse Source

Probably final version of techdemo.

Michał W. Urbańczyk 18 years ago
parent
commit
f01fc2af45
2 changed files with 4 additions and 4 deletions
  1. 1 1
      CMT.cpp
  2. 3 3
      CPlayerInterface.cpp

+ 1 - 1
CMT.cpp

@@ -57,7 +57,7 @@
 #endif
 
 #define CHUNK 16384
-const char * NAME = "VCMI 0.5 \"Tirion\"";
+const char * NAME = "VCMI 0.5 \"Tirion\" Techdemo";
 
 SDL_Surface * ekran, * screen, * screen2;
 TTF_Font * TNRB16, *TNR, *GEOR13, *GEORXX, *GEORM, *GEOR16;

+ 3 - 3
CPlayerInterface.cpp

@@ -1564,10 +1564,10 @@ SDL_Surface * CPlayerInterface::drawTownInfoWin(const CGTownInstance * curh)
 void CPlayerInterface::openTownWindow(const CGTownInstance * town)
 {
 	adventureInt->hide();
-	timeHandler t;
-	t.getDif();
+	//timeHandler t;
+	//t.getDif();
 	castleInt = new CCastleInterface(town,true);
-	std::cout << "Loading town screen: " << t.getDif() <<std::endl;
+	//std::cout << "Loading town screen: " << t.getDif() <<std::endl;
 }
 
 SDL_Surface * CPlayerInterface::infoWin(const CGObjectInstance * specific) //specific=0 => draws info about selected town/hero