debriefing = 0;
showNotepad = 0;

onLoadMission=$STRD_D01n20;
onLoadIntro=$STRD_D01n21;

onLoadIntroTime = true;
onLoadMissionTime = true;

#define FontS "tahomaB24"
#define FontM "tahomaB36"
#define FontHTML "courierNewB64"
#define FontHTMLBold "courierNewB64"
#define FontMAP "courierNewB64"
#define FontMAIN "SteelfishB64"
#define FontMAINCZ "SteelfishB64CE"
#define FontTITLE "SteelfishB128"
#define FontTITLEHalf "SteelfishB64"
#define FontBOOK "garamond64"
#define FontNOTES "AudreysHandI48"


// Control types
#define CT_STATIC						0
#define CT_HTML							9

//	#define CT_OBJECT						80
//	#define CT_OBJECT_CONTAINER					82

//	#define CT_3DSTATIC						20
//	#define CT_3DHTML						23

// Static styles
#define ST_LEFT			0
#define ST_RIGHT		1
#define ST_CENTER		2
#define ST_UP			3
#define ST_DOWN			4
#define ST_VCENTER		5

#define ST_SINGLE		0
#define ST_MULTI		16
#define ST_PICTURE		48
#define ST_FRAME		64

#define ST_HUD_BACKGROUND	128
#define ST_TILE_PICTURE		144
#define ST_WITH_RECT		160
#define ST_LINE			176

#define ST_SHADOW		256
#define ST_NO_RECT		512


// -----------------------------
// Predefined control templates
// -----------------------------

// let this be as it is
// these are the default values of the parametres

class RscPicture
{
	type = CT_STATIC;
	idc = -1;
	style = ST_PICTURE;
	colorBackground[] = {0, 0, 0, 0};
	colorText[] = {1, 1, 1, 1};
	font = FontS;
	size = 0;
};

class RscText
{
	type = CT_STATIC;
	idc = -1;
	style = ST_LEFT;
	h = 0.04; 
	colorBackground[] = {0, 0, 0, 0};
	colorText[] = {1, 1, 1, 1};
	font = FontS;
	size = 1;
};

class RscBackground
{
	type = CT_STATIC;
	idc = -1;
	style = ST_LEFT;
	colorBackground[] = {0, 1, 0, 1};
	colorText[] = {1, 1, 1, 1};
	font = FontS;
	size = 0;
	text = "";
};

class RscHTML
{
	type = CT_HTML;
	idc = -1;
	style = 0;
	colorBackground[] = {1, 1, 1, 1};
	colorText[] = {0, 0, 0, 1};
	colorBold[] = {0, 0, 0.2, 1};
	colorLink[] = {0.4, 0.4, 0.8, 1};
	colorLinkActive[] = {0.8, 0.35, 0.48, 1};

	// styles
	class H1
	{
		font = FontHTML;
		fontBold = FontHTMLBold;
		size = 1.0;
	};
	class H2
	{
		font = FontHTML;
		fontBold = FontHTMLBold;
		size = 0.7;
	};
	class H3
	{
		font = FontHTML;
		fontBold = FontHTMLBold;
		size = 0.5;
	};
	class H4
	{
		font = FontHTML;
		fontBold = FontHTMLBold;
		size = 0.4;
	};
	class H5
	{
		font = FontBOOK;
		fontBold = FontBOOK;
		size = 0.6;
	};
	class H6
	{
		font = FontNOTES;
		fontBold = FontNOTES;
		size = 0.7;
	};
	class P
	{
		font = FontHTML;
		fontBold = FontHTML;
		size = 0.47;
	};
};


// -----------------------------
// Your own classes will be here
// -----------------------------

class RscTitles
{
	
	titles[] = 
	{
		Schedule
	};

	class Schedule
	{
		idd=-1;		// ID ... always -1
		movingEnable = false;	// always false
		duration=5;		// time of the effect (in seconds)
		name = "Schedule";	// name in editor

		// max. three arrays - controls, controlsBackground (optional), objects (optional)
		// for now - we will only use "controls"
		
		controls[]=
		{
			Picture
		};

