| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Using int here because an optimizing compiler is allowed to assume that
an unrand_type will never be zero.
|
|
|
|
|
|
|
| |
Ideally, we wouldn't be using special for unrands totally different from
how items of the same type do, but that's less trivial than this commit.
A centralised place to check for being an unrand should at least make such
a change easier.
|
|
|
|
|
|
| |
About half of this code is to get the attack to show the flavour as
"hellfire bolt". This could probably be redone by having the attack
class have some kind of projectile name field.
|
| |
|
|
|
|
| |
For example, Hellfire gains a fake "hellfire" brand inscription.
|
|
|
|
| |
It's frustrating to recreate them over and over when you're messing with one.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Two big offenders are mut_data and mondata, they are modified by
fixup_mutations() and Mara's clone spell, respectively. The former
is even not restored back!
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
It's arguable what is a "custom type" in some cases. A "katana" obviously
differs from an European-style long sword, but I left "sceptre" merely as
a name for a mace (ie, it counts as one).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
An imperial buttload of places assumes these to be 8 bits, which makes it
impossible to add support for 256 (or more!) colours. This commit tries
to allow expanding it in the future; sadly, it is badly incomplete. At
least, new code can use the new type.
Also, beware of "branded" colours which use bits above 8 for inverse,
underline, etc.
|
| |
|
|
|
|
|
|
| |
This is to avoid redundancy is messages.
Individual unrands can opt-out by setting "unided".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This deals with problems with races with few or no slots that can be
ponderified, removes the problem of Octopodes shedding all their slowness
in 20 aut, and fixes the issue of losing +5 to all stats just to bad luck
hunting for that glove or hat.
There's a buff in that Cheibriadites may now use randarts, and nerf in that
they can no longer disrobe to gain speed.
Items ponderified with the ability is reverted to their normal state
(enchantable, corrodeable, ...), ponderousness goes back to its old status
of a very bad platemail brand / unrand property. You may at most use it
for a miniscule speed-up in gaining Chei's piety -- and even that I consider
to be bad. After all, a lazy person would do anything but exercise wearing
overencumbering armour.
|
| |
|
|
|
|
|
|
|
|
|
| |
An estimate of avg damage with no slaying but high skills:
* holy wrath: +19
* before: + 6.6
* after: +24.3
It doesn't affect demons, so outside of Crypt and Tomb it is still inferior.
|
| |
|
|
|
|
|
| |
Dpeg made the mistake of volunteering to sort out the speech into tiers,
let's unleash him on the db!
|
|
|
|
|
| |
There are several functions with similar names, it's hard to tell this one
generates a new one rather than querying the current.
|
|
|
|
|
| |
This was an ugly hack; it also allowed only a limited amount of randarts
ever. And we don't even ever use the saved value anymore.
|
|
|
|
| |
appearance.
|
|
|
|
| |
Big numbered source files are bad, mm'kay?
|
|
|
|
|
|
|
| |
"File:" is shown in your editor's status bar.
"Written by:" was used only for the first person who changed a file. We got
git for that now, and pre-DCSS history is so woefully inaccurate it doesn't
really matter.
|
|
|
|
|
|
| |
It might be better to process these in other messages, but I'm currently
afraid of possibly tainted strings (weird player names, etc) so for now
I tried to go the safest but least general way.
|
| |
|
|
|
|
|
|
| |
I did review it manually to find places where they made sense (like some
tables), but for a massive sed job like this there might be places that
I missed.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This should help against the signed char problems, and is good for
code readability. Now, if you have a char, it's either an untyped
in-memory byte, or a symbol inside a string. Small numbers are instead
[u]int8_t, ints, an enum type, or, in so many cases, bools.
I didn't touch any of the tiles code, as it's currently broken and I don't
want to risk making it unbroken harder.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
an ego type, and the Che ability converts the target item into a randart.
The -2 EV for each worn item of ponderousness is gone.
We need more Che ponderous randart names in randname.txt.
|
| |
|
|
|
|
|
|
| |
rltiles/tiledef-unrand.cc from repository.
art-data.pl no longer modifies artefact.h, but writes a new file called art-enum.h.
|
|
|
|
|
| |
Alter Fedhas' necromancy conduct, now Fedhas only cares about a
necromancy effects that involve corpses or chunks.
|
|
|
|
|
|
|
| |
Some classes were erroneously referred to as 'struct' in forward
declarations, and vice versa.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
| |
|
|
|
|
|
|
| |
It creates clouds of rain and thin mist around the player (very
occasionally). Provides insulation and evocable levitation. Also has a
tile!
|
|
|
|
|
|
|
|
|
|
| |
Chaotic things are now shapeshifters, mutators, etc., while unclean
things are diseasing things, rotting things, etc.
Zin still hates both. As good gods treat both unholy and evil monsters
as evil, he'll treat both unclean and chaotic monsters as chaotic.
Note that silver will only do extra damage to chaotics, as before.
|
|
|
|
|
|
|
|
| |
They're the best weapon in the game for the races that can weild them,
it makes no sense to exclude them from acquirements.
Also give mundane items generated by acquirement enchantments and
artifact status.
|
|
|
|
|
|
|
| |
struck.
The exact resists are not yet filled in, we'd need to interrogate zelgadis who
provided the idea.
|
| |
|
|
|
|
| |
This is mainly for Fedhas, who hates the latter but not the former.
|
|
|
|
|
|
| |
These were of questionable use and freshness.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
| |
I didn't make them "new artifacts" either -- they're enchantable now.
|
|
|
|
|
| |
Signed-off-by: Brendan Hickey <brendan@bhickey.net>
Acked-by: Steven Noonan <steven@uplinklabs.net>
|
| |
|
| |
|