mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +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();
|
|
}
|
|
}
|