new chrome stuff

This commit is contained in:
Chris Forbes
2009-11-15 20:28:49 +13:00
parent 7f25733176
commit 35f00cbc54
13 changed files with 204 additions and 53 deletions

View File

@@ -24,6 +24,7 @@ namespace OpenRa.Game
public static PathFinder PathFinder;
public static WorldRenderer worldRenderer;
public static Controller controller;
public static Chrome chrome;
public static OrderManager orderManager;
@@ -86,6 +87,8 @@ namespace OpenRa.Game
skipMakeAnims = false;
PerfHistory.items["render"].hasNormalTick = false;
chrome = new Chrome(renderer);
}
static void LoadMapBuildings( IniFile mapfile )
@@ -174,7 +177,6 @@ namespace OpenRa.Game
using (new PerfSample("render"))
{
++RenderFrame;
viewport.cursor = controller.ChooseCursor();
viewport.DrawRegions();