/*
================================================================================
 Splot2 Definition Code
 
 Author: The Kinsie
 
 Purpose: Hardware rendering FX
 
 Comment: 

================================================================================
*/

#include "gldefs/megaimp.gld"

// Flipper effect by Rachael
hardwareshader postprocess beforebloom
{
	Name "flipper"
	Shader "shaders/flipper.fp" 330
}

// Chocolate filter by DrPySpy
hardwareshader postprocess beforebloom
{
	Name "dd_chocomode"
	Shader "shaders/choco.fp" 330
	Uniform int virtualWidth
}

// Inverter effect based on Flipper effect by Rachael
hardwareshader postprocess screen
{
	Name "inverter"
	Shader "shaders/inverter.fp" 330
}

// IT'S ALIVE! shader
hardwareshader postprocess scene
{
	Name "frankensteinshader"
	Shader "shaders/frankenstein.fp" 330
}

// Haunt fog shader
hardwareshader texture HAUNTFOG
{
	Shader "shaders/hauntfog.fp" 330
}

// Finale sky shader
hardwareshader texture FINSKY1
{
	Shader "shaders/finalesky_1.fp" 330
}

hardwareshader texture FINSKY2
{
	Shader "shaders/finalesky_2.fp" 330
}

// Sprite warps
hardwareshader texture XSMKA0
{
	Shader "shaders/fxwarp.fp" 330
}

hardwareshader texture XSMKB0
{
	Shader "shaders/fxwarp.fp" 330
}


// Brightmaps

brightmap texture "textures/reelism/DASHPAD.png" { map "brightmaps/reelism/DASHPAD_bright.png" }
brightmap texture "textures/reelism/JUMPPAD1.png" { map "brightmaps/reelism/JUMPPAD1_bright.png" }
brightmap texture "textures/reelism/JUMPPAD2.png" { map "brightmaps/reelism/JUMPPAD2_bright.png" }
brightmap texture "textures/reelism/JUMPPAD3.png" { map "brightmaps/reelism/JUMPPAD3_bright.png" }
brightmap texture "textures/reelism/JUMPPAD4.png" { map "brightmaps/reelism/JUMPPAD4_bright.png" }
brightmap texture "textures/reelism/JUMPPAD5.png" { map "brightmaps/reelism/JUMPPAD5_bright.png" }
brightmap texture "textures/reelism/JUMPPAD6.png" { map "brightmaps/reelism/JUMPPAD6_bright.png" }
brightmap texture "textures/reelism/JUMPPAD7.png" { map "brightmaps/reelism/JUMPPAD7_bright.png" }
brightmap texture "textures/reelism/JUMPPAD8.png" { map "brightmaps/reelism/JUMPPAD8_bright.png" }
brightmap texture DASHPAD { map "brightmaps/reelism/DASHPAD_bright.png" }
brightmap texture JUMPPAD1 { map "brightmaps/reelism/JUMPPAD1_bright.png" }
brightmap texture JUMPPAD2 { map "brightmaps/reelism/JUMPPAD2_bright.png" }
brightmap texture JUMPPAD3 { map "brightmaps/reelism/JUMPPAD3_bright.png" }
brightmap texture JUMPPAD4 { map "brightmaps/reelism/JUMPPAD4_bright.png" }
brightmap texture JUMPPAD5 { map "brightmaps/reelism/JUMPPAD5_bright.png" }
brightmap texture JUMPPAD6 { map "brightmaps/reelism/JUMPPAD6_bright.png" }
brightmap texture JUMPPAD7 { map "brightmaps/reelism/JUMPPAD7_bright.png" }
brightmap texture JUMPPAD8 { map "brightmaps/reelism/JUMPPAD8_bright.png" }

brightmap texture SCOR0 { map "brightmaps/town/SCOR0_bright.png" }
brightmap texture SCOR1 { map "brightmaps/town/SCOR1_bright.png" }
brightmap texture SCOR2 { map "brightmaps/town/SCOR2_bright.png" }
brightmap texture SCOR3 { map "brightmaps/town/SCOR3_bright.png" }
brightmap texture SCOR4 { map "brightmaps/town/SCOR4_bright.png" }
brightmap texture SCOR5 { map "brightmaps/town/SCOR5_bright.png" }
brightmap texture SCOR6 { map "brightmaps/town/SCOR6_bright.png" }
brightmap texture SCOR7 { map "brightmaps/town/SCOR7_bright.png" }
brightmap texture SCOR8 { map "brightmaps/town/SCOR8_bright.png" }
brightmap texture SCOR9 { map "brightmaps/town/SCOR9_bright.png" }

brightmap texture "textures/town/bruisercafe_sign_night.png" { map "brightmaps/town/bruisercafe_sign_night_bright.png" }
brightmap texture "textures/town/poundsburger-menu-night.png" { map "brightmaps/town/poundsburger-menu-night_bright.png" }

brightmap texture "textures/town/temple_ring_challenge1_off.png" { map "brightmaps/town/temple_ring_challenge1_off_bright.png" }
brightmap texture "textures/town/temple_ring_challenge1_on.png" { map "brightmaps/town/temple_ring_challenge1_on_bright.png" }
brightmap texture "textures/town/temple_ring_challenge2_off.png" { map "brightmaps/town/temple_ring_challenge2_off_bright.png" }
brightmap texture "textures/town/temple_ring_challenge2_on.png" { map "brightmaps/town/temple_ring_challenge2_on_bright.png" }

brightmap texture "textures/city/arcade0.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade1.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade2.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade3.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade4.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade5.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade6.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade7.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade8.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade9.png" { map "brightmaps/city/archead.png" }
brightmap texture "textures/city/arcade10.png" { map "brightmaps/city/archead.png" }

brightmap texture "textures/city/arcscrn0.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn00.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn1.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn2.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn3.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn4.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn5.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn6.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn7.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn8.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/arcscrn9.png" { map "brightmaps/city/arcscreen.png" }
brightmap texture "textures/city/pinball-marquee.png" { map "brightmaps/city/pinball-marquee.png" }

brightmap texture "textures/duke3d/dn3d0871.png" { map "brightmaps/duke3d/dn3d0871.png" }

brightmap texture "textures/overflow/FLOW_light.png" { map "brightmaps/overflow/FLOW_light_bright.png" }
brightmap texture "textures/overflow/FLOW_light_big.png" { map "brightmaps/overflow/FLOW_light_big_bright.png" }

brightmap texture "SW1OVER" { map "brightmaps/overflow/SW1OVER_bright.png" }
brightmap texture "SW2OVER" { map "brightmaps/overflow/SW2OVER_bright.png" }

brightmap texture "textures/haunt/HAUNTFUR.png" { map "brightmaps/haunt/HAUNTFUR_bright.png" }

brightmap texture "textures/bossrush/skybuilding_dist.png" { map "brightmaps/bossrush/skybuilding_dist.png" }
brightmap texture "textures/bossrush/m64_yakei.png" { map "textures/bossrush/m64_yakei.png" }
brightmap texture "textures/bossrush/dn3d_0513_upscaled.png" { map "brightmaps/bossrush/dn3d_0513_upscaled.png" }
brightmap texture "textures/bossrush/SCORG11.png" { map "brightmaps/bossrush/SCORG1.png" }
brightmap texture "textures/bossrush/SCORG12.png" { map "brightmaps/bossrush/SCORG1.png" }
brightmap texture "textures/bossrush/SCORG13.png" { map "brightmaps/bossrush/SCORG1.png" }
brightmap texture "textures/bossrush/SCORG14.png" { map "brightmaps/bossrush/SCORG1.png" }
brightmap texture "textures/bossrush/SCORG21.png" { map "brightmaps/bossrush/SCORG2.png" }
brightmap texture "textures/bossrush/SCORG22.png" { map "brightmaps/bossrush/SCORG2.png" }
brightmap texture "textures/bossrush/SCORG23.png" { map "brightmaps/bossrush/SCORG2.png" }
brightmap texture "textures/bossrush/SCORG24.png" { map "brightmaps/bossrush/SCORG2.png" }
brightmap texture "textures/bossrush/SCORG31.png" { map "brightmaps/bossrush/SCORG3.png" }
brightmap texture "textures/bossrush/SCORG32.png" { map "brightmaps/bossrush/SCORG3.png" }
brightmap texture "textures/bossrush/SCORG33.png" { map "brightmaps/bossrush/SCORG3.png" }
brightmap texture "textures/bossrush/SCORG34.png" { map "brightmaps/bossrush/SCORG3.png" }
brightmap texture "textures/bossrush/SCORG41.png" { map "brightmaps/bossrush/SCORG4.png" }
brightmap texture "textures/bossrush/SCORG42.png" { map "brightmaps/bossrush/SCORG4.png" }
brightmap texture "textures/bossrush/SCORG43.png" { map "brightmaps/bossrush/SCORG4.png" }
brightmap texture "textures/bossrush/SCORG44.png" { map "brightmaps/bossrush/SCORG4.png" }
brightmap texture "textures/bossrush/SCORD11.png" { map "brightmaps/bossrush/SCORD1.png" }
brightmap texture "textures/bossrush/SCORD12.png" { map "brightmaps/bossrush/SCORD1.png" }
brightmap texture "textures/bossrush/SCORD13.png" { map "brightmaps/bossrush/SCORD1.png" }
brightmap texture "textures/bossrush/SCORD14.png" { map "brightmaps/bossrush/SCORD1.png" }
brightmap texture "textures/bossrush/SCORD21.png" { map "brightmaps/bossrush/SCORD2.png" }
brightmap texture "textures/bossrush/SCORD22.png" { map "brightmaps/bossrush/SCORD2.png" }
brightmap texture "textures/bossrush/SCORD23.png" { map "brightmaps/bossrush/SCORD2.png" }
brightmap texture "textures/bossrush/SCORD24.png" { map "brightmaps/bossrush/SCORD2.png" }
brightmap texture "textures/bossrush/SCORD31.png" { map "brightmaps/bossrush/SCORD3.png" }
brightmap texture "textures/bossrush/SCORD32.png" { map "brightmaps/bossrush/SCORD3.png" }
brightmap texture "textures/bossrush/SCORD33.png" { map "brightmaps/bossrush/SCORD3.png" }
brightmap texture "textures/bossrush/SCORD34.png" { map "brightmaps/bossrush/SCORD3.png" }
brightmap texture "textures/bossrush/SCORD41.png" { map "brightmaps/bossrush/SCORD4.png" }
brightmap texture "textures/bossrush/SCORD42.png" { map "brightmaps/bossrush/SCORD4.png" }
brightmap texture "textures/bossrush/SCORD43.png" { map "brightmaps/bossrush/SCORD4.png" }
brightmap texture "textures/bossrush/SCORD44.png" { map "brightmaps/bossrush/SCORD4.png" }
brightmap texture "textures/bossrush/SCORX11.png" { map "brightmaps/bossrush/SCORX1.png" }
brightmap texture "textures/bossrush/SCORX21.png" { map "brightmaps/bossrush/SCORX2.png" }
brightmap texture "textures/bossrush/SCORX31.png" { map "brightmaps/bossrush/SCORX3.png" }
brightmap texture "textures/bossrush/SCORW11.png" { map "brightmaps/bossrush/SCORW1.png" }
brightmap texture "textures/bossrush/SCORW12.png" { map "brightmaps/bossrush/SCORW1.png" }
brightmap texture "textures/bossrush/SCORW13.png" { map "brightmaps/bossrush/SCORW1.png" }
brightmap texture "textures/bossrush/SCORW14.png" { map "brightmaps/bossrush/SCORW1.png" }
brightmap texture "textures/bossrush/SCORW21.png" { map "brightmaps/bossrush/SCORW2.png" }
brightmap texture "textures/bossrush/SCORW22.png" { map "brightmaps/bossrush/SCORW2.png" }
brightmap texture "textures/bossrush/SCORW23.png" { map "brightmaps/bossrush/SCORW2.png" }
brightmap texture "textures/bossrush/SCORW24.png" { map "brightmaps/bossrush/SCORW2.png" }
brightmap texture "textures/bossrush/SCORF11.png" { map "brightmaps/bossrush/SCORF1.png" }
brightmap texture "textures/bossrush/SCORF12.png" { map "brightmaps/bossrush/SCORF1.png" }
brightmap texture "textures/bossrush/SCORF13.png" { map "brightmaps/bossrush/SCORF1.png" }
brightmap texture "textures/bossrush/SCORF14.png" { map "brightmaps/bossrush/SCORF1.png" }
brightmap texture "textures/bossrush/stadium-light.png" { map "brightmaps/bossrush/stadium-light.png" }

brightmap texture "textures/finale/finale-exitsign.png" { map "brightmaps/finale/finale-exitsign_bright.png" }

brightmap sprite MEADA1 { map "brightmaps/sprites/cacodemon_mecha/MEADA1_bright.png" }
brightmap sprite MEADA2A8 { map "brightmaps/sprites/cacodemon_mecha/MEADA2A8_bright.png" }
brightmap sprite MEADA3A7 { map "brightmaps/sprites/cacodemon_mecha/MEADA3A7_bright.png" }
brightmap sprite MEADB1 { map "brightmaps/sprites/cacodemon_mecha/MEADB1_bright.png" }
brightmap sprite MEADB2B8 { map "brightmaps/sprites/cacodemon_mecha/MEADB2B8_bright.png" }
brightmap sprite MEADB3B7 { map "brightmaps/sprites/cacodemon_mecha/MEADB3B7_bright.png" }
brightmap sprite MEADC1 { map "brightmaps/sprites/cacodemon_mecha/MEADC1_bright.png" }
brightmap sprite MEADC2C8 { map "brightmaps/sprites/cacodemon_mecha/MEADC2C8_bright.png" }
brightmap sprite MEADC3C7 { map "brightmaps/sprites/cacodemon_mecha/MEADC3C7_bright.png" }
brightmap sprite MEADD1 { map "brightmaps/sprites/cacodemon_mecha/MEADD1_bright.png" }
brightmap sprite MEADD2D8 { map "brightmaps/sprites/cacodemon_mecha/MEADD2D8_bright.png" }
brightmap sprite MEADD3D7 { map "brightmaps/sprites/cacodemon_mecha/MEADD3D7_bright.png" }
brightmap sprite MEADE1 { map "brightmaps/sprites/cacodemon_mecha/MEADE1_bright.png" }
brightmap sprite MEADE2E8 { map "brightmaps/sprites/cacodemon_mecha/MEADE2E8_bright.png" }
brightmap sprite MEADE3E7 { map "brightmaps/sprites/cacodemon_mecha/MEADE3E7_bright.png" }
brightmap sprite MEADF1 { map "brightmaps/sprites/cacodemon_mecha/MEADF1_bright.png" }
brightmap sprite MEADF2F8 { map "brightmaps/sprites/cacodemon_mecha/MEADF2F8_bright.png" }
brightmap sprite MEADF3F7 { map "brightmaps/sprites/cacodemon_mecha/MEADF3F7_bright.png" }
brightmap sprite MEADJ0 { map "brightmaps/sprites/cacodemon_mecha/MEADJ0_bright.png" }

brightmap sprite SNAOA0 { map "brightmaps/sprites/cold/SNAOA0_bright.png" }
brightmap sprite SNAOB0 { map "brightmaps/sprites/cold/SNAOB0_bright.png" }

brightmap sprite CCNDA0 { map "brightmaps/sprites/castle/CCNDA0_bright.png" }
brightmap sprite CCNDB0 { map "brightmaps/sprites/castle/CCNDB0_bright.png" }
brightmap sprite CCNDC0 { map "brightmaps/sprites/castle/CCNDC0_bright.png" }
brightmap sprite CCNDD0 { map "brightmaps/sprites/castle/CCNDD0_bright.png" }
brightmap sprite CCNDE0 { map "brightmaps/sprites/castle/CCNDE0_bright.png" }

brightmap sprite OVCNA0 { map "brightmaps/sprites/overflow/OVCNA0_bright.png" }

// Dynamic Lights

pulselight Splot_LastChance_Light
{
	color 0.7 0.792 0.875
	size 38
	secondarysize 48
	interval 1.5
	offset 0 40 0
	dontlightself 1
}
