- SheetSize is configurable. - TerrainRenderer gets to load it's sprites first, meaning we need one less texture.

This commit is contained in:
Bob
2009-11-23 18:53:01 +13:00
parent d5d013ad32
commit c7e95c71b2
5 changed files with 16 additions and 9 deletions

View File

@@ -57,6 +57,8 @@ namespace OpenRa.Game
Game.NetworkHost = settings.GetValue( "host", "" );
Game.NetworkPort = int.Parse( settings.GetValue( "port", "0" ) );
Renderer.SheetSize = int.Parse( settings.GetValue( "sheetsize", "512" ) );
Game.Initialize(settings.GetValue("map", "scm12ea.ini"), renderer, new int2(ClientSize),
settings.GetValue("player", 1));