about summary refs log tree commit diff
path: root/src/editor/ed_layer_game.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-12 12:27:55 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-12 12:27:55 +0000
commit47a0525ab8f99180e1d7a1a74fb6ca620c08f7b5 (patch)
treebe5be984123acb9df49739c4daa50fc9ea92ff80 /src/editor/ed_layer_game.cpp
parent1c1677f02300e5ab10bca9c74ce7f49d4605b9d6 (diff)
downloadzcatch-47a0525ab8f99180e1d7a1a74fb6ca620c08f7b5.tar.gz
zcatch-47a0525ab8f99180e1d7a1a74fb6ca620c08f7b5.zip
merged editor over to trunk
Diffstat (limited to 'src/editor/ed_layer_game.cpp')
-rw-r--r--src/editor/ed_layer_game.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/editor/ed_layer_game.cpp b/src/editor/ed_layer_game.cpp
new file mode 100644
index 00000000..0e002559
--- /dev/null
+++ b/src/editor/ed_layer_game.cpp
@@ -0,0 +1,20 @@
+#include <game/client/gc_mapres_tilemap.h>
+#include "editor.hpp"
+
+
+LAYER_GAME::LAYER_GAME(int w, int h)
+: LAYER_TILES(w, h)
+{
+	type_name = "Game";
+	game = 1;
+}
+
+LAYER_GAME::~LAYER_GAME()
+{
+}
+
+void LAYER_GAME::render_properties(RECT *toolbox)
+{
+	LAYER_TILES::render_properties(toolbox);
+	image = -1;
+}