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