From 003ce5972d890fcb5c484aed63b9c316734f619b Mon Sep 17 00:00:00 2001 From: chrisf Date: Tue, 10 Jul 2007 06:14:38 +0000 Subject: [PATCH] even faster!! git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1157 993157c7-ee19-0410-b2c4-bb4e9862e678 --- OpenRa.Game/MainWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRa.Game/MainWindow.cs b/OpenRa.Game/MainWindow.cs index 3e7a9a9183..c00fb44a99 100644 --- a/OpenRa.Game/MainWindow.cs +++ b/OpenRa.Game/MainWindow.cs @@ -20,7 +20,7 @@ namespace OpenRa.Game Package TileMix; string TileSuffix; - const string mapName = "scm12ea.ini"; + const string mapName = "scg11eb.ini"; const string shaderName = "diffuse.fx"; Dictionary> tileMapping = @@ -219,7 +219,7 @@ namespace OpenRa.Game int indicesPerRow = map.Width * 6; int verticesPerRow = map.Width * 4; - int visibleRows = (int)Math.Ceiling(800.0f / 24.0f) + 2; + int visibleRows = (int)Math.Ceiling(800.0f / 24.0f) + 3; int firstRow = (int)((scrollPos.Y - 1) * 16.0f); int lastRow = firstRow + visibleRows;