From 080cfb8002d95978b40c92596168bc8a71647b90 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 16 Apr 2007 16:47:09 +0000 Subject: Patches from debian package (Guus Sliepen.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1325 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/docs/crawl.6 | 4 ++-- crawl-ref/source/describe.cc | 2 +- crawl-ref/source/dungeon.cc | 2 +- crawl-ref/source/effects.cc | 1 + crawl-ref/source/it_use3.cc | 1 + crawl-ref/source/libunix.cc | 6 +++--- crawl-ref/source/randart.cc | 2 ++ crawl-ref/source/skills2.cc | 2 +- crawl-ref/source/tags.cc | 1 + 9 files changed, 13 insertions(+), 8 deletions(-) (limited to 'crawl-ref') diff --git a/crawl-ref/docs/crawl.6 b/crawl-ref/docs/crawl.6 index fb24bdc6dc..5ce4add025 100644 --- a/crawl-ref/docs/crawl.6 +++ b/crawl-ref/docs/crawl.6 @@ -718,7 +718,7 @@ or secret doors adjacent to you. The section of the viewing window which is coloured (with the '@' representing you at the centre) is what you can see around you. The dark grey around it is the parts of the level which you have visited, but cannot currently see. The -'x' command lets you move the cursor around to get a description of the +\&'x' command lets you move the cursor around to get a description of the various dungeon features, and typing '?' when the cursor is over a monster brings up a short description of that monster (these are all rather sketchy; I'll write better descriptions when I have time). You can get a map of the @@ -947,7 +947,7 @@ items (such as some weapons) by invoking them in this way. You pick items up with the ',' (comma) command and drop them with the 'd'rop command. When you are given a prompt like "drop which item?" or "pick up ?", if you type a number before either the letter of the item, or 'y' or -'n' for yes or no, you will drop or get that quantity of the item. +\&'n' for yes or no, you will drop or get that quantity of the item. .PP Typing 'i' gives you an inventory of what you are carrying. When you are given a prompt like "Throw [or wield, wear, etc] which item?", you can diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 1939c36819..a7ea81c9e2 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -82,7 +82,7 @@ static void append_value( std::string & description, int valu, bool plussed ) //--------------------------------------------------------------- static void print_description( const std::string &d ) { - unsigned int nextLine = std::string::npos; + std::string::size_type nextLine = std::string::npos; unsigned int currentPos = 0; const unsigned int lineWidth = 70; diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 523012a1d0..8597e53ac3 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -3525,7 +3525,7 @@ void give_armour(monsters *mon, int level) break; case MONS_ORC_WARLORD: - // being at the top has it's priviledges + // being at the top has its privileges if (one_chance_in(3)) level = MAKE_GOOD_ITEM; // deliberate fall through diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 8ad6f87067..7c51e472d8 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -13,6 +13,7 @@ #include "AppHdr.h" #include "effects.h" +#include #include #include diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc index b01eeb419f..bb231b2e1a 100644 --- a/crawl-ref/source/it_use3.cc +++ b/crawl-ref/source/it_use3.cc @@ -16,6 +16,7 @@ #include "AppHdr.h" #include "it_use3.h" +#include #include #include "externs.h" diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc index 1ef0d2ea45..65eac622ef 100644 --- a/crawl-ref/source/libunix.cc +++ b/crawl-ref/source/libunix.cc @@ -332,6 +332,9 @@ void unixcurses_startup( void ) void unixcurses_shutdown() { + // resetty(); + endwin(); + tcsetattr(0, TCSAFLUSH, &def_term); #ifdef USE_UNIX_SIGNALS @@ -343,9 +346,6 @@ void unixcurses_shutdown() signal(SIGINT, SIG_DFL); #endif #endif - - // resetty(); - endwin(); } diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index 97218ee036..2cfa9ec8aa 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -17,6 +17,8 @@ #include "AppHdr.h" #include "randart.h" +#include +#include #include #include diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc index 60041b08d7..31832fb5d6 100644 --- a/crawl-ref/source/skills2.cc +++ b/crawl-ref/source/skills2.cc @@ -82,7 +82,7 @@ const char *skills[50][6] = {NULL}, // 24- empty {"Spellcasting", "Magician", "Thaumaturge", "Eclecticist", "Sorcerer", "Archmage"}, // 25 - {"Conjurations", "Ruinous", "Conjurer", "Destroyer", "Devastator", "Annihilator"}, + {"Conjurations", "Ruiner", "Conjurer", "Destroyer", "Devastator", "Annihilator"}, {"Enchantments", "Charm-Maker", "Infuser", "Bewitcher", "Enchanter", "Spellbinder"}, {"Summonings", "Caller", "Summoner", "Convoker", "Demonologist", "Hellbinder"}, {"Necromancy", "Grave Robber", "Reanimator", "Necromancer", "Thanatomancer", "%s of Death"}, diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index 1c75c8a4b2..6cebd63dc1 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -55,6 +55,7 @@ */ +#include #include #include // for memcpy -- cgit v1.2.3-54-g00ecf