		class Picture : RscPicture			// For pictures
		{
			x = 0.15; y=0.2; w = 0.7; h = 0.7;
			text = "bus.jpg";			// Your picture in the mission directory
		
		};
		
	};
	class BISLand
	{
		name = "BISArt";
		duration = 8;
		idd = -1;
		movingEnable = false;
		
		controls[]=
		{
			work1,
			name1,
			work2,
			name2
		};
		class work1 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_CREDITS05;
			x = 0.05; y = 0.25; w = 0.95; h = 0.3;
			colorText[] = {0.75, 0.75, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 0.5 * 0.05;
			size = 0.8;
		};
		class name1 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_DN_CREDITSN05;
			x = 0.05; y = 0.30; w = 0.95; h = 0.3;
			colorText[] = {1.0, 1.0, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 1.5 * 0.1;
			size = 1.2;
		};
		
		class work2 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_CREDITS06;
			x = 0.05; y = 0.55; w = 0.95; h = 0.3;
			colorText[] = {0.75, 0.75, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 0.5 * 0.05;
			size = 0.8;
		};
		class name2 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_CREDITSN06;
			x = 0.05; y = 0.60; w = 0.95; h = 0.3;
			colorText[] = {1.0, 1.0, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 1.5 * 0.1;
			size = 1.2;
		};
	};

	class BISMusic
	{
		name = "BISArt";
		duration = 8;
		idd = -1;
		movingEnable = false;
		
		controls[]=
		{
			work1,
			name1,
			work2,
			name2
		};
		class work1 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_CREDITS08;
			x = 0.05; y = 0.25; w = 0.95; h = 0.3;
			colorText[] = {0.75, 0.75, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 0.5 * 0.05;
			size = 0.8;
		};
		class name1 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_DN_CREDITSN07;
			x = 0.05; y = 0.30; w = 0.95; h = 0.3;
			colorText[] = {1.0, 1.0, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 1.5 * 0.1;
			size = 1.2;
		};
		class work2 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_CREDITS09;
			x = 0.05; y = 0.55; w = 0.95; h = 0.3;
			colorText[] = {0.75, 0.75, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 0.5 * 0.05;
			size = 0.8;
		};
		class name2 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_CREDITSN09c;
			x = 0.05; y = 0.60; w = 0.95; h = 0.3;
			colorText[] = {1.0, 1.0, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 1.5 * 0.1;
			size = 1.2;
		};
	};
	
	class BISThanks
	{
		name = "BISThanks";
		duration = 8;
		idd = -1;
		movingEnable = false;
		
		controls[]=
		{
			work1,
			name1
		};
		class work1 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_CREDITS22;
			x = 0.05; y = 0.15; w = 0.95; h = 0.3;
			colorText[] = {0.75, 0.75, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 0.5 * 0.05;
			size = 0.8;
		};
		class name1 : RscText
		{
			style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
			lineSpacing = 1.0;
			text = $STR_DN_CREDITSN08;
			x = 0.05; y = 0.20; w = 0.95; h = 0.6;
			colorText[] = {1.0, 1.0, 1.0, 1};
			font = FontMAINCZ;
			sizeEx = 1.5 * 0.1;
			size = 1.2;
		};
	};
};




class CfgSounds
{
	sounds[] = { };

	class D01v01
	{
		name = "D01v01";
		sound[] = {"D01v01.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_D01v01
		};
	};

	class D01v02
	{
		name = "D01v02";
		sound[] = {"D01v02.ogg", db-15, 1.0};
		titles[] = 
		{
			0, $STRD_D01v02
		};
	};

	class D01v03
	{
		name = "D01v03";
		sound[] = {"D01v03.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_D01v03
		};
	};

	class D01v04
	{
		name = "D01v04";
		sound[] = {"D01v04.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_D01v04
		};
	};

	class D01v05
	{
		name = "D01v05";
		sound[] = {"D01v05.ogg", db+55, 1.0};
		titles[] = 
		{
			0, $STRD_D01v05
		};
	};

	class D01v06
	{
		name = "D01v06";
		sound[] = {"D01v06.ogg", db+55, 1.0};
		titles[] = 
		{
			0, $STRD_D01v06
		};
	};

	class D01v07
	{
		name = "D01v07";
		sound[] = {"D01v07.ogg", db+55, 1.0};
		titles[] = 
		{
			0, $STRD_D01v07
		};
	};

