unbitrot cnc (editor); add mod name to editor title

This commit is contained in:
Chris Forbes
2010-06-11 18:23:03 +12:00
parent ee0f90708f
commit 02350e6ac8
4 changed files with 3 additions and 6 deletions

View File

@@ -40,6 +40,8 @@ namespace OpenRA.Editor
currentMod = mods.FirstOrDefault() ?? "ra"; currentMod = mods.FirstOrDefault() ?? "ra";
Text = "OpenRA Editor (mod:{0})".F(currentMod);
var manifest = new Manifest(new[] { currentMod }); var manifest = new Manifest(new[] { currentMod });
Game.LoadModAssemblies(manifest); Game.LoadModAssemblies(manifest);

View File

@@ -18,10 +18,8 @@
*/ */
#endregion #endregion
using System; using System;
using System.Drawing; using System.Drawing;
using System.Linq;
using OpenRA.Graphics; using OpenRA.Graphics;
using OpenRA.Traits; using OpenRA.Traits;

View File

@@ -18,7 +18,6 @@
*/ */
#endregion #endregion
using System; using System;
using System.Drawing; using System.Drawing;
using System.Linq; using System.Linq;

View File

@@ -18,8 +18,6 @@ UnitExplodeSmall:
ImpactSound: xplos ImpactSound: xplos
Atomic: Atomic:
Nuke:
Image: atomic
Warhead@impact: Warhead@impact:
Damage: 1000 Damage: 1000
Spread: 6 Spread: 6