diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-13 22:57:15 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-13 22:57:15 +0000 |
commit | 79136298e9230c5f6fa23aacd9b28b204aed3694 (patch) | |
tree | e684423001766c5d37ec28d4887bdc668a9fd577 /crawl-ref/source/beam.h | |
parent | c32244f1ca9dfacd55040e1a61c3ff6c5c1ab4d5 (diff) | |
download | crawl-ref-79136298e9230c5f6fa23aacd9b28b204aed3694.tar.gz crawl-ref-79136298e9230c5f6fa23aacd9b28b204aed3694.zip |
More code cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8446 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r-- | crawl-ref/source/beam.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h index 0ae871b6ee..924e1cd7c4 100644 --- a/crawl-ref/source/beam.h +++ b/crawl-ref/source/beam.h @@ -142,7 +142,7 @@ public: // Returns member short_name if set, otherwise some reasonable string // for a short name, most likely the name of the beam's flavour. - std::string get_short_name(); + std::string get_short_name() const; // Assume that all saving throws are failed, actually apply // the enchantment. @@ -273,10 +273,9 @@ void fire_tracer( const monsters *monster, struct bolt &pbolt, bool explode_only = false ); bool check_line_of_sight( const coord_def& source, const coord_def& target ); void mimic_alert( monsters *mimic ); -bool zapping( zap_type ztype, int power, struct bolt &pbolt, - bool needs_tracer = false, std::string msg = "" ); -bool player_tracer( zap_type ztype, int power, struct bolt &pbolt, - int range = 0 ); +bool zapping(zap_type ztype, int power, bolt &pbolt, + bool needs_tracer = false, const char* msg = NULL); +bool player_tracer(zap_type ztype, int power, bolt &pbolt, int range = 0); std::string beam_type_name(beam_type type); |