	class D01v08
	{
		name = "D01v08";
		sound[] = {"D01v08.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_D01v08
		};
	};

	class D01v09
	{
		name = "D01v09";
		sound[] = {"D01v09.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_D01v09
		};
	};

	class D01v10
	{
		name = "D01v10";
		sound[] = {"D01v10.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v10
		};
	};

	class D01v11
	{
		name = "D01v11";
		sound[] = {"D01v11.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_D01v11
		};
	};

	class D01v12
	{
		name = "D01v12";
		sound[] = {"D01v12.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v12
		};
	};

	class D01v12a
	{
		name = "D01v12a";
		sound[] = {"D01v12a.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v12a
		};
	};

	class D01v52
	{
		name = "D01v52";
		sound[] = {"D01v52.ogg", db+55, 1.0};
		titles[] = 
		{
			0, $STRD_D01v52
		};
	};
	
	
	class D01v53
	{
		name = "D01v53";
		sound[] = {"D01v53.ogg", db+55, 1.0};
		titles[] = 
		{
			0, $STRD_D01v53
		};
	};
	class D01v54
	{
		name = "D01v54";
		sound[] = {"D01v54.ogg", db+55, 1.0};
		titles[] = 
		{
			0, $STRD_D01v54
		};
	};
	
	class D01v55
	{
		name = "D01v55";
		sound[] = {"D01v55.ogg", db+55, 1.0};
		titles[] = 
		{
			0, $STRD_D01v55
		};
	};
	class D01v13
	{
		name = "D01v13";
		sound[] = {"D01v13.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v13
		};
	};

	class D01v14
	{
		name = "D01v14";
		sound[] = {"D01v14.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v14, 
			15, $STRD_D01v15,
			30, $STRD_D01v16,
			43, $STRD_D01v17,
			56, $STRD_D01v18
		};
	};

	class D01v19
	{
		name = "D01v19";
		sound[] = {"D01v19.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v19
		};
	};
	
	class D01v20
	{
		name = "D01v20";
		sound[] = {"D01v20.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v20
		};
	};

	class D01v21
	{
		name = "D01v21";
		sound[] = {"D01v21.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v21
		};
	};

	class D01v22
	{
		name = "D01v22";
		sound[] = {"D01v22.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v22
		};
	};

	class D01v23
	{
		name = "D01v23";
		sound[] = {"D01v23.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v23
		};
	};

	class D01v24
	{
		name = "D01v24";
		sound[] = {"D01v24.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v24
		};
	};

	class D01v25
	{
		name = "D01v25";
		sound[] = {"D01v25.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v25
		};
	};

	class D01v26
	{
		name = "D01v26";
		sound[] = {"D01v26.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v26
		};
	};

	class D01v27
	{
		name = "D01v27";
		sound[] = {"D01v27.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v27
		};
	};

	class D01v28
	{
		name = "D01v28";
		sound[] = {"D01v28.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v28
		};
	};

	class D01v29
	{
		name = "D01v29";
		sound[] = {"D01v29.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v29
		};
	};

	class D01v30
	{
		name = "D01v30";
		sound[] = {"D01v30.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v30
		};
	};

	class D01v31
	{
		name = "D01v31";
		sound[] = {"D01v31.ogg", db, 1.0};
		titlesfont = "tahomaB24";
		titlessize = 0.025;		
		titles[] = 
		{
			0, $STRD_D01v31
		};
	};

	class D01v32
	{
		name = "D01v32";
		sound[] = {"D01v32.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v32
		};
	};

	class D01v33
	{
		name = "D01v33";
		sound[] = {"D01v33.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v33
		};
	};

	class D01v34
	{
		name = "D01v34";
		sound[] = {"D01v34.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v34
		};
	};

	class D01v35
	{
		name = "D01v35";
		sound[] = {"D01v35.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v35
		};
	};

	class D01v36
	{
		name = "D01v36";
		sound[] = {"D01v36.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v36
		};
	};

	class D01v37
	{
		name = "D01v37";
		sound[] = {"D01v37.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v37
		};
	};

	class D01v38
	{
		name = "D01v38";
		sound[] = {"D01v38.ogg", db+150, 1.0};
		titles[] = 
		{
			0, $STRD_D01v38,
			12, $STRD_D01v39,
			23, $STRD_D01v40,
			42, $STRD_D01v41,
			60, $STRD_D01v42,
			66, $STRD_D01v43
		};
	};

	class D01v44
	{
		name = "D01v44";
		sound[] = {"D01v44.ogg", db, 1.0};
		titlesfont = "tahomaB24";
		titlessize = 0.025;		
		titles[] = 
		{
			0, $STRD_D01v44,
			7, $STRD_D01v44b
		};
	};

	class D01v45
	{
		name = "D01v45";
		sound[] = {"D01v45.ogg", db, 1.0};
		titlesfont = "tahomaB24";
		titlessize = 0.025;
		titles[] = 
		{
			0, $STRD_D01v45
		};
	};

	class D01v46
	{
		name = "D01v46";
		sound[] = {"D01v46.ogg", db, 1.0};
		titles[] = 
		{
			0, $STRD_D01v46
		};
	};

	class D01v47
	{
		name = "D01v47";
		sound[] = {"D01v47.ogg", db+100, 1.0};
		titles[] = 
		{
			0, $STRD_D01v47,
			3, $STRD_D01v48,
			15, $STRD_D01v49,
			22, $STRD_D01v50
		};
	};


	class M01v01
	{
		name = "M01v01";
		sound[] = {"M01v01.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v01
		};
	};
	class M01v02
	{
		name = "M01v02";
		sound[] = {"M01v02.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v02
		};
	};
	class M01v03
	{
		name = "M01v03";
		sound[] = {"M01v03.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v03
		};
	};
	class M01v04
	{
		name = "M01v04";
		sound[] = {"M01v04.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v04
		};
	};
	class M01v05
	{
		name = "M01v05";
		sound[] = {"M01v05.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v05
		};
	};
	class M01v06
	{
		name = "M01v06";
		sound[] = {"M01v06.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v06
		};
	};
	class M01v07
	{
		name = "M01v07";
		sound[] = {"M01v07.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v07
		};
	};

	class M01v10
	{
		name = "M01v10";
		sound[] = {"M01v10.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v10
		};
	};
	class M01v11
	{
		name = "M01v11";
		sound[] = {"M01v11.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v11
		};
	};
	class M01v12
	{
		name = "M01v12";
		sound[] = {"M01v12.ogg", db-05, 1.0};
		titles[] = 
		{
			0, $STRD_M01v12
		};
	};
	
	class M01x01
	{
		name = "M01x01";
		sound[] = {"moonlight.ogg", db-05, 1.0};
		titles[] = 
		{
			0, "Moonlight"
		};
	};
	class M01x02
	{
		name = "M01x02";
		sound[] = {"chorus.ogg", db-20, 1.0};
		titles[] = { };
	};
	

};

class CfgRadio
{
	sounds[] = { };

	class D01r01
	{
		name = "D01r01";
		sound[] = {"D01r01.ogg", db-05, 1.0};
		title = $STRD_D01r01;
	};
};
class CfgSFX
{
	sounds[] =
		{
			 bumbac, tutu, dvere
		};

	 class bumbac
	 {
		  sounds[]={sound1};
		  name = "bumbac";
		  
		  sound1[]={"bum2.ogg", db-05,1, 1, 0, 0, 0};
		  empty[]= {, , , , , , ,};
	 };


	 class tutu
	 {
		  sounds[]={sound1};
		  name = "tutu";
		  
		  sound1[]={"tutu.ogg", db-10,1, 1, 0, 0, 0};
		  empty[]= {, , , , , , ,};
	 };	 



	 class dvere
	 {
		  sounds[]={sound1};
		  name = "dvere";
		  
		  sound1[]={"dvere.ogg", db-05,1, 1, 0, 0, 0};
		  empty[]= {, , , , , , ,};
	 };
	 
};
class CfgEnvSounds
{
	sounds[] = 
		{
				music

		};


	class music
	{
		name = "music";
		sound[] = {"music.ogg", db+10, 1.0};
		soundNight[]={"music.ogg", db+10, 1.0};
		titles[] = {};
	};

	
};