diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-05 19:02:04 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-05 19:02:04 +0000 |
commit | 06be6fc4f786caf88645fc110637848c65082e00 (patch) | |
tree | 662b1c0ccf739935400ef8d4c0bd1dceb72c5ed9 /crawl-ref/source/stuff.h | |
parent | ccb8040b9032ede89892acff85c48d517ab16c14 (diff) | |
download | crawl-ref-06be6fc4f786caf88645fc110637848c65082e00.tar.gz crawl-ref-06be6fc4f786caf88645fc110637848c65082e00.zip |
More randart names and appearances.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1761 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r-- | crawl-ref/source/stuff.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h index 8d98e78b16..27c8ec519e 100644 --- a/crawl-ref/source/stuff.h +++ b/crawl-ref/source/stuff.h @@ -121,5 +121,12 @@ template <typename Z> inline Z sgn(Z x) bool is_trap_square(int x, int y); void zap_los_monsters(); +class rng_save_excursion +{ +public: + rng_save_excursion() { push_rng_state(); } + ~rng_save_excursion() { pop_rng_state(); } +}; + #endif |