mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-18 16:41:24 +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();
|
|
}
|
|
}
|