diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-29 00:01:37 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-29 01:09:18 +0530 |
commit | e9017206fd30a9cb7981d42ee6f8f1809f2f2933 (patch) | |
tree | afd4f705d6bcd1cdd96f96e5a2d9e2f8a8ba1b0c /crawl-ref/source/stuff.h | |
parent | bad09911df71edf9399974fb619ff79e4797fa5e (diff) | |
download | crawl-ref-e9017206fd30a9cb7981d42ee6f8f1809f2f2933.tar.gz crawl-ref-e9017206fd30a9cb7981d42ee6f8f1809f2f2933.zip |
Experimental kraken adjustments.
Boost kraken and tentacle damage. Force the tentacles to stay close to the body of the kraken to make the creature look more like a unit.
Tentacles are now amphibious and can reach out onto land, although they cannot stray too far from the main body.
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r-- | crawl-ref/source/stuff.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h index 89757eb99d..684df4175d 100644 --- a/crawl-ref/source/stuff.h +++ b/crawl-ref/source/stuff.h @@ -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); |