summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-09-08 15:37:08 -0400
committerNeil Moore <neil@s-z.org>2012-09-08 16:17:20 -0400
commita7be0a1fa2a1e1523c8c2594b2b7608f582f14d1 (patch)
treed8273b93586a9ea5374382ef997c4c56d15f5e7b /crawl-ref/source/externs.h
parentc3456a1f7d88e0cb56ef736a5cdbcd988a48b13a (diff)
downloadcrawl-ref-a7be0a1fa2a1e1523c8c2594b2b7608f582f14d1.tar.gz
crawl-ref-a7be0a1fa2a1e1523c8c2594b2b7608f582f14d1.zip
Object-orient final_effect.
This is mostly to avoid the bit-packing of the previous commit. Admittedly, it's a bit overkill for that. This could probably use some cleanup: currently we store attacker, defender, and position in the base class, even though not all subclasses have those.
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index ba30607345..6c74b1d079 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -777,14 +777,6 @@ struct mon_display
: glyph(gly), colour(col), detected(d) { }
};
-struct final_effect
-{
- final_effect_flavour flavour;
- mid_t att, def;
- coord_def pos;
- int x;
-};
-
typedef FixedArray<item_type_id_state_type, NUM_OBJECT_CLASSES, MAX_SUBTYPES> id_arr;
#endif // EXTERNS_H