summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r--crawl-ref/source/stuff.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h
index 89757eb99d..8d0e288db6 100644
--- a/crawl-ref/source/stuff.h
+++ b/crawl-ref/source/stuff.h
@@ -24,7 +24,7 @@ class stack_iterator : public std::iterator<std::forward_iterator_tag,
item_def>
{
public:
- explicit stack_iterator( const coord_def& pos );
+ explicit stack_iterator( const coord_def& pos, bool accessible = false );
explicit stack_iterator( int start_link );
operator bool() const;
@@ -83,11 +83,6 @@ inline bool testbits(unsigned long flags, unsigned long test)
return ((flags & test) == test);
}
-template <typename Z> inline Z sgn(Z x)
-{
- return (x < 0 ? -1 : (x > 0 ? 1 : 0));
-}
-
bool is_trap_square(dungeon_feature_type grid);
void zap_los_monsters(bool items_also);