- added new sector special 195 to set the 'hidden' sector flag in non-UDMF maps.

SVN r2637 (trunk)
This commit is contained in:
Christoph Oelckers 2010-08-29 12:20:35 +00:00
parent d4b03e2b77
commit c304b39ecc
4 changed files with 14 additions and 4 deletions

View File

@ -163,6 +163,7 @@ Note: All <bool> fields default to false unless mentioned otherwise.
norespawn = <bool>; // Players can not respawn in this sector norespawn = <bool>; // Players can not respawn in this sector
soundsequence = <string>; // The sound sequence to play when this sector moves. Placing a soundsequence = <string>; // The sound sequence to play when this sector moves. Placing a
// sound sequence thing in the sector will override this property. // sound sequence thing in the sector will override this property.
hidden = <bool>; // if true this sector will not be drawn on the textured automap.
* Note about dropactors * Note about dropactors
@ -273,6 +274,9 @@ Added 'soundsequnce' sector property.
1.12 22.08.2010 1.12 22.08.2010
Added 'conversation' thing property. Added 'conversation' thing property.
1.13 29.08.2010
Added 'hidden' sector property.
=============================================================================== ===============================================================================
EOF EOF
=============================================================================== ===============================================================================

View File

@ -114,8 +114,9 @@ typedef enum {
sDamage_SuperHellslime = 116, sDamage_SuperHellslime = 116,
Scroll_StrifeCurrent = 118, Scroll_StrifeCurrent = 118,
// Caverns of Darkness healing sector
Sector_Heal = 196, Sector_Hidden = 195,
Sector_Heal = 196, // Caverns of Darkness healing sector
Light_OutdoorLightning = 197, Light_OutdoorLightning = 197,
Light_IndoorLightning1 = 198, Light_IndoorLightning1 = 198,

View File

@ -1104,6 +1104,11 @@ void P_SpawnSpecials (void)
0, -1, int(sector-sectors), 0); 0, -1, int(sector-sectors), 0);
break; break;
case Sector_Hidden:
sector->MoreFlags |= SECF_HIDDEN;
sector->special &= 0xff00;
break;
default: default:
if ((sector->special & 0xff) >= Scroll_North_Slow && if ((sector->special & 0xff) >= Scroll_North_Slow &&
(sector->special & 0xff) <= Scroll_SouthWest_Fast) (sector->special & 0xff) <= Scroll_SouthWest_Fast)

View File

@ -145,8 +145,8 @@ enum
sDamage_SuperHellslime = 116, sDamage_SuperHellslime = 116,
Scroll_StrifeCurrent = 118, Scroll_StrifeCurrent = 118,
// Caverns of Darkness healing sector Sector_Hidden = 195,
Sector_Heal = 196, Sector_Heal = 196, // Caverns of Darkness healing sector
Light_OutdoorLightning = 197, Light_OutdoorLightning = 197,
Light_IndoorLightning1 = 198, Light_IndoorLightning1 = 198,