diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-17 23:53:55 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-17 23:53:55 -0400 |
commit | f732cdaf7374fde737b503ec6966fb8cd8f4c32b (patch) | |
tree | f7fa3122f30ee98a5984cf7e5fb0260c6c6c1148 /tools/mapedit/src/consts.h | |
parent | b2ad90fef0e31a1d8635b817940d9bf71320b588 (diff) | |
download | therapy-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/consts.h')
-rw-r--r-- | tools/mapedit/src/consts.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/mapedit/src/consts.h b/tools/mapedit/src/consts.h new file mode 100644 index 0000000..5e99136 --- /dev/null +++ b/tools/mapedit/src/consts.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef CONSTS_H | ||
2 | #define CONSTS_H | ||
3 | |||
4 | const int TILE_WIDTH = 8; | ||
5 | const int TILE_HEIGHT = 8; | ||
6 | const int GAME_WIDTH = 320; | ||
7 | const int GAME_HEIGHT = 200; | ||
8 | const int MAP_WIDTH = GAME_WIDTH/TILE_WIDTH; | ||
9 | const int MAP_HEIGHT = GAME_HEIGHT/TILE_HEIGHT - 1; | ||
10 | const int PLAYER_WIDTH[5] = {10, 0, 0, 0, 0}; | ||
11 | const int PLAYER_HEIGHT[5] = {12, 0, 0, 0, 0}; | ||
12 | |||
13 | #endif | ||