diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-01 23:28:27 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-01 23:28:27 +0000 |
commit | f4fe0980660963ebfd05d86ca9c6b7df0e03940a (patch) | |
tree | cf14e0af215c2dd9343df6ae0fc95ddce2becb21 /crawl-ref/source/player.cc | |
parent | 995e35a5faf111223e24caeecc97c47cfe050e5a (diff) | |
download | crawl-ref-f4fe0980660963ebfd05d86ca9c6b7df0e03940a.tar.gz crawl-ref-f4fe0980660963ebfd05d86ca9c6b7df0e03940a.zip |
Add player icons (default species/job tile) to the selection menu for
saved games.
Bugs/issues:
* cannot handle more lines than fit the screen [*]
* does not show actual equipment
* probably should respect dolls.txt settings
I guess the equipment problem could be solved by yet another per-character
save file similar to dolls.txt, so newgame.cc could read directly from this
rather than have to open the save to calculate equipment tiles or any such
insanity.
*) presumably because maxpagesize() assumes the entire screen is
available for use by the menu
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10083 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index b9c5916f3a..0003c3774f 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1498,11 +1498,11 @@ int player_res_cold(bool calc_unid, bool temp, bool items) if (items) { - // rings of fire resistance/fire + // rings of cold resistance/ice rc += player_equip( EQ_RINGS, RING_PROTECTION_FROM_COLD, calc_unid ); rc += player_equip( EQ_RINGS, RING_ICE, calc_unid ); - // rings of ice + // rings of fire rc -= player_equip( EQ_RINGS, RING_FIRE, calc_unid ); // Staves |