Merge branch 'master' into win32-x64-working

This commit is contained in:
nhmall
2015-05-02 18:18:36 -04:00
4 changed files with 62 additions and 2 deletions

View File

@@ -35,6 +35,9 @@ PP...............PPPPP................................PPPP...PPPP........PPP
PPP.............PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP....PPPPPP
PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
ENDMAP
REPLACE_TERRAIN:(01,01,74,18), 'P', '.', 10%
# Dungeon Description
REGION:(00,00,75,19),lit,"ordinary"
# Stairs

View File

@@ -30,6 +30,32 @@ MAP
|.........................................................................|
---------------------------------------------------------------------------
ENDMAP
$terrains = TERRAIN:{'-', 'F', 'L', 'T', 'C'}
SHUFFLE:$terrains
[50%]: SWITCH [ 4 ] {
CASE 0:
TERRAIN:line (10,8),(65, 8), $terrains[0]
BREAK
CASE 1:
TERRAIN:line (15,4),(15, 13), $terrains[0]
TERRAIN:line (59,4),(59, 13), $terrains[0]
BREAK
CASE 2:
TERRAIN:line (10,8),(38, 8), $terrains[0]
TERRAIN:line (37,8),(65, 8), $terrains[0]
TERRAIN:line (37,3),(37, 8), $terrains[0]
TERRAIN:line (37,8),(37,14), $terrains[0]
BREAK
CASE 3:
TERRAIN:rect (4,4,70,13), $terrains[0]
TERRAIN:line (25, 4),(50, 4), '.'
TERRAIN:line (25,13),(50,13), '.'
BREAK
DEFAULT:
}
# Dungeon Description
REGION:(01,01,73,16),lit,"ordinary"
# Stairs
@@ -561,6 +587,12 @@ MAP
----------------------------------------------
ENDMAP
IF [40%] {
$terrain = TERRAIN:{ 'L', '}', 'T', '.', '-', 'C' }
SHUFFLE:$terrain
REPLACE_TERRAIN:(0,0,74,17),'F', $terrain[0], 100%
}
REGION:(01,01,73,16),lit,"ordinary"
STAIR:random,up
@@ -654,6 +686,15 @@ MAP
.......................................................................
ENDMAP
IF [33%] {
# occasionally it's not a fog maze
$terrain = TERRAIN:{ 'L', '}', 'T', '-', 'F' }
SHUFFLE:$terrain
# break it up a bit
REPLACE_TERRAIN:(0,0,70,18),'C', '.', 5%
REPLACE_TERRAIN:(0,0,70,18),'C', $terrain[0], 100%
}
REGION:(00,00,70,18),lit,"ordinary"
# when falling down on this level, never end up in the fog maze

View File

@@ -45,6 +45,9 @@ MAP
..
ENDMAP
REPLACE_TERRAIN:(0,0,75,19), ' ', ('.', unlit), 5%
# Since there are no stairs, this forces the hero's initial placement
TELEPORT_REGION:(69,16,69,16),(0,0,0,0)
PORTAL:(0,0,75,19),(65,13,75,19),"air"
@@ -503,6 +506,19 @@ MAP
|...............|
-----------------
ENDMAP
IF [75%] {
TERRAIN:fillrect (17,14, 30,18),'.'
TERRAIN:fillrect (44,14, 57,18),'.'
WALLIFY
$hall = selection:floodfill(37,18)
LOOP [6 + 3d4] {
MONSTER:('A',"Angel"),rndcoord($hall),noalign,hostile
[50%]: MONSTER:random,rndcoord($hall),hostile
}
}
# Rider locations
$place = { (23,9),(37,14),(51,9) }
SHUFFLE: $place

View File

@@ -1913,8 +1913,8 @@ long* out_cnt;
/* wiz_identify stuffed the wiz_identify cmd character
into iflags.override_ID */
Sprintf(prompt, "Debug Identify (%s to permanently identify)",
visctrl(iflags.override_ID));
add_menu(win, NO_GLYPH, &any,' ', iflags.override_ID, ATR_NONE,
visctrl(iflags.override_ID));
add_menu(win, NO_GLYPH, &any,'_', iflags.override_ID, ATR_NONE,
prompt, MENU_UNSELECTED);
}
nextclass: