about summary refs log tree commit diff
path: root/src/game/editor
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 11:43:43 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 11:43:43 +0000
commit4c987519b073f159ea7ab9273a6b30799fd1af36 (patch)
tree2056acd477f4cf8b4373753140af3cc471c4faf4 /src/game/editor
parentea245b969d1864441b41d25c7631beccfb39d874 (diff)
downloadzcatch-4c987519b073f159ea7ab9273a6b30799fd1af36.tar.gz
zcatch-4c987519b073f159ea7ab9273a6b30799fd1af36.zip
removed some old code
Diffstat (limited to 'src/game/editor')
-rw-r--r--src/game/editor/ed_editor.cpp26
1 files changed, 22 insertions, 4 deletions
diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp
index 69bf7554..a45c9588 100644
--- a/src/game/editor/ed_editor.cpp
+++ b/src/game/editor/ed_editor.cpp
@@ -12,10 +12,7 @@ extern "C" {
 }
 
 #include <game/client/gc_map_image.h>
-#include <game/client/gc_mapres_tilemap.h>
 #include <game/client/gc_ui.h>
-//#include "game/mapres_col.h"
-#include <game/g_mapres.h>
 #include <game/g_game.h>
 #include <game/client/gc_render.h>
 
@@ -26,7 +23,7 @@ static int background_texture = 0;
 static int cursor_texture = 0;
 static int entities_texture = 0;
 
-
+// backwards compatiblity
 class mapres_image
 {
 public:
@@ -36,6 +33,27 @@ public:
 };
 
 
+struct mapres_tilemap
+{
+	int image;
+	int width;
+	int height;
+	int x, y;
+	int scale;
+	int data;
+	int main;
+};
+
+enum
+{
+	MAPRES_REGISTERED=0x8000,
+	MAPRES_IMAGE=0x8001,
+	MAPRES_TILEMAP=0x8002,
+	MAPRES_COLLISIONMAP=0x8003,
+	MAPRES_TEMP_THEME=0x8fff,
+};
+
+
 
 EDITOR editor;