mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
64 lines
733 B
Text
64 lines
733 B
Text
class SkyViewpoint : Actor native
|
|
{
|
|
default
|
|
{
|
|
+NOSECTOR
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+DONTSPLASH
|
|
}
|
|
}
|
|
|
|
class SkyPicker : Actor native
|
|
{
|
|
default
|
|
{
|
|
+NOSECTOR
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+DONTSPLASH
|
|
}
|
|
}
|
|
|
|
class SkyCamCompat : SkyViewpoint native
|
|
{
|
|
}
|
|
|
|
class StackPoint : SkyViewpoint native
|
|
{
|
|
}
|
|
|
|
class UpperStackLookOnly : StackPoint
|
|
{
|
|
}
|
|
|
|
class LowerStackLookOnly : StackPoint
|
|
{
|
|
}
|
|
|
|
|
|
class SectorSilencer : Actor
|
|
{
|
|
default
|
|
{
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+DONTSPLASH
|
|
RenderStyle "None";
|
|
}
|
|
|
|
override void BeginPlay ()
|
|
{
|
|
Super.BeginPlay ();
|
|
CurSector.Flags |= Sector.SECF_SILENT;
|
|
}
|
|
|
|
override void OnDestroy ()
|
|
{
|
|
if (CurSector != null)
|
|
{
|
|
CurSector.Flags &= ~Sector.SECF_SILENT;
|
|
}
|
|
Super.OnDestroy();
|
|
}
|
|
}
|