From 9b909453a2e070df3ac33277d0a7f07deb6e9132 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 27 Jul 2007 17:26:00 +0000 Subject: Reworked Bazaars as a special case of portal vaults. The level-type is now called portal vault. The dungeon builder bases its behaviour on the level_type_name, which must be set as the "dst" property on the portal leading to the bazaar/portal vault. Added WELCOME: directive to .des files to allow maps to specify a welcome message when the player enters the level (only relevant to encompass maps). Readjusted kenku flight speed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1941 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tags.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/tags.cc') diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index cc0e1648d9..8972af6cc0 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -726,6 +726,7 @@ static void tag_construct_you(struct tagHeader &th) marshallByte(th,you.special_wield); marshallByte(th,you.berserk_penalty); marshallByte(th,you.level_type); + marshallString(th, you.level_type_name); marshallByte(th,you.synch_time); marshallByte(th,you.disease); marshallByte(th,you.species); @@ -1032,6 +1033,7 @@ static void tag_read_you(struct tagHeader &th, char minorVersion) you.special_wield = unmarshallByte(th); you.berserk_penalty = unmarshallByte(th); you.level_type = static_cast( unmarshallByte(th) ); + you.level_type_name = unmarshallString(th); you.synch_time = unmarshallByte(th); you.disease = unmarshallByte(th); you.species = static_cast(unmarshallByte(th)); -- cgit v1.2.3-54-g00ecf