diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-23 14:38:13 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-23 14:38:13 +0000 |
| commit | c94b1f22ab5d1522abfcedef8cf3a62848c370c1 (patch) | |
| tree | 4eb58340a78bd605d722d951b307bf1a7b476b2c /src/game/collision.hpp | |
| parent | 815c55c4ce58995dcc34627bcbed956d1a1bc4dd (diff) | |
| download | zcatch-c94b1f22ab5d1522abfcedef8cf3a62848c370c1.tar.gz zcatch-c94b1f22ab5d1522abfcedef8cf3a62848c370c1.zip | |
added non-hookable tile
Diffstat (limited to 'src/game/collision.hpp')
| -rw-r--r-- | src/game/collision.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/collision.hpp b/src/game/collision.hpp index e98ce6be..676a477a 100644 --- a/src/game/collision.hpp +++ b/src/game/collision.hpp @@ -8,6 +8,7 @@ enum { COLFLAG_SOLID=1, COLFLAG_DEATH=2, + COLFLAG_NOHOOK=4, }; int col_init(); @@ -15,6 +16,6 @@ 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); +int col_intersect_line(vec2 pos0, vec2 pos1, vec2 *out); #endif |