about summary refs log tree commit diff
path: root/src/game/editor/ed_layer_game.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-12 15:07:57 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-12 15:07:57 +0000
commit99f0a47d6b03b005d0a7dae064cb6eb7cb4f60b5 (patch)
tree6c453bff72668da6cc6f6e28621356004a06d441 /src/game/editor/ed_layer_game.cpp
parent2aba180f8c1bfa2680b1f660148de1dc82b03298 (diff)
downloadzcatch-99f0a47d6b03b005d0a7dae064cb6eb7cb4f60b5.tar.gz
zcatch-99f0a47d6b03b005d0a7dae064cb6eb7cb4f60b5.zip
first round of code cleanup
Diffstat (limited to 'src/game/editor/ed_layer_game.cpp')
-rw-r--r--src/game/editor/ed_layer_game.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/game/editor/ed_layer_game.cpp b/src/game/editor/ed_layer_game.cpp
new file mode 100644
index 00000000..0e002559
--- /dev/null
+++ b/src/game/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;
+}