diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 17:39:39 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 17:39:39 +0100 |
commit | 9d339661c8646f2ddb598a8490b34a45f928edb8 (patch) | |
tree | a0763368abb55ad53bd91a46605076a221ea1459 /src/util.hpp | |
parent | ee2234b03fdc201045261d13b4c9101befbe074d (diff) |
Change in_bounds* and panel_contains macros to functions in util.cc
Diffstat (limited to 'src/util.hpp')
-rw-r--r-- | src/util.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.hpp b/src/util.hpp index e9a93be8..8b389927 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -70,3 +70,6 @@ extern void repeat_push(int what); extern bool_ repeat_pull(int *what); extern void repeat_check(void); extern void get_count(int number, int max); +extern bool in_bounds(int y, int x); +extern bool in_bounds2(int y, int x); +extern bool panel_contains(int y, int x); |