| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
It was possible to get around these checks in various ways. Hopefully this
stops all of those ways and will make it easier to maintain this code in the
future, since only is_species_valid_choice and is_job_valid_choice need
to be modified now.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Conflicts:
crawl-ref/source/dat/des/variable/mini_monsters.des
crawl-ref/source/enum.h
crawl-ref/source/itemprop.cc
crawl-ref/source/main.cc
crawl-ref/source/mutation-data.h
crawl-ref/source/mutation.cc
crawl-ref/source/newgame.cc
crawl-ref/source/ng-restr.cc
crawl-ref/source/rltiles/dc-player.txt
crawl-ref/source/spl-selfench.cc
crawl-ref/source/throw.cc
crawl-ref/source/tilepick-p.cc
crawl-ref/source/wiz-you.cc
|
|
|
|
| |
Being immersed in lava maxes temperature and prevents any decline.
|
|
|
|
|
|
|
|
|
|
|
| |
This includes their:
* starting screen description
* starting mutations
* restricted classes/gear
* aptitudes
* orcishness (genus)
* monster version
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Besides being non-standard and present only on some platforms, it cannot be
extended to Unicode as some characters expand or contract while being
upper/lowercased.
|
| |
|
|
|
|
|
|
| |
The actual scale is not lineral, as there'd be a large change for some
species. It's (mostly) -1, -2/3, -1/2, -1/3, 0, +1/3, +1/2, +2/3, +1,
making that x/4 would be a *1.5 difference in some cases.
|
|
|
|
|
|
|
|
| |
This partially reverts commit d435634b5563e69b0c64a9c3b44060b4271a5d05.
HP modifier isn't shown in the A screen anymore and it isn't treated like
a mutation. It also fixes the fact that frail were nastier for already frail
races.
|
| |
|
|
|
|
|
|
| |
They do much the same thing, except that claws_level() only deals with
the claws mutation, so allow controlling that with a parameter in
species_has_claws().
|
|
|
|
|
| |
Also, use it to get the species of draconian player illusions in
mon-util.cc.
|
| |
|
| |
|
|
|
|
| |
The genus enum uses adjectives in all other cases.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The functions in the new ng-restr.cc are "pure": They don't
access global state; data is passed in via the new and
incomplete newgame_def.
Eventually, new_game should be split into something like
newgame_def choose_game();
that doesn't access "you", and
void setup_game(newgame_def);
that sets up the player.
Also get rid of player_size in favour of player::body_size. Rename
player_size_type to size_part_type since it's not really
player-specific (used in actor::body_size). Move parts of
player_genus, player::has_claws, body_size out into species.cc.
|
| |
|
|
Also move species<->string translation from player.cc to species.cc.
|