summary refs log tree commit diff stats
path: root/tools/mapedit/src/widget.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-17 23:53:55 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-17 23:53:55 -0400
commitf732cdaf7374fde737b503ec6966fb8cd8f4c32b (patch)
treef7fa3122f30ee98a5984cf7e5fb0260c6c6c1148 /tools/mapedit/src/widget.cpp
parentb2ad90fef0e31a1d8635b817940d9bf71320b588 (diff)
downloadtherapy-f732cdaf7374fde737b503ec6966fb8cd8f4c32b.tar.gz
therapy-f732cdaf7374fde737b503ec6966fb8cd8f4c32b.tar.bz2
therapy-f732cdaf7374fde737b503ec6966fb8cd8f4c32b.zip
Map editor can now define actions to occur when the player goes off a specified edge of the map
Diffstat (limited to 'tools/mapedit/src/widget.cpp')
-rw-r--r--tools/mapedit/src/widget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/mapedit/src/widget.cpp b/tools/mapedit/src/widget.cpp index 3b96281..c74b194 100644 --- a/tools/mapedit/src/widget.cpp +++ b/tools/mapedit/src/widget.cpp
@@ -1,5 +1,9 @@
1#include "widget.h" 1#include "widget.h"
2#include "frame.h" 2#include "frame.h"
3#include "map.h"
4#include "tile_widget.h"
5#include "object.h"
6#include "undo.h"
3 7
4const int EDITOR_SPACING_X = MAP_WIDTH * TILE_WIDTH / 2; 8const int EDITOR_SPACING_X = MAP_WIDTH * TILE_WIDTH / 2;
5const int EDITOR_SPACING_Y = MAP_HEIGHT * TILE_HEIGHT / 2; 9const int EDITOR_SPACING_Y = MAP_HEIGHT * TILE_HEIGHT / 2;