From 54a8ee37c5d6bee4ed77eef17bad080c0f81b175 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Sat, 29 Nov 2008 06:09:05 +0000 Subject: Changed player attribute type from unsigned char to unsigned long. Breaks savefile compatibility. Keep track of how much gold the player has collected, spent at shops, donated, and otherwise used (like at ziggurats) and include that info in the misc section of the character dump file. Place-holder for chaos spawn monster. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7683 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/enum.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/enum.h') diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index c6a9b6b2b6..4019dffced 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -161,6 +161,10 @@ enum attribute_type ATTR_ABYSSAL_RUNES, ATTR_RUNES_IN_ZOT, ATTR_WEAPON_SWAP_INTERRUPTED, + ATTR_GOLD_FOUND, + ATTR_PURCHASES, // Gold amount spent at shops. + ATTR_DONATIONS, // Gold amount donated to Zin. + ATTR_MISC_SPENDING, // Spending for things like ziggurats. NUM_ATTRIBUTES }; @@ -1896,7 +1900,7 @@ enum monster_type // (int) menv[].type MONS_ORB_OF_FIRE, // Swords renamed to fit -- bwr MONS_QUOKKA, // Quokka are a type of wallaby, returned -- bwr 382 MONS_TRAPDOOR_SPIDER, - // 384 + MONS_CHAOS_SPAWN, MONS_EYE_OF_DEVASTATION = 385, // 385 MONS_MOTH_OF_WRATH, MONS_DEATH_COB, -- cgit v1.2.3-54-g00ecf