git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@2049 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2008-07-20 20:06:19 +00:00
parent 6f8919d301
commit 4ea033f63d
42 changed files with 247 additions and 198 deletions

View File

@@ -1,15 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.Windows.Forms;
using OpenRa.FileFormats;
using System.IO;
using OpenRa.Game.Graphics;
using OpenRa.TechTree;
namespace OpenRa.Game
{
using GRegion = OpenRa.Game.Graphics.Region;
class MainWindow : Form
{
readonly Renderer renderer;
@@ -74,7 +72,7 @@ namespace OpenRa.Game
lastPos = new int2(e.Location);
if (e.Button == MouseButtons.Left)
foreach (Region region in game.viewport.Regions)
foreach (GRegion region in game.viewport.Regions)
if (region.Contains(lastPos))
region.Clicked(e);
}