diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-27 16:17:49 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-27 17:29:59 +0100 |
commit | dfb8ff17372119dd2982b04c2bbace0017557800 (patch) | |
tree | 4e40749c7a78be022447147d618342a4170377c1 /crawl-ref/source/tiles.h | |
parent | e2d098c9dd78d21fbf39db334ad57c75e75b613b (diff) | |
download | crawl-ref-dfb8ff17372119dd2982b04c2bbace0017557800.tar.gz crawl-ref-dfb8ff17372119dd2982b04c2bbace0017557800.zip |
Experimentally overlay demon tiles with the corresponding numbers.
I added an option tile_show_demon_numbers, defaulting to true (at
least for testing purposes). Not documented yet, as things are still
subject to change.
One of the big disadvantages of tiles vs. console is that it is
impossible to get an idea of demons' difficulty from their tiles.
Tiles players have to learn the connection between their tiles and
danger (and it's very easy to get them mixed up, probably more so
even than their names), whereas console players can tell at a glance
that a '1' is more dangerous than a '3'. These numbers now also get
displayed for tiles, which is heavy-handed, technical and confusing
for players otherwise unused to arbitrary glyphs. ("Why is 1 worse
than 5?"). I've also coloured the numbers in a range from yellow (5)
to red (1), which is much easier to understand, and this at least
should be kept even if the numbers get replaced with other symbols.
For example, if we interpret the demon glyphs correspond with their
"ranks" in hell, the tiles could display stars instead, or skulls,
or coloured flames. Whatever, anything but numbers. :p
Diffstat (limited to 'crawl-ref/source/tiles.h')
-rw-r--r-- | crawl-ref/source/tiles.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/tiles.h b/crawl-ref/source/tiles.h index be49c3f12e..ec2af4f68e 100644 --- a/crawl-ref/source/tiles.h +++ b/crawl-ref/source/tiles.h @@ -152,6 +152,14 @@ enum tile_flags TILE_FLAG_MDAM_SEV = 0x02000000, TILE_FLAG_MDAM_ADEAD = 0x02800000, + // Demon difficulty has 5 possibilities, so uses 3 bits. + TILE_FLAG_DEMON = 0x34000000, + TILE_FLAG_DEMON_5 = 0x04000000, + TILE_FLAG_DEMON_4 = 0x10000000, + TILE_FLAG_DEMON_3 = 0x14000000, + TILE_FLAG_DEMON_2 = 0x20000000, + TILE_FLAG_DEMON_1 = 0x24000000, + // Background flags TILE_FLAG_RAY = 0x00000800, TILE_FLAG_MM_UNSEEN = 0x00001000, |