summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Makefile.obj
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-24 16:20:53 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-24 17:14:38 +0200
commit6e9b297febed5732aec54ddd7c07fae46d658ee1 (patch)
tree0f3c0328e20fe5535ed7f39056a9f52d5cef6ae5 /crawl-ref/source/Makefile.obj
parentfeae41c850580a058031f0315162d7bf3a68b4d0 (diff)
downloadcrawl-ref-6e9b297febed5732aec54ddd7c07fae46d658ee1.tar.gz
crawl-ref-6e9b297febed5732aec54ddd7c07fae46d658ee1.zip
Don't use objects with strange constructors for storing monster resists.
This is the same concept as in neunon's branch "smaller-binary", except it goes farther, getting rid of a list of objects with transposed resist types and levels. The old code had an array like: "+++: rC, rF. ++:rElec. -:rPois", which existed only in static constructors which then were converted again to a regular struct. It turns out the whole exercise is nearly pointless: savings are around 27K rather than neunon's 674K; apparently he uses an ANCIENT compiler on a Mac that can't handle static object initializers well.
Diffstat (limited to 'crawl-ref/source/Makefile.obj')
-rw-r--r--crawl-ref/source/Makefile.obj1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/Makefile.obj b/crawl-ref/source/Makefile.obj
index 63f55e3a97..ad824e49f9 100644
--- a/crawl-ref/source/Makefile.obj
+++ b/crawl-ref/source/Makefile.obj
@@ -150,7 +150,6 @@ mon-stealth.o \
mon-stuff.o \
mon-transit.o \
mon-util.o \
-mon_resist_def.o \
monster.o \
mutation.o \
newgame.o \