| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
.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!
|
| |
|
|
|
|
|
| |
Crawl mostly uses "health" and "magic", with "HP" and "MP" in a few
places where abbreviating is more appropriate.
|
|
|
|
| |
resistance gift
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Seriously, even preparing this commit gave me a pain in the triangle between
the thumb and index finger's bases and the wrist.
|
| |
|
|
|
|
| |
To match the rune lock depth.
|
|
|
|
| |
It returns a whole-sentence description.
|
|
|
|
|
| |
The perl regexp to do so is:
s&ASSERT\(([^\n]+) >= ([^\n]+)\);\s*ASSERT\(\1 < ([^\n]+)\);&ASSERT_RANGE($1, $2, $3);&sg;
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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...)
|
| |
|
| |
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
| |
They have a customized one in lua.
|
| |
|
|
|
|
|
|
| |
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).
|
|\
| |
| |
| |
| | |
This includes fixes for 64834896234968 places in master that add new uses of
LEVEL_FOO and so on.
|
| |
| |
| |
| |
| | |
Mutation descriptions end with a hardcoded dot, which makes the notes look
weird. Should we chomp the dot manually?
|
|\| |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\| |
|
| |
| |
| |
| |
| | |
Too bad, .bss is full of improperly initialized objects that should either
be shared or go away.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|