diff options
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/AppHdr.h | 4 | ||||
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 10 | ||||
-rw-r--r-- | crawl-ref/source/util/docs/README.tex | 3 |
3 files changed, 14 insertions, 3 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 17740f7c98..f417f201ab 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -326,7 +326,7 @@ // ========================================================================= // Game Play Defines // ========================================================================= -// number of back messages saved during play (currently none saved into files) +// number of older messages stored during play and in save files #define NUM_STORED_MESSAGES 1000 // clamp time between command inputs at 5 minutes when reporting play time. @@ -370,7 +370,7 @@ // bwr: set this to non-zero if you want to know the pluses, "runed" status // of the monster's weapons in the hiscore file. -// #define HISCORE_WEAPON_DETAIL 1 +#define HISCORE_WEAPON_DETAIL 1 // ====================== ----------------------------------------------------- //jmf: end of new defines diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index a140fb30d2..48b22f577a 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -742,7 +742,15 @@ bool cast_a_spell(bool check_range) if (check_range && _spell_no_hostile_in_range(spell, minRange)) { - mpr("There are no visible monsters within range! (Use <w>Z</w> to cast anyway.)"); + // Abort if there are no hostiles within range, but flash the range + // markers for about half a second. + Options.target_range = _calc_spell_range(spell); + viewwindow(true, false); + mpr("There are no visible monsters within range! (Use <w>Z</w> to " + "cast anyway.)"); + delay(500); + Options.target_range = 0; + viewwindow(true, false); return (false); } diff --git a/crawl-ref/source/util/docs/README.tex b/crawl-ref/source/util/docs/README.tex index 7d9b336391..c6bb8002b9 100644 --- a/crawl-ref/source/util/docs/README.tex +++ b/crawl-ref/source/util/docs/README.tex @@ -165,6 +165,9 @@ The \textbf{Mersenne Twister} for random number generation, \key{docs/mt19937.txt}.\\ The \textbf{SQLite} library as database engine; it is properly public domain.\\ % The \textbf{ReST} light markup language for the documentation. +The \textbf{SDL} and \textbf{SDL\_image} libraries under the LGPL 2.1 license: + \key{docs/lgpl.txt}. + \subsection*{How you can help} |