diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-03-04 12:56:08 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-03-04 12:56:08 +0100 |
commit | de1f5ff29381188bef1187ab35b9ec743c1ae19a (patch) | |
tree | 5bf2b0fe8a4278ebac40327a5d12cf1f3cba9e12 /crawl-ref/source/potion.h | |
parent | 1a0e9acfc080559796fcfb73985ea688cb535d37 (diff) | |
download | crawl-ref-de1f5ff29381188bef1187ab35b9ec743c1ae19a.tar.gz crawl-ref-de1f5ff29381188bef1187ab35b9ec743c1ae19a.zip |
Rename it_use2.cc to potion.cc, since this is what it is.
Diffstat (limited to 'crawl-ref/source/potion.h')
-rw-r--r-- | crawl-ref/source/potion.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/crawl-ref/source/potion.h b/crawl-ref/source/potion.h new file mode 100644 index 0000000000..94ea798fa4 --- /dev/null +++ b/crawl-ref/source/potion.h @@ -0,0 +1,18 @@ +/* + * File: potion.h + * Summary: Potion and potion-like effects. + * Written by: Linley Henzell + */ + +#ifndef IT_USE2_H +#define IT_USE2_H + + +#include "externs.h" + +// drank_it should be true for real potion effects (as opposed +// to abilities which duplicate such effects.) +bool potion_effect(potion_type pot_eff, int pow, + bool drank_it = false, bool was_known = true); + +#endif |