// ======================
// BATTLEZONE PATH EDITOR
// ======================

//
// CREATE THE PATH EDITOR WINDOW
//
CreateControl("EditPath", "WINDOW")
{
	Pos(2, 10);
	Size(105, 225);
	BevelSize(2);
	ColorGroup("BACKGROUND");

		CreateControl("BoxTitle", "STATIC")
			{
			ColorGroup("TVBACK1");
			Geometry("LEFT", "BOTTOM");
			Pos(0, 27);
			Size(105, 23);
			BevelSize(4);
			Font("LARGE");
			JustifyText("HCENTRE");
			Text("Path");
			}


	CreateControl("ScriptTitle", "STATIC")
	{
		Pos(5, 5);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Script DLL");
		Style("TRANSPARENT");
	}

	CreateControl("Script", "EDIT")
	{
		Pos(8, 25);
		Size(89, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("script.setdll");
	}

	OnEvent("Control::Activate")
	{
		Cmd("editor.mode.path");
	}

	CreateControl("FE strat", "BUTTON")
		{
		Pos(8, 45);
		Size(89, 9);
		BorderSize(2);
		BevelSize(2);
		Font("TINY");
		Text("FE Strat");
		Style("ROLLOVER", "OUTLINE");
		NotifyParent("Button::Press", "festrat");
		}
	OnEvent("festrat")
		{
		Cmd("script.setdll fe_st_01.dll");
		}



	CreateControl("FE DM1", "BUTTON")
		{
		Pos(8, 65);
		Size(89, 9);
		BorderSize(2);
		BevelSize(2);
		Font("TINY");
		Text("FE DM 1");
		Style("ROLLOVER", "OUTLINE");
		NotifyParent("Button::Press", "fedm1");
		}
	OnEvent("fedm1")
		{
		Cmd("script.setdll fe_dm_01.dll");
		}


	CreateControl("FE DM2", "BUTTON")
		{
		Pos(8, 85);
		Size(89, 9);
		BorderSize(2);
		BevelSize(2);
		Font("TINY");
		Text("FE DM 2");
		Style("ROLLOVER", "OUTLINE");
		NotifyParent("Button::Press", "fedm2");
		}
	OnEvent("fedm2")
		{
		Cmd("script.setdll fe_dm_02.dll");
		}

	CreateControl("FE MPI", "BUTTON")
		{
		Pos(8, 105);
		Size(89, 9);
		BorderSize(2);
		BevelSize(2);
		Font("TINY");
		Text("FE MPI");
		Style("ROLLOVER", "OUTLINE");
		NotifyParent("Button::Press", "fempi");
		}
	OnEvent("fempi")
		{
		Cmd("script.setdll fe_mpi_01.dll");
		}


	CreateControl("1.2Strat", "BUTTON")
		{
		Pos(8, 125);
		Size(89, 9);
		BorderSize(2);
		BevelSize(2);
		Font("TINY");
		Text("1.2 Strategy");
		Style("ROLLOVER", "OUTLINE");
		NotifyParent("Button::Press", "1.2Strat");
		}
	OnEvent("1.2Strat")
		{
		Cmd("script.setdll strategy02.dll");
		}

	CreateControl("1.2DM", "BUTTON")
		{
		Pos(8, 145);
		Size(89, 9);
		BorderSize(2);
		BevelSize(2);
		Font("TINY");
		Text("1.2 DM");
		Style("ROLLOVER", "OUTLINE");
		NotifyParent("Button::Press", "1.2DM");
		}
	OnEvent("1.2DM")
		{
		Cmd("script.setdll deathmatch01.dll");
		}

	CreateControl("3Way", "BUTTON")
		{
		Pos(8, 165);
		Size(89, 9);
		BorderSize(2);
		BevelSize(2);
		Font("TINY");
		Text("FE threeway");
		Style("ROLLOVER", "OUTLINE");
		NotifyParent("Button::Press", "3Way");
		}
	OnEvent("3Way")
		{
		Cmd("script.setdll threeway.dll");
		}
	CreateControl("Instant", "BUTTON")
		{
		Pos(8, 185);
		Size(89, 9);
		BorderSize(2);
		BevelSize(2);
		Font("TINY");
		Text("Instant");
		Style("ROLLOVER", "OUTLINE");
		NotifyParent("Button::Press", "Instant");
		}
	OnEvent("Instant")
		{
		Cmd("script.setdll instant.dll");
		}
	CreateControl("MPInstant", "BUTTON")
		{
		Pos(8, 205);
		Size(89, 9);
		BorderSize(2);
		BevelSize(2);
		Font("TINY");
		Text("MPInstant");
		Style("ROLLOVER", "OUTLINE");
		NotifyParent("Button::Press", "MPInstant");
		}
	OnEvent("MPInstant")
		{
		Cmd("script.setdll mpinstant.dll");
		}

}
