summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hints.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove stuffNicholas Feinberg2014-07-291-1/+1
| | | | | | | .cc, moving its contents into the new stepdown.cc and strings.cc. (The latter also got many donations from libutil.h.) Down with stuff! Up the new flesh!
* Move redraw functions from stuff.cc -> output.ccNicholas Feinberg2014-07-281-0/+1
|
* Add end.ccNicholas Feinberg2014-07-281-0/+1
|
* Refactor weapon_skill()Nicholas Feinberg2014-07-131-1/+1
| | | | | | | | | | | | | | This function was misleadingly named (it only provided the skill used for melee weapons, not ranged weapons), and incomplete; code along the lines of "is_ranged_weapon(*it) ? range_skill(*it) : weapon_skill(*it)" was scattered in about half a dozen different functions. I've corrected both of those problems (renaming weapon_ skill() to melee_skill() and adding item_weapon_skill()), and also possibly fixed two bugs in the process - an l_you.cc function that claimed to provide the skill used for the starting weapon (but actually only gave the melee skill), and unrand creation code that checked if a potential unrand swap used the same (melee) skill as the weapon type being generated.
* Remove the show_gold_turns option.Shmuale Mark2014-07-021-9/+6
| | | | | | There's really no reason not to show the line; in other options, having the default always be the case can be annoying, but if you don't want to look at the gold/turns display, you can just not.
* Remove hints referring to carried corpsesNicholas Feinberg2014-06-301-23/+10
|
* Rename 'mesclr()' to 'clear_messages()'reaverb2014-06-221-1/+1
|
* Remove darts.Shmuale Mark2014-05-301-5/+5
| | | | | | | | | | They don't have much use outside the first level of D (possibly also the second): popping spores, killing slow things, waking up sleeping monsters, etc. are all served just as well by stones, and anybody who really wants to do damage with throwing would be better served with tomahawks before they find javelins. For one case where they could be useful (dispersal), tomahawks have been given a chance at the dispersal brand.
* Tweak a tutorial messageNicholas Feinberg2014-05-261-2/+1
|
* Remove player burden and carrying capacitygammafunk2014-05-261-16/+5
| | | | | | | | | | | Item inventory weights (based on item mass) generally don't lead to meaningful decisions that justify the inventory juggling and interface problems that come from having burden states. The 52-slot limit is a better system for limiting inventory and providing inventory-related decisions because it's not so fine-grained and doesn't require the player to examine weights for each slot. Work is ongoing to improve the slot system by consolidating food types and handling strategic consumables in a different way.
* Remove mention of ! from tutorial/hints skills screen (#5346).Steve Melenchuk2014-05-191-2/+1
| | | | | | According to b702f4e, this menu is supposed to be disabled because it explains advanced commands which aren't available in the simple menu, yet this mention was added in that same commit...
* Spatter rather than splatter blood.Neil Moore2014-05-151-1/+1
| | | | Jellies still make splattering sounds.
* Change "hitpoints" to "health" in a few placesChris Campbell2014-05-081-25/+23
| | | | | Crawl mostly uses "health" and "magic", with "HP" and "MP" in a few places where abbreviating is more appropriate.
* Rename "bow" to "shortbow"Chris Oelmueller2014-05-051-8/+9
| | | | For a clear distinction of "bows" the skill, and from "longbow" the weapon.
* Use mons_demon_tier instead of mons_base_char.Shmuale Mark2014-05-051-7/+7
|
* Update hints mode messagesChris Campbell2014-04-111-82/+48
|
* Fix some tutorial/hint messagesChris Campbell2014-04-071-6/+5
|
* Remove `auto_list` optionChris Oelmueller2014-03-111-1/+0
| | | | | | | | | | | | | It has been defaulting to `true` for a while now. That setting provides a nicer interface overall and there is little reason to support alter- nate input methods. Some prompts asking for a letter have not been adjusted, for example evoking a rod with multiple spells. Those are hopefully gone soon anyways. [Committer's note: The option had no known uses except by bots, and those could work without it. And, of course, multi-spell rods are gone.]
* Update some references to potions of speedChris Campbell2014-03-111-1/+1
|
* Handle quitting before character creation for WebTiles exit dialog.Pekka Lampila2014-02-111-0/+6
|
* Rename abl-show.{cc,h} to ability.{cc,h}Adam Borowski2013-12-241-1/+1
| | | | The old name was quite puzzling...
* Drop double newlines where they seem to serve no purpose.Adam Borowski2013-12-211-1/+0
| | | | | Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
* Use feat enum instead of string search for portal hints.Adam Borowski2013-12-201-25/+10
| | | | Also, drop the message for Ziggurats (can't see them in hints mode anymore).
* Schedule DNGN_ENTER_PORTAL_VAULT for removal; other related fixes.Adam Borowski2013-12-191-1/+9
|
* Fix spelling of "targeting" (#7837)Chris Campbell2013-12-101-2/+2
| | | | See Mantis for discussion.
* Update some hints mode messagesChris Campbell2013-12-061-65/+15
|
* Indentation fixes.Adam Borowski2013-12-041-220/+220
|
* Replace `mpr(s, ch)` with `mprf(ch, s)`Adam Borowski2013-11-291-10/+10
| | | | | | | | | Also simplify quite a few cases. It turns out in >90% cases of non-literals the argument had .c_str(), which meant it was pointlessly malloc()ed and converted from and to std::string. I believe a sprintf is faster, so even the argument of miniscule speed-up doesn't apply.
* Don't remove double newlines when printing tutorial messages.Raphael Langella2013-11-281-2/+2
| | | | And don't strip lines. This should simplify formatting them.
* Don't recompile world when random-pick.h gets changed.Adam Borowski2013-11-251-1/+0
| | | | Also, drop one copy of monster distribution data.
* Fix runed door hint. It was never being triggered.blackcustard2013-11-221-3/+5
|
* More formatting fixes for return (...);Neil Moore2013-11-151-11/+11
|
* Drop unnecessary parentheses from return statements.Adam Borowski2013-11-151-2/+2
|
* Axe a buttload of useless #includes.Adam Borowski2013-11-031-1/+0
| | | | | Can't test Android, MSVC or Mac, but a very brief glance at the diff suggests it's unlikely they're affected.
* Rename "natural traps" to "shafts".Adam Borowski2013-09-251-2/+2
|
* Split the "magical" trap category, to allow recolouring.Adam Borowski2013-09-251-2/+6
|
* Use piety_breakpoint 30 in good god codeChris Oelmueller2013-09-171-1/+1
| | | | | This is the first legit > comparison as opposed to >= which breakpoints usually compare to. Anything that should be done?
* Refactor 'you.religion' checks.Brendan Hickey2013-07-281-14/+14
| | | | | Pull 'you.religion [!=]= FOO' checks into a function: you_worship(FOO). This change is part of a large plan to clean up religion.
* Fix typos in tutorial/hints mode messagesChris Oelmueller2013-07-231-1/+1
|
* Remove the Traps skill.Adam Borowski2013-07-171-1/+0
|
* Fix hints mode text about item heapsPekka Lampila2013-07-101-5/+5
| | | | | The tile is no longer a question mark, so just refer to it as a symbol. Fixes #7323
* Document print_hint further.Eino Keskitalo2013-07-011-0/+2
|
* Make print_hint function non-static, and make it accessible in dlua.Eino Keskitalo2013-07-011-17/+20
| | | | It can now be used to quickly test hint messages from the database.
* Capitalization fix.Eino Keskitalo2013-07-011-1/+1
|
* Fix some hints mode messagesChris Campbell2013-05-011-8/+8
| | | | There are almost definitely more that need fixing still!
* Tutorial fixesChris Campbell2013-05-011-3/+9
| | | | | | Some missing </foo> tags, and lots of spacing fixes - it looks like wrapping tutorial.txt has a tendency to break spacing. Should be all fixed in console at least.
* Cure all nausea, permanently.Adam Borowski2013-04-301-9/+0
| | | | Contaminated chunks provide less nutrition instead.
* Remove a duplicate prototype.Neil Moore2013-04-071-1/+0
| | | | | | | The commit 937ef52 added a prototype for is_feature to viewmap.h, but there was already a prototype in view.h. Remove the old one, since viewmap.h is shorter, and furthermore remove a now-unnecessary #include of view.h.
* Fix a warning by adding a missing prototype (and related includes).David Lawrence Ramsey2013-04-071-0/+1
|
* The Stabbing skill went to a dark alley, and, you know...Adam Borowski2013-04-011-1/+0
| | | | | | | | | | | | Per one of proposals, its effect is now an average of the weapon skill and Stealth. Stabbing tiers remain as before: * daggers * other short blades * long blades, spears, small club * other stuff Let's see how this works. We can always change the formulas, and at least the skill is gone.