diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-27 17:26:00 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-27 17:26:00 +0000 |
commit | 9b909453a2e070df3ac33277d0a7f07deb6e9132 (patch) | |
tree | 531e033aec96fd1e97e797659a3d8790daad5eae /crawl-ref/source/tags.cc | |
parent | e3698852a27d5565ba1381bd600776f5080ab9c9 (diff) | |
download | crawl-ref-9b909453a2e070df3ac33277d0a7f07deb6e9132.tar.gz crawl-ref-9b909453a2e070df3ac33277d0a7f07deb6e9132.zip |
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
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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<level_area_type>( unmarshallByte(th) ); + you.level_type_name = unmarshallString(th); you.synch_time = unmarshallByte(th); you.disease = unmarshallByte(th); you.species = static_cast<species_type>(unmarshallByte(th)); |