class Compile
{
	clearNewLines = 0;
//	indenting = -1;	//no indenting
	rewriteFile = 0; //append result to the proper place in the file, do not rewrite it
	class Pass_1
	{
		indent_1 = 4;
		iffinal_no = -1;
		class State
		{
			print_1 = "class %(statetext) : MissionDefault\n{\n";
			indent_2 = 0;
			print_2 = "%(stateinit)\n";
			class Links
			{
				iftofinal_yes = 1;	//final state behaves different way
				print_3a = "%(linktext) = ;";
 				iftofinal_no = -1;
				print_3b = "%(totext) = %(totext);\n";
				print_3c = "%(totext)_1 = %(totext);\n";
				print_3d = "%(totext)_2 = %(totext);\n";
				print_3e = "%(totext)_3 = %(totext);\n";
				print_3f = "%(totext)_4 = %(totext);\n";
				print_3g = "%(totext)_5 = %(totext);\n";
				print_3h = "%(totext)_6 = %(totext);\n";
 				iftofinal_both = 0;
			}
			print_3 = "end1 = United_States_H;\n";
			print_4 = "lost = %(statetext);\n";
			print_5 = "lost_1 = %(statetext);\n";
			print_6 = "lost_2 = %(statetext);\n";
			print_7 = "lost_3 = %(statetext);\n";
			print_8 = "lost_4 = %(statetext);\n";
			print_9 = "lost_5 = %(statetext);\n";
			print_10 = "lost_6 = %(statetext);\n";
			print_11 = "template = %(statetext).%(statePrecondition);\n";
			print_12 = "terrain = %(statePrecondition);\n";
			print_13 = "overviewPicture = hsim\\missions_h\\data\\overview_%(statetext)_ca.paa;\n";
			print_14 = "overviewText = $STR_HSIM_OVERVIEW_%(statetext);\n";
			indent_3 = 4;
			print_15 = "};\n";
		}
		iffinal_both = 0;
	}
};

class Decompile
{
	process = 1;	 //0 for not processing Decompile info
	FSMLeft	= "/*";
	FSMRight = "*/";
	class FSMPrefix
	{
		default = "";
	};
	class FSMPrefix2
	{
		default = "";
		head = "*/";
	};
	class FSMSufix
	{
		default = "";
		compile = "\n";
		state = "\n";
		head = "\n/*\n";
		link = "";
	};
	class FSMSufix2
	{
		default = "";
		compile = "";
		state = "\n";
		head = "\n";
		link = "\n";
	};
};
