diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-28 14:50:20 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-28 14:50:20 +0000 |
commit | d6691cfdd356ba705969519779a0bc499187e49a (patch) | |
tree | 49bdb26fa51eb9e4f40e2e082b18594030581440 /crawl-ref/source/beam.h | |
parent | cd1074ada41482c6127a185084fac16fd6a32508 (diff) | |
download | crawl-ref-d6691cfdd356ba705969519779a0bc499187e49a.tar.gz crawl-ref-d6691cfdd356ba705969519779a0bc499187e49a.zip |
[1857669] Fixed books using the wrong glyph when thrown, removed SYM_foo enum and replaced it with dchars.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3130 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r-- | crawl-ref/source/beam.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h index 028018a47f..0978603454 100644 --- a/crawl-ref/source/beam.h +++ b/crawl-ref/source/beam.h @@ -26,27 +26,6 @@ enum demon_beam_type DMNBM_MUTATION }; -// beam[].type - note that this (and its variants) also accepts values -// from other enums - confusing {dlb} -enum zap_symbol_type -{ - SYM_SPACE = ' ', // 32 - SYM_FLASK = '!', // 33 - SYM_BOLT = '#', // 35 - SYM_CHUNK = '%', // 37 - SYM_OBJECT = '(', // 40 - actually used for books, but... {dlb} - SYM_WEAPON = ')', // 41 - SYM_ZAP = '*', // 42 - SYM_BURST = '+', // 43 - SYM_STICK = '/', // 47 - SYM_TRINKET = '=', // 61 - SYM_SCROLL = '?', // 63 - SYM_DEBUG = 'X', // 88 - SYM_ARMOUR = '[', // 91 - SYM_MISSILE = '`', // 96 - SYM_EXPLOSION = '#' -}; - // must match wand subtypes! (see item_def::zap()) enum zap_type { @@ -124,7 +103,7 @@ struct bolt // INPUT parameters set by caller int range; // minimum range int rangeMax; // maximum range - int type; // missile gfx + unsigned type; // missile gfx int colour; int flavour; int source_x, source_y; // beam origin |