summary refs log tree commit diff stats
path: root/tools/mapedit/src/consts.h
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/consts.h
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/consts.h')
-rw-r--r--tools/mapedit/src/consts.h13
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
4const int TILE_WIDTH = 8;
5const int TILE_HEIGHT = 8;
6const int GAME_WIDTH = 320;
7const int GAME_HEIGHT = 200;
8const int MAP_WIDTH = GAME_WIDTH/TILE_WIDTH;
9const int MAP_HEIGHT = GAME_HEIGHT/TILE_HEIGHT - 1;
10const int PLAYER_WIDTH[5] = {10, 0, 0, 0, 0};
11const int PLAYER_HEIGHT[5] = {12, 0, 0, 0, 0};
12
13#endif