diff options
Diffstat (limited to 'src/game/editor')
| -rw-r--r-- | src/game/editor/ed_editor.cpp | 26 |
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; |