diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-23 14:10:05 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-23 14:10:05 +0000 |
| commit | 815c55c4ce58995dcc34627bcbed956d1a1bc4dd (patch) | |
| tree | ae33fb8915f06865369208c5402122555b90d905 /src/game/collision.hpp | |
| parent | 8f9e2031dcd562e72ac7e5ec9c00b8aed10b53a6 (diff) | |
| download | zcatch-815c55c4ce58995dcc34627bcbed956d1a1bc4dd.tar.gz zcatch-815c55c4ce58995dcc34627bcbed956d1a1bc4dd.zip | |
added death tile
Diffstat (limited to 'src/game/collision.hpp')
| -rw-r--r-- | src/game/collision.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/collision.hpp b/src/game/collision.hpp index 735e26c5..e98ce6be 100644 --- a/src/game/collision.hpp +++ b/src/game/collision.hpp @@ -4,8 +4,15 @@ #include <base/vmath.hpp> +enum +{ + COLFLAG_SOLID=1, + COLFLAG_DEATH=2, +}; + int col_init(); int col_is_solid(int x, int y); +int col_get(int x, int y); int col_width(); int col_height(); bool col_intersect_line(vec2 pos0, vec2 pos1, vec2 *out); |