diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-11 09:21:36 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-11 09:21:36 +0000 |
commit | 9bf1ac53d17a3d206fcc21b064208b68c86645b6 (patch) | |
tree | 4eef9233b3864a9e56eb1b4d1a599ef7be32aba3 /crawl-ref/source | |
parent | 589963865e1c068acfac4616ee626afa18a0cb09 (diff) | |
download | crawl-ref-9bf1ac53d17a3d206fcc21b064208b68c86645b6.tar.gz crawl-ref-9bf1ac53d17a3d206fcc21b064208b68c86645b6.zip |
* Add SDL licence, update docs (yet again).
* Add range flash to 'z'.
* Default HISCORE_WEAPON_DETAIL to true.
* Rename CREDITS to CREDITS.txt to make it more accessible to Windows
users. :p I guess changes.stone_soup should also be renamed, maybe to
changelog.txt.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9956 c06c8d41-db1a-0410-9941-cceddc491573
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} |