MoveViewport takes a float to allow for smoother panning. Added more scripting to shellmap

This commit is contained in:
Caleb Anderson
2010-10-21 00:17:32 -05:00
committed by Chris Forbes
parent fc72066ed2
commit ff7daf8727
6 changed files with 1286 additions and 1256 deletions

2
OpenRA.Game/Game.cs Normal file → Executable file
View File

@@ -43,7 +43,7 @@ namespace OpenRA
public static Renderer Renderer;
public static bool HasInputFocus = false;
public static void MoveViewport(int2 loc)
public static void MoveViewport(float2 loc)
{
viewport.Center(loc);
}