diff --git a/Makefile b/Makefile
index 1835e0cc02..268396892b 100644
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@ INSTALL_DATA = $(INSTALL) -m644
# program targets
CORE = rsdl2 rnull game utility
-TOOLS = editor gamemonitor
+TOOLS = gamemonitor
VERSION = $(shell git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null || echo git-`git rev-parse --short HEAD`)
# dependencies
@@ -169,24 +169,6 @@ mod_ts_LIBS = $(COMMON_LIBS) $(STD_MOD_LIBS) $(mod_common_TARGET)
PROGRAMS += mod_ts
mod_ts: $(mod_ts_TARGET)
-##### Tools #####
-
-# Map Editor
-editor_SRCS := $(shell find OpenRA.Editor/ -iname '*.cs')
-editor_TARGET = OpenRA.Editor.exe
-editor_KIND = winexe
-editor_DEPS = $(game_TARGET) $(mod_common_TARGET)
-editor_LIBS = System.Windows.Forms.dll System.Data.dll System.Drawing.dll $(editor_DEPS) thirdparty/download/Eluant.dll
-editor_EXTRA = -resource:OpenRA.Editor.Form1.resources -resource:OpenRA.Editor.MapSelect.resources
-editor_FLAGS = -win32icon:OpenRA.Editor/OpenRA.Editor.Icon.ico
-
-PROGRAMS += editor
-OpenRA.Editor.MapSelect.resources:
- resgen2 OpenRA.Editor/MapSelect.resx OpenRA.Editor.MapSelect.resources 1> /dev/null
-OpenRA.Editor.Form1.resources:
- resgen2 OpenRA.Editor/Form1.resx OpenRA.Editor.Form1.resources 1> /dev/null
-editor: OpenRA.Editor.MapSelect.resources OpenRA.Editor.Form1.resources $(editor_TARGET)
-
check: utility mods
@echo
@echo "Checking for code style violations in OpenRA.Game..."
@@ -213,9 +195,6 @@ check: utility mods
@echo "Checking for code style violations in OpenRA.Mods.TS..."
@mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Mods.TS
@echo
- @echo "Checking for code style violations in OpenRA.Editor..."
- @mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Editor
- @echo
@echo "Checking for code style violations in OpenRA.Renderer.Sdl2..."
@mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Renderer.Sdl2
@echo
@@ -291,7 +270,7 @@ default: core
core: game renderers mods utility
-tools: editor gamemonitor
+tools: gamemonitor
package: all-dependencies core tools docs version
@@ -397,7 +376,6 @@ install-linux-icons:
install-linux-desktop:
@$(INSTALL_DIR) "$(DESTDIR)$(datadir)/applications"
@$(INSTALL_DATA) packaging/linux/openra.desktop "$(DESTDIR)$(datadir)/applications"
- @$(INSTALL_DATA) packaging/linux/openra-editor.desktop "$(DESTDIR)$(datadir)/applications"
install-linux-mime:
@$(INSTALL_DIR) "$(DESTDIR)$(datadir)/mime/packages/"
@@ -426,24 +404,13 @@ install-linux-scripts:
@$(INSTALL_PROGRAM) -m +rx openra "$(BIN_INSTALL_DIR)"
@-$(RM) openra
- @echo "#!/bin/sh" > openra-editor
- @echo 'cd "$(gameinstalldir)"' >> openra-editor
- @echo 'exec mono OpenRA.Editor.exe "$$@"' >> openra-editor
- @$(INSTALL_DIR) "$(BIN_INSTALL_DIR)"
- @$(INSTALL_PROGRAM) -m +rx openra-editor "$(BIN_INSTALL_DIR)"
- @-$(RM) openra-editor
-
uninstall:
@-$(RM_R) "$(DATA_INSTALL_DIR)"
@-$(RM_F) "$(BIN_INSTALL_DIR)/openra"
- @-$(RM_F) "$(BIN_INSTALL_DIR)/openra-editor"
@-$(RM_F) "$(DESTDIR)$(datadir)/applications/openra.desktop"
- @-$(RM_F) "$(DESTDIR)$(datadir)/applications/openra-editor.desktop"
@-$(RM_F) "$(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/openra.png"
@-$(RM_F) "$(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/openra.png"
- @-$(RM_F) "$(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/openra-editor.png"
@-$(RM_F) "$(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/openra.png"
- @-$(RM_F) "$(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/openra-editor.png"
@-$(RM_F) "$(DESTDIR)$(datadir)/icons/hicolor/64x64/apps/openra.png"
@-$(RM_F) "$(DESTDIR)$(datadir)/icons/hicolor/128x128/apps/openra.png"
@-$(RM_F) "$(DESTDIR)$(datadir)/mime/packages/openra.xml"
diff --git a/OpenRA.Editor/ActorPropertiesDialog.Designer.cs b/OpenRA.Editor/ActorPropertiesDialog.Designer.cs
deleted file mode 100644
index 168f817d96..0000000000
--- a/OpenRA.Editor/ActorPropertiesDialog.Designer.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-namespace OpenRA.Editor
-{
- partial class ActorPropertiesDialog
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- components.Dispose();
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.button1 = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
- this.SuspendLayout();
- //
- // button1
- //
- this.button1.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.button1.Location = new System.Drawing.Point(226, 333);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 23);
- this.button1.TabIndex = 0;
- this.button1.Text = "Cancel";
- this.button1.UseVisualStyleBackColor = true;
- //
- // button2
- //
- this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.button2.Enabled = false;
- this.button2.Location = new System.Drawing.Point(145, 333);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(75, 23);
- this.button2.TabIndex = 0;
- this.button2.Text = "OK";
- this.button2.UseVisualStyleBackColor = true;
- //
- // flowLayoutPanel1
- //
- this.flowLayoutPanel1.AutoScroll = true;
- this.flowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.flowLayoutPanel1.Location = new System.Drawing.Point(13, 13);
- this.flowLayoutPanel1.Name = "flowLayoutPanel1";
- this.flowLayoutPanel1.Size = new System.Drawing.Size(288, 314);
- this.flowLayoutPanel1.TabIndex = 1;
- //
- // ActorPropertiesDialog
- //
- this.AcceptButton = this.button2;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.button1;
- this.ClientSize = new System.Drawing.Size(313, 368);
- this.Controls.Add(this.flowLayoutPanel1);
- this.Controls.Add(this.button2);
- this.Controls.Add(this.button1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "ActorPropertiesDialog";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "Actor Properties";
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
- }
-}
\ No newline at end of file
diff --git a/OpenRA.Editor/ActorPropertiesDialog.cs b/OpenRA.Editor/ActorPropertiesDialog.cs
deleted file mode 100644
index 8e371cf469..0000000000
--- a/OpenRA.Editor/ActorPropertiesDialog.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-#region Copyright & License Information
-/*
- * Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
- * This file is part of OpenRA, which is free software. It is made
- * available to you under the terms of the GNU General Public License
- * as published by the Free Software Foundation. For more information,
- * see COPYING.
- */
-#endregion
-
-using System;
-using System.Drawing;
-using System.Windows.Forms;
-
-namespace OpenRA.Editor
-{
- public partial class ActorPropertiesDialog : Form
- {
- public ActorPropertiesDialog()
- {
- InitializeComponent();
- }
-
- public void AddRow(string name, Control c)
- {
- flowLayoutPanel1.Controls.Add(new Label
- {
- Text = name,
- Width = flowLayoutPanel1.Width * 3 / 10,
- Height = 25,
- TextAlign = ContentAlignment.MiddleLeft,
- });
-
- c.Width = flowLayoutPanel1.Width * 6 / 10 - 25;
- c.Height = 25;
- flowLayoutPanel1.Controls.Add(c);
- }
-
- public Control MakeEditorControl(Type t, Func