renamed OpenRa.Game.* to OpenRa.*; a few other bits
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Game.Traits.Activities;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
using OpenRa.Traits.Activities;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class Actor
|
||||
public class Actor
|
||||
{
|
||||
[Sync]
|
||||
public readonly TypeDictionary traits = new TypeDictionary();
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class BuildingInfluenceMap
|
||||
public class BuildingInfluenceMap
|
||||
{
|
||||
bool[,] blocked = new bool[128, 128];
|
||||
Actor[,] influence = new Actor[128, 128];
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Drawing;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class Chat
|
||||
{
|
||||
|
||||
@@ -4,12 +4,12 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using IjwFramework.Types;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Orders;
|
||||
using OpenRa.Game.Support;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Orders;
|
||||
using OpenRa.Support;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class Chrome : IHandleInput
|
||||
{
|
||||
@@ -126,7 +126,7 @@ namespace OpenRa.Game
|
||||
|
||||
tabImageNames = groups.Select(
|
||||
(g, i) => Pair.New(g,
|
||||
OpenRa.Game.Graphics.Util.MakeArray(3,
|
||||
OpenRa.Graphics.Util.MakeArray(3,
|
||||
n => i.ToString())))
|
||||
.ToDictionary(a => a.First, a => a.Second);
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Effects;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Effects;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
static class Combat /* some utility bits that are shared between various things */
|
||||
{
|
||||
|
||||
@@ -3,14 +3,14 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using IjwFramework.Collections;
|
||||
using IjwFramework.Types;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Orders;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Orders;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class Controller : IHandleInput
|
||||
public class Controller : IHandleInput
|
||||
{
|
||||
public IOrderGenerator orderGenerator;
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Graphics;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class Cursor
|
||||
public class Cursor
|
||||
{
|
||||
CursorSequence sequence;
|
||||
Cursor(string cursor)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class Bullet : IEffect
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class Corpse : IEffect
|
||||
{
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class DelayedAction : IEffect
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class Explosion : IEffect
|
||||
{
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Traits;
|
||||
using OpenRa.Graphics;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class FlashTarget : IEffect
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class GpsSatellite : IEffect
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
interface IEffect
|
||||
public interface IEffect
|
||||
{
|
||||
void Tick();
|
||||
IEnumerable<Renderable> Render();
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class InvulnEffect : IEffect
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
using System;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class Missile : IEffect
|
||||
{
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class MoveFlash : IEffect
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class PowerDownIndicator : IEffect
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class RepairIndicator : IEffect
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class SatelliteLaunch : IEffect
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class Smoke : IEffect
|
||||
{
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Effects
|
||||
namespace OpenRa.Effects
|
||||
{
|
||||
class TeslaZap : IEffect
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
static class Exts
|
||||
{
|
||||
|
||||
@@ -4,28 +4,28 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Net.Sockets;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Orders;
|
||||
using OpenRa.Game.Support;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Orders;
|
||||
using OpenRa.Support;
|
||||
using OpenRa.Traits;
|
||||
using IjwFramework.Types;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
static class Game
|
||||
public static class Game
|
||||
{
|
||||
public static readonly int CellSize = 24;
|
||||
|
||||
public static World world;
|
||||
public static Viewport viewport;
|
||||
internal static Viewport viewport;
|
||||
public static PathFinder PathFinder;
|
||||
public static WorldRenderer worldRenderer;
|
||||
internal static WorldRenderer worldRenderer;
|
||||
public static Controller controller;
|
||||
public static Chrome chrome;
|
||||
internal static Chrome chrome;
|
||||
public static UserSettings Settings;
|
||||
|
||||
public static OrderManager orderManager;
|
||||
internal static OrderManager orderManager;
|
||||
|
||||
static int localPlayerIndex;
|
||||
|
||||
@@ -50,9 +50,9 @@ namespace OpenRa.Game
|
||||
static int2 clientSize;
|
||||
static HardwarePalette palette;
|
||||
static string mapName;
|
||||
public static Minimap minimap;
|
||||
public static Session LobbyInfo = new Session();
|
||||
public static int2[] SpawnPoints;
|
||||
internal static Minimap minimap;
|
||||
internal static Session LobbyInfo = new Session();
|
||||
internal static int2[] SpawnPoints;
|
||||
static bool changePending;
|
||||
|
||||
public static void ChangeMap(string mapName)
|
||||
@@ -115,7 +115,7 @@ namespace OpenRa.Game
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
public static void Initialize(string mapName, Renderer renderer, int2 clientSize,
|
||||
internal static void Initialize(string mapName, Renderer renderer, int2 clientSize,
|
||||
int localPlayer, bool useAftermath, Controller controller)
|
||||
{
|
||||
localPlayerIndex = localPlayer;
|
||||
@@ -169,7 +169,7 @@ namespace OpenRa.Game
|
||||
static int oreTicks;
|
||||
public static int RenderFrame = 0;
|
||||
|
||||
public static Chat chat = new Chat();
|
||||
internal static Chat chat = new Chat();
|
||||
|
||||
public static void Tick()
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class AftermathInfo
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
public enum ArmorType
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
static class Footprint
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
using System;
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class GeneralInfo
|
||||
{
|
||||
|
||||
@@ -3,11 +3,11 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Graphics;
|
||||
using IjwFramework.Types;
|
||||
using System.Collections;
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class InfoLoader<T> : IEnumerable<KeyValuePair<string, T>>
|
||||
{
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class NewUnitInfo
|
||||
public class NewUnitInfo
|
||||
{
|
||||
public readonly string Name;
|
||||
public readonly string Category;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class ProjectileInfo
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using IjwFramework.Types;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.GameRules;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
static class Rules
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
public class SupportPowerInfo
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using IjwFramework.Collections;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class TechTree
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class UserSettings
|
||||
public class UserSettings
|
||||
{
|
||||
// Debug settings
|
||||
public readonly bool UnitDebug = false;
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Text;
|
||||
using IjwFramework.Types;
|
||||
using IjwFramework.Collections;
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class VoiceInfo
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class WarheadInfo
|
||||
public class WarheadInfo
|
||||
{
|
||||
public readonly int Spread = 1;
|
||||
public readonly float[] Verses = { 1, 1, 1, 1, 1 };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace OpenRa.Game.GameRules
|
||||
namespace OpenRa.GameRules
|
||||
{
|
||||
class WeaponInfo
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class Animation
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Xml;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class CursorSequence
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using IjwFramework.Collections;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
static class CursorSheetBuilder
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Drawing;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
public enum PaletteType
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Drawing;
|
||||
using Ijw.DirectX;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class LineRenderer
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Drawing;
|
||||
using Ijw.DirectX;
|
||||
using System.IO;
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class MappedImage
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Traits;
|
||||
using OpenRa.FileFormats;
|
||||
using System.Drawing.Imaging;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class Minimap
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Linq;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class OverlayRenderer
|
||||
{
|
||||
|
||||
@@ -2,11 +2,11 @@ using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using Ijw.DirectX;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.Support;
|
||||
using OpenRa.Support;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class Renderer
|
||||
internal class Renderer
|
||||
{
|
||||
internal static int SheetSize;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Xml;
|
||||
using Ijw.DirectX;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class Sequence
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Xml;
|
||||
using OpenRa.FileFormats;
|
||||
using System;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
static class SequenceProvider
|
||||
{
|
||||
|
||||
@@ -2,22 +2,22 @@ using System.Drawing;
|
||||
using Ijw.DirectX;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class Sheet
|
||||
public class Sheet
|
||||
{
|
||||
readonly Renderer renderer;
|
||||
protected readonly Bitmap bitmap;
|
||||
|
||||
Texture texture;
|
||||
|
||||
public Sheet(Renderer renderer, Size size)
|
||||
internal Sheet(Renderer renderer, Size size)
|
||||
{
|
||||
this.renderer = renderer;
|
||||
this.bitmap = new Bitmap(size.Width, size.Height);
|
||||
}
|
||||
|
||||
public Sheet(Renderer renderer, string filename)
|
||||
internal Sheet(Renderer renderer, string filename)
|
||||
{
|
||||
this.renderer = renderer;
|
||||
this.bitmap = (Bitmap)Image.FromStream(FileSystem.Open(filename));
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Drawing;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
static class SheetBuilder
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Drawing;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class Sprite
|
||||
public class Sprite
|
||||
{
|
||||
public readonly Rectangle bounds;
|
||||
public readonly Sheet sheet;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Ijw.DirectX;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class SpriteRenderer
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ using System.Linq;
|
||||
using IjwFramework.Collections;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
static class SpriteSheetBuilder
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Ijw.DirectX;
|
||||
using IjwFramework.Collections;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class TerrainRenderer
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Drawing.Imaging;
|
||||
using System.IO;
|
||||
using System.Drawing;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
static class Util
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using Ijw.DirectX;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
struct Vertex
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
interface IHandleInput
|
||||
{
|
||||
|
||||
@@ -4,11 +4,11 @@ using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using IjwFramework.Types;
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Game.Support;
|
||||
using OpenRa.Game.Effects;
|
||||
using OpenRa.Traits;
|
||||
using OpenRa.Support;
|
||||
using OpenRa.Effects;
|
||||
|
||||
namespace OpenRa.Game.Graphics
|
||||
namespace OpenRa.Graphics
|
||||
{
|
||||
class WorldRenderer
|
||||
{
|
||||
|
||||
@@ -4,12 +4,12 @@ using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Orders;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Orders;
|
||||
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class MainWindow : Form
|
||||
{
|
||||
@@ -183,7 +183,7 @@ namespace OpenRa.Game
|
||||
}
|
||||
|
||||
[Flags]
|
||||
enum MouseButton
|
||||
public enum MouseButton
|
||||
{
|
||||
None = (int)MouseButtons.None,
|
||||
Left = (int)MouseButtons.Left,
|
||||
@@ -192,7 +192,7 @@ namespace OpenRa.Game
|
||||
}
|
||||
|
||||
[Flags]
|
||||
enum Modifiers
|
||||
public enum Modifiers
|
||||
{
|
||||
None = (int)Keys.None,
|
||||
Shift = (int)Keys.Shift,
|
||||
@@ -200,7 +200,7 @@ namespace OpenRa.Game
|
||||
Ctrl = (int)Keys.Control,
|
||||
}
|
||||
|
||||
struct MouseInput
|
||||
public struct MouseInput
|
||||
{
|
||||
public MouseInputEvent Event;
|
||||
public int2 Location;
|
||||
@@ -208,5 +208,5 @@ namespace OpenRa.Game
|
||||
public Modifiers Modifiers;
|
||||
}
|
||||
|
||||
enum MouseInputEvent { Down, Move, Up };
|
||||
public enum MouseInputEvent { Down, Move, Up };
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Drawing;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Game.SupportPowers;
|
||||
using OpenRa.Traits;
|
||||
using OpenRa.SupportPowers;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class ChronoshiftDestinationOrderGenerator : IOrderGenerator
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class ChronoshiftSelfDestinationOrderGenerator : IOrderGenerator
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Game.SupportPowers;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
using OpenRa.SupportPowers;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class ChronosphereSelectOrderGenerator : IOrderGenerator
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
interface IOrderGenerator
|
||||
public interface IOrderGenerator
|
||||
{
|
||||
IEnumerable<Order> Order( int2 xy, MouseInput mi );
|
||||
void Tick();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
interface IOrderSource
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Game.SupportPowers;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
using OpenRa.SupportPowers;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class IronCurtainOrderGenerator : IOrderGenerator
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class LocalOrderSource : IOrderSource
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Net.Sockets;
|
||||
using System.Threading;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class NetworkOrderSource : IOrderSource
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.SupportPowers;
|
||||
using OpenRa.SupportPowers;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
sealed class Order
|
||||
public sealed class Order
|
||||
{
|
||||
public readonly string OrderString;
|
||||
readonly uint SubjectId;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
static class OrderIO
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class OrderManager
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class PlaceBuildingOrderGenerator : IOrderGenerator
|
||||
{
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class PowerDownOrderGenerator : IOrderGenerator
|
||||
{
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class RepairOrderGenerator : IOrderGenerator
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class ReplayOrderSource : IOrderSource
|
||||
{
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class SellOrderGenerator : IOrderGenerator
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Traits;
|
||||
using OpenRa.GameRules;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
class UnitOrderGenerator : IOrderGenerator
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System.Drawing;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.Orders
|
||||
namespace OpenRa.Orders
|
||||
{
|
||||
static class UnitOrders
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
public static class Ore
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Security.Cryptography;
|
||||
using OpenRa.FileFormats;
|
||||
using System.Drawing;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
static class PackageDownloader
|
||||
{
|
||||
|
||||
@@ -2,12 +2,12 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.Support;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Support;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class PathFinder
|
||||
public class PathFinder
|
||||
{
|
||||
float[][,] passableCost = new float[4][,];
|
||||
|
||||
@@ -173,7 +173,7 @@ namespace OpenRa.Game
|
||||
}
|
||||
}
|
||||
|
||||
struct CellInfo
|
||||
public struct CellInfo
|
||||
{
|
||||
public float MinCost;
|
||||
public int2 Path;
|
||||
@@ -187,7 +187,7 @@ namespace OpenRa.Game
|
||||
}
|
||||
}
|
||||
|
||||
struct PathDistance : IComparable<PathDistance>
|
||||
public struct PathDistance : IComparable<PathDistance>
|
||||
{
|
||||
public float EstTotal;
|
||||
public int2 Location;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using IjwFramework.Collections;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Graphics;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class PathSearch
|
||||
public class PathSearch
|
||||
{
|
||||
public CellInfo[ , ] cellInfo;
|
||||
public PriorityQueue<PathDistance> queue;
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
enum PowerState { Normal, Low, Critical };
|
||||
public enum PowerState { Normal, Low, Critical };
|
||||
|
||||
class Player
|
||||
public class Player
|
||||
{
|
||||
public Actor PlayerActor;
|
||||
public PaletteType Palette;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class ProductionItem
|
||||
{
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyTitle("OpenRa.Game")]
|
||||
[assembly: AssemblyTitle("OpenRa")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("OpenRa.Game")]
|
||||
[assembly: AssemblyProduct("OpenRa")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2007")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
[Flags]
|
||||
public enum Race
|
||||
|
||||
@@ -3,12 +3,12 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using IjwFramework.Types;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Graphics;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class Shroud
|
||||
public class Shroud
|
||||
{
|
||||
bool[,] explored = new bool[128, 128];
|
||||
Sprite[] shadowBits = SpriteSheetBuilder.LoadAllSprites("shadow");
|
||||
@@ -132,7 +132,7 @@ namespace OpenRa.Game
|
||||
return shadowBits[ SpecialShroudTiles[ u ^ uSides ][ v ] ];
|
||||
}
|
||||
|
||||
public void Draw(SpriteRenderer r)
|
||||
internal void Draw(SpriteRenderer r)
|
||||
{
|
||||
if (dirty)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.GameRules;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
static class Smudge
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using IjwFramework.Collections;
|
||||
using IrrKlang;
|
||||
using OpenRa.FileFormats;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
static class Sound
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.IO;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
static class Log
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using IjwFramework.Collections;
|
||||
using OpenRa.Game.Graphics;
|
||||
using OpenRa.Graphics;
|
||||
|
||||
namespace OpenRa.Game.Support
|
||||
namespace OpenRa.Support
|
||||
{
|
||||
static class PerfHistory
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
class Settings
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace OpenRa.Game.Support
|
||||
namespace OpenRa.Support
|
||||
{
|
||||
class Stopwatch
|
||||
{
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.GameRules;
|
||||
using OpenRa.Game.SupportPowers;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.GameRules;
|
||||
using OpenRa.SupportPowers;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game
|
||||
namespace OpenRa
|
||||
{
|
||||
// todo: fix this to route Activate through the orders system (otherwise desync in netplay)
|
||||
|
||||
class SupportPower
|
||||
public class SupportPower
|
||||
{
|
||||
public readonly SupportPowerInfo Info;
|
||||
public readonly Player Owner;
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Drawing;
|
||||
using OpenRa.Game.Orders;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Orders;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.SupportPowers
|
||||
namespace OpenRa.SupportPowers
|
||||
{
|
||||
class ChronospherePower : ISupportPowerImpl
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Linq;
|
||||
using OpenRa.Game.Effects;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Effects;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.SupportPowers
|
||||
namespace OpenRa.SupportPowers
|
||||
{
|
||||
class GpsSatellite : ISupportPowerImpl
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenRa.Game.SupportPowers
|
||||
namespace OpenRa.SupportPowers
|
||||
{
|
||||
interface ISupportPowerImpl
|
||||
public interface ISupportPowerImpl
|
||||
{
|
||||
void Activate(SupportPower p);
|
||||
void OnFireNotification(Actor target, int2 xy);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.Orders;
|
||||
using OpenRa.Game.Traits;
|
||||
using OpenRa.Orders;
|
||||
using OpenRa.Traits;
|
||||
|
||||
namespace OpenRa.Game.SupportPowers
|
||||
namespace OpenRa.SupportPowers
|
||||
{
|
||||
class IronCurtainPower : ISupportPowerImpl
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenRa.Game.SupportPowers
|
||||
namespace OpenRa.SupportPowers
|
||||
{
|
||||
class NullPower : ISupportPowerImpl
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user