From 4c987519b073f159ea7ab9273a6b30799fd1af36 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 13 Jan 2008 11:43:43 +0000 Subject: removed some old code --- src/game/editor/ed_editor.cpp | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'src/game/editor') 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 -#include #include -//#include "game/mapres_col.h" -#include #include #include @@ -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; -- cgit 1.4.1