summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove stuffNicholas Feinberg2014-07-291-0/+2
| | | | | | | .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!
* Added a note for mutations becoming permanent (Prism)Nicholas Feinberg2014-06-131-0/+7
|
* Change "hitpoints" to "health" in a few placesChris Campbell2014-05-081-1/+1
| | | | | Crawl mostly uses "health" and "magic", with "HP" and "MP" in a few places where abbreviating is more appropriate.
* Make a note when duplicating an item under Gozag or gaining Qazlal's ↵Chris Campbell2014-05-071-0/+2
| | | | resistance gift
* Tell the player in the notes which wizlab they entered.Shmuale Mark2014-04-231-0/+4
|
* More formatting fixes for return (...);Neil Moore2013-11-151-3/+3
|
* Drop unnecessary parentheses from return statements.Adam Borowski2013-11-151-2/+2
|
* Transform the lower half of D into a new branch: the Depths.Steve Melenchuk2013-11-121-4/+1
| | | | | | | | | | | | D is now 16 levels (the unsealed part was 14 levels previously), and the Depths are six levels. Vaults is enterable from Depths:2-5; Abyss, Hell, and Pan portals are available for the entire length of the branch. Right now the monster set is identical to Vaults except for the absence of Vaults-specific humans. D's monster set has also been truncated, mainly on the out-of-depth front. It's my intent that this serve as a starting point for figuring out what monsters we want to split between the two branches.
* Shorten branch enums.Adam Borowski2013-11-031-3/+3
| | | | | Seriously, even preparing this commit gave me a pain in the triangle between the thumb and index finger's bases and the wrist.
* Use RUNE_LOCK_DEPTH instead of a magic number.Raphael Langella2013-10-311-3/+4
|
* Move the br.mid milestone to D:15.elliptic2013-10-311-3/+3
| | | | To match the rune lock depth.
* s/mutation_name()/mutation_desc()/Adam Borowski2013-09-091-2/+2
| | | | It returns a whole-sentence description.
* Turn pairs of assertions with x > min, x <= max into ASSERT_RANGE.Adam Borowski2013-06-081-2/+1
| | | | | The perl regexp to do so is: s&ASSERT\(([^\n]+) >= ([^\n]+)\);\s*ASSERT\(\1 < ([^\n]+)\);&ASSERT_RANGE($1, $2, $3);&sg;
* Don't speak about "mana" to the player (rchandra)Adam Borowski2013-05-011-2/+2
|
* Refactor ASSERT(a && b) -> ASSERT(a); ASSERT(b);Brendan Hickey2013-04-281-1/+2
| | | | | | | Convert conjunctive assertions into separate assertions. This ought to be correctness preserving. I ran the stress tests and didn't notice anything unusual. While I have confidence in it, if you are the slightest bit suspicious of this, please roll it back. Found instances with `ASSERT(\([^(|]*\) && \([^)|]*\))` Manually inspected each instance.
* Properly apostrophize a few god names instead of hardcoding them.David Lawrence Ramsey2013-01-261-1/+2
|
* Merge branch 'vehumet'Chris Campbell2013-01-201-1/+7
|\
| * Add notes for Vehumet spell offersChris Campbell2012-12-121-1/+7
| |
* | Note entering Abyss:5.Neil Moore2012-12-311-2/+3
| |
* | Simplify.Neil Moore2012-12-311-11/+6
| |
* | Remove unnecessary includes from header files.Jay3.14152012-10-231-0/+1
|/ | | | | | | | | | For most header files, this only saves on having to recompile a small number of source files, but there are also a few headers where small changes would now take significantly less time. This is most obvious for the Tiles build for which the dependencies have been greatly reduced, so that the only additional includes when compared to console are strictly library or tile related.
* Use std namespace.Raphael Langella2012-08-261-9/+9
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Add a milestone for the first time each branch is exited.elliptic2012-08-221-1/+1
| | | | | | Only applies to branches with more than one level, so it shouldn't be too many milestones. In order to get oplace to work correctly, the report_origin_level argument to mark_milestone() was made slightly more flexible.
* Make note_skill_levels default to what it used to, make it a simple list option.Adam Borowski2012-08-111-10/+1
| | | | | | | | No point in having it be a full list -- this way, it can be easily replaced, and having to type the old values is not a chore. You can += or -= too if you really want. (Really, this option and friends should just receive an optioncide...)
* Some more return deparenthesization.Adam Borowski2012-07-051-1/+1
|
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-19/+19
|
* Cut down on transitively including directn.hAdam Borowski2012-06-201-0/+1
| | | | | It's a big header, hardly ever needed, yet it was pulled even for low-level files that don't deal with the game itself like lib${UI}.cc
* Kill some longs.Adam Borowski2012-05-261-1/+1
| | | | | | In portable code, basically every use of long or %ld/%lu/%lx is a bug. A legitimate use in Crawl is the bit array: storing it in-memory should be preferably done a word at a time.
* Remove a good deal of header inclusion.Adam Borowski2012-05-231-2/+0
| | | | | | | | | These accumulate but never get removed; no wonder compilation times keep rising. The includes.sh script has lots of false negatives (and positives...), and can't check .h files which cause the biggest slowdown, it'd be nice to run multidelta on those somehow.
* Optioncide: note_all_spells (always on).Adam Borowski2012-05-021-12/+1
| | | | | | | I see no reason why someone would note only spells of higher level than any currently memorized. With Selective Amnesia gone, learning spell can't be the cause of significant spam -- and even in the past, it'd be one only if someone heavily abused SA to regain 5MP per 9th level spell.
* Don't produce br.enter nor a note for the Abyss.Adam Borowski2012-05-021-1/+5
| | | | | | | This was redundant with abyss.enter. I had to add notes for volunarily entering the Abyss, but they are better with a message mentioning this anyway.
* Make a milestone for reaching a level only if it has been just created.Adam Borowski2012-05-021-14/+1
| | | | | Before, returning to a non-persistent level would act as if you entered it normally, and dungeon levels used to scan the whole history to avoid repeats.
* Suppress the normal milestone for wizlabs.Adam Borowski2012-05-021-1/+2
| | | | They have a customized one in lua.
* Drop TAG_MAJOR_VERSION == 32 ifdefs.Adam Borowski2012-04-251-15/+0
|
* Ziggurats: use common code with other branches for milestones.Adam Borowski2012-04-131-3/+10
| | | | | | For compatibility, I left the special-casing of milestone type as "zig.enter" instead of "br.enter", and "zig" instead of "br.mid" and "br.end" (other branches don't have milestones for every level).
* Merge branch 'master' into portal_branchesAdam Borowski2012-03-261-0/+4
|\ | | | | | | | | This includes fixes for 64834896234968 places in master that add new uses of LEVEL_FOO and so on.
| * Record the cause of mutations.Adam Borowski2012-02-271-0/+4
| | | | | | | | | | Mutation descriptions end with a hardcoded dot, which makes the notes look weird. Should we chomp the dot manually?
* | Merge branch 'master' into portal_branchesAdam Borowski2012-02-201-14/+8
|\|
| * Milestones for your first time entering Pandemonium and reaching D:14.elliptic2012-01-091-2/+8
| | | | | | | | | | | | Pandemonium uses br.enter, D:14 uses br.mid. The D:14 milestone shouldn't be announced by bots; its main purpose is to permit tracking the "rune lock" conduct.
| * Tweak milestones and notes for death/banishment/pacification/enslavement.elliptic2012-01-091-12/+5
| | | | | | | | | | | | | | | | Previously milestones for pacified monsters happened when the pacified monster disappeared (i.e. by leaving the level), not when it was actually pacified. This is now fixed, successfully using Yred's Enslave Soul on a monster is recorded as well, and all four of these ways of defeating a monster now give different milestones and notes.
* | Merge branch 'master' into portal_branchesAdam Borowski2011-12-281-1/+1
|\|
| * Make a bunch of uninitialized variables static.Adam Borowski2011-12-271-1/+1
| | | | | | | | | | Too bad, .bss is full of improperly initialized objects that should either be shared or go away.
* | Split the branch data into read-only and mutable parts.Adam Borowski2011-11-041-1/+1
| | | | | | | | | | | | | | | | As a side effect, branches can now be shortened without breaking major save compat. This commit itself doesn't preserve compat though, even though it'd be easy -- other parts are too nasty already.
* | Get rid of level_type, unify BRANCH_*, LEVEL_* and portal vaults.Adam Borowski2011-11-041-16/+16
|/
* Take note when revealing a feature mimic which has been noted before.Raphael Langella2011-09-051-1/+5
|
* Adjust some whitespace and formatting.Adam Borowski2011-07-081-1/+0
|
* Rename MONS_(PANDEMONIUM|HELL)_DEMON to MONS_(PANDEMONIUM|HELL)_LORD.David Lawrence Ramsey2011-06-201-1/+1
|
* Add a note when an interesting monster is banished (fixes #4058).Matt Mills2011-06-041-1/+8
|
* Add notes when Beogh names an ally, and when named allies dieChris Campbell2011-04-111-1/+9
|
* Ravage std::setw() as well.Adam Borowski2011-04-011-4/+4
|