class spotlighttex1 : actor {
    default   {
  scale 2.5;
  Height 35;
  Radius 25;
  +FloorClip;
  +NOGRAVITY;
  +FLATSPRITE;
  +InterpolateAngles;
  }
  States
  {
  Spawn:
  SPT0 A 1 BRIGHT { roll = sin(double(gametic) / 1) * 22; } 
  Loop;
  }
}

class spotlighttex2 : actor {
    default   {
  scale 2.5;
  Height 35;
  Radius 25;
  +FloorClip;
  +NOGRAVITY;
  +FLATSPRITE;
  +InterpolateAngles;
  }
  States
  {
  Spawn:
  SPT0 A 1 BRIGHT { roll = sin(double(gametic) / 2) * 28; } 
  Loop;
  }
}

class spotlighttex3 : actor {
    default   {
  scale 2.5;
  Height 35;
  Radius 25;
  +FloorClip;
  +NOGRAVITY;
  +FLATSPRITE;
  +InterpolateAngles;
  }
  States
  {
  Spawn:
  SPT0 A 1 BRIGHT { roll = sin(double(gametic) / 3) * 34; }
  Loop;
  }
}

class spotlight_lamp : Actor
{
	Default
	{
		Radius 1;
		Height 1;
		Scale 1;
		
		+NOBLOCKMAP
		+INVULNERABLE
		+NOGRAVITY
		+BRIGHT
		-PUSHABLE
	}
	override void PostBeginPlay()
	{
		super.PostBeginPlay();
		
		A_SetSize(radius * scale.x, height * scale.y);
	}
	States
	{
		Spawn:
			SPTL A -1;
			stop;
	}
}