Commits

Ivan Vučica committed 5c2c7c4

Added files missing in the CodeBlocks project for Windows. Made internal resolution larger (1024x768 instead of 640x480).

  • Participants
  • Parent commits c5c5154

Comments (0)

Files changed (2)

 	{
 		if(this->screenW > this->screenH)
 		{
-			return 640;
+			return 1024;
 		}
 		else
 		{
-			return 480 * this->screenW / this->screenH;
+			return 768 * this->screenW / this->screenH;
 		}
 	}
 
 	{
 		if(this->screenW > this->screenH)
 		{
-			return 640 * this->screenH / this->screenW;
+			return 1024 * this->screenH / this->screenW;
 		}
-		
+
 		else
 		{
-			return 480;
+			return 768;
 		}
 	}
 
-	float adjustedMouseX(float mouseX) const 
+	float adjustedMouseX(float mouseX) const
 	{
 		return (mouseX - this->screenW/2) * this->adjustedWidth() / this->screenW;
 	}
-	float adjustedMouseY(float mouseY) const 
-	{ 
-		return -(mouseY - this->screenH/2) * this->adjustedHeight() / this->screenH; 
+	float adjustedMouseY(float mouseY) const
+	{
+		return -(mouseY - this->screenH/2) * this->adjustedHeight() / this->screenH;
 	}
 
 	protected:

File thecombat-win32.cbp

 		<Unit filename="gm_battle.h" />
 		<Unit filename="map.cpp" />
 		<Unit filename="map.h" />
+		<Unit filename="pathfinder.cpp" />
+		<Unit filename="pathfinder.h" />
 		<Unit filename="texture.cpp" />
 		<Unit filename="texture.h" />
+		<Unit filename="texture_manager.cpp" />
+		<Unit filename="texture_manager.h" />
 		<Unit filename="thecombat.cpp" />
 		<Unit filename="tile.cpp" />
 		<Unit filename="tile.h" />
 		<Unit filename="tileset.h" />
 		<Unit filename="unit.cpp" />
 		<Unit filename="unit.h" />
+		<Unit filename="unitcontainer.cpp" />
+		<Unit filename="unitcontainer.h" />
 		<Extensions>
 			<code_completion />
 			<envvars />