| 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!
|
|
|
|
|
| |
Only the 2 MP tutorial bonus used it; combine that with the max MP
decrease from self-restoration and device recharging.
|
|
|
|
| |
Because mp_max_temp is in fact permanent.
|
|
|
|
|
| |
To reflect that they are adjustments, not actual mhp values. Also
change one reference to use player_rotted instead.
|
| |
|
| |
|
|
|
|
| |
Ditto for you.temp_mutation.
|
|
|
|
| |
This fixes all the instances caught by unbrace.
|
| |
|
|
|
|
|
| |
Trying to avoid socket being left open, while still sending assert
message and crash log file name to the WebTiles server.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
This lets GDB avoid having to print out all that extraneous garbage.
|
|
|
|
|
|
| |
Its usefulness varies depending on existence of debug info, although in
every case I got at least one more symbol resolved than without it. Only
unstripped builds are fun, of course.
|
| |
|
|
|
|
| |
Also, drop the caps.
|
|
|
|
| |
Rather than just some useless screenshot, usually from (0, 0).
|
| |
|
|
|
|
|
|
| |
Also, include temporary ones.
Also, don't call all innates "demon".
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The syntax is ASSERTM(condition, text, args...)
Where text is the format string for an additional message to
be printed after the condition and file/line#, and args are
additional arguments with which to format the string.
|
| |
|
|
|
|
|
| |
It's not known why but the include path for SDL
needs to be different for SDL in MSVC.
|
|
|
|
|
| |
Via externs.h -> bitary.h, it was effectively included by everything anyway,
and this way simplifies include chains.
|
|
|
|
|
|
|
|
| |
If all messages in the buffer are not "dumpworthy" (MSGCH_EQUIPMENT,
MSGCH_DIAGNOSTICS or MSGCH_TUTORIAL), it'll spin forever.
This commit also removes such racism if the dump happens during a crash:
we do want to see debug output.
|
| |
|
|
|
|
|
| |
They're static strings, there's no point in having functions just to malloc
and pass them around.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Specifically, for checking whether a stat is drained and for output.
You can now get the uncapped stats with you.strength(false), you.intel(false),
and you.dex(false).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
For technical reasons (vault_placement), subvaults use renaming data of the
top-level vault, this might be changed one day; that'd require a bit more
writing but would allow different renames in different subvaults.
TODO: "line of fire blocked by XXX".
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
There is no way for a ready level to ever move to a different place (ok,
save from ./crawl --edit-save), and now even changing a branch's settings
won't do this.
|
|
|
|
| |
Silly Brits, silly Americans.
|
|\ |
|
| |
| |
| |
| |
| | |
If we want them back for assertions, it'd be far better to save _before_
going into the crash handler.
|
|\|
| |
| |
| |
| | |
This includes fixes for 64834896234968 places in master that add new uses of
LEVEL_FOO and so on.
|
| | |
|
| |
| |
| |
| | |
It had no corresponding .cc, too.
|
| | |
|
|\| |
|