mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
- added new sector special 195 to set the 'hidden' sector flag in non-UDMF maps.
SVN r2637 (trunk)
This commit is contained in:
parent
d4b03e2b77
commit
c304b39ecc
4 changed files with 14 additions and 4 deletions
|
@ -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
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue