
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;     config                                                                                   ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; sound = true/false
; debug = true/false

democonfig
{
	sound = true;
	developermode = false;
	song = music.mp3
	endtime = 161000
	jumptime = 0
}

timeline
{
	mod 0 161000 10000
}

trigger testitriggers1
{
	10000 1000
	14000 1000
	18000 1500
	22000 1000
} 



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;     effects			                                                                        ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

event particlestart
{
	time = 15000
	length = 1000

}

event photostart
{
	time = 7000
	length = 1000
}

event title
{
	time = 1000
	length = 10000
}

event superparticlestart
{
	time = 90000
	length = 20000 
}

event particlerain
{
	time = 110000
	lenth = 20000
}
event backgroundfadeinstart
{
	time = 30000
	length = 5000
}

event heartstart
{
	time = 50000
	length = 1000
}

event onlybacon
{
	time = 70000
	length = 20000
}

event baconrain
{
	time = 130000
	length = 15000
}

event fadeout
{
	time = 155000
	length = 5000
}

namespace mod
{

	float scrollspeed = 0.005
	float photoaddinterval = 2.5
	range photolifetime = 4 7
	range photoposition = 0 5
	range photoangle = -0.4 0.4
	range photofadespeed = 0.005 0.01
	range photosize = 2 4
	range photospeed = 0.001 0.004
	
	range photospin = -0.0005 0.0005
	
	float shadowalpha = 0.55
	vector3 shadowoffs = 0.15 -0.15 0.0

	
	float particleaddinterval = 0.1
	range particlespeed = 0.01 0.05
	range particlespin = -0.04 0.04

	range particlelifetime = 4 7
	range particleposition = 0 4
	range particleangle = 0 100
	range particlefadespeed = 0.01 0.05
	range particlesize = 0.2 0.4
	
	float textaddinterval = 8.0
	float scrollerspeed = 670.f

	
	float fadeinstart = 0
	float fadeinend = 0.1
	range fadeinspeed = 0.001 0.1
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;     beat				                                                                        ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

bpm beatquarter
{
	bpm = 13.875
	offset = 0
}

bpm beathalf
{
	bpm = 27.75
	offset = 0
}

bpm basicbeat0
{
	bpm = 55.5
	offset = 0
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;     meshes																					;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

/*
mesh testi.obj
{
	usevbo = true
	autotexture = false
	texture = texture1.jpg
	usefacenormals = false
	calculatenormals = false
	retain = true
}
*/

mesh sphere.obj
{
	usevbo = true
}
mesh test.obj
{
	usevbo = true
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;     textures                                                                                 ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; upload = true/false 
; wrap 	 = repeat/clamp
; retain = true/false 
; mipmap = true/false
; filter = nearest / linear 

texture ground.jpg
{
	mipmap = true
	wrap = repeat
	filter = linear
}

texture ceiling.jpg
{
	mipmap = true
	wrap = repeat
	filter = linear
}
texture photo1.jpg
{
	mipmap = true
	wrap = repeat
	filter = linear
}
texture photo2.jpg
{
	mipmap = true
	wrap = repeat
	filter = linear
}
texture photo3.jpg
{
	mipmap = true
	wrap = repeat
	filter = linear
}
texture brslogo.png
{
	wrap = clamp
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;     postprocessing rendertargets                                                             ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;; NOTE! these are hardcoded into the postprocessing code so if any names are changed, they need to be 
;;;;; changed in the code as well!

rendertarget feedback_0
{
	width = 1024;
	height = 1024;
}
rendertarget feedback_1
{
	width = 1024;
	height = 1024;
}
rendertarget feedback_2
{
	width = 1024;
	height = 1024;
}

rendertarget feedbackflow
{
	width = 64
	height = 64
}

rendertarget postprocess_1024
{
	width = 1024;
	height = 1024;
}
rendertarget postprocess_2048
{
	width = 2048;
	height = 2048;
}

rendertarget postprocess_512
{
	width = 512;
	height = 512;
}
rendertarget postprocess_256
{
	width = 256;
	height = 256;
}
rendertarget postprocess_256_2
{
	width = 256;
	height = 256;
}
rendertarget postprocess_128
{
	width = 128;
	height = 128;
}
rendertarget postprocess_128_2
{
	width = 128;
	height = 128;
}


texture postprocess_1024
{
	wrap = clamp;
}
texture postprocess_1024_2
{
	wrap = clamp;
}
texture postprocess_512
{
	wrap = clamp;
}
texture postprocess_256
{
	wrap = clamp;
}
texture postprocess_1284
{
	wrap = clamp;
}
texture postprocess_128_2
{
	wrap = clamp;
}
texture postprocess_64
{
	wrap = clamp;
}
texture postprocess_64_2
{
	wrap = clamp;
}

; this is for the pixelize shader mainly
texture postprocess_32
{
	filter = nearest
	wrap = clamp
}


; some whitespade needed :)