скрипт содержит все базовые элементы GUI

<<
@guihost
{
	@activeelement
	{
		#string name "active";
	}

	@bitmapelement
	{
		#string name "bitmap";
	}
	
	@imageelement
	{
		#string name "image";
	}

	@textelement
	{
		#string name "text";
		#string text_key "undef";
	}

	@spriteelement
	{
		#string name "sprite";
	}

	@bitbtn
	{
		#string name "button";
		#point size 64, 32;
		
		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "bitbtn.tga";
		}
	}

	@bitbtn
	{
		#string name "buttonex_left";
		#point size 64, 64;
		
		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "arrow_left.tga";
		}
	}

	@bitbtn
	{
		#string name "buttonex_back";
		#point size 64, 64;
		
		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "button_back.tga";
		}
	}

	@bitbtn
	{
		#string name "buttonex_camera";
		#point size 64, 64;
		
		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "button_camera.tga";
		}
	}

	@bitbtn
	{
		#string name "buttonex_right";
		#point size 64, 64;
		
		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "arrow_right.tga";
		}
	}

	@bitbtn
	{
		#string name "button_left";
		#point size 32, 64;
		
		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "levelmenu_left.tga";
		}
	}
	
	@bitbtn
	{
		#string name "button_right";
		#point size 32, 64;
		
		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "levelmenu_right.tga";
		}
	}

	@bitbtn
	{
		#string name "button_skip_right";
		#point size 64, 32;
		
		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "skip_right.tga";
		}
	}
	@bitbtn
	{
		#string name "skip_dialogue_button";
		#point size 32, 32;
		#point pos 0, 0;
		#bool alive false;
		#bool visible false;
		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "skip_dialogue_button.tga";
		}
	}			

	@bitbtn
	{
		#string name "speed_button";
		#point pos 0, 0;
		#point size 58, 58;
		
		@active
		{
		   #string name "main_layer";
		   #point pos 0, 0;
		   #point size 100, 100;
		   #string align "scalex scaley";
		   #string texture_name "item_shop_menu.tga";
		}
		
		@bitmap
		{
			#string name "background";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#bool visible false;
		}

		@bitmap
		{
			#string name "image";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
		}
		@text
		{
			#string name "price";
			#point pos 0, -17;
			#string text_key "150";
		}
	}

	@bitbtn
	{
		#string name "text_button";
		#point pos 0, 0;
		#point size 192, 48;

		@active
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "menu_item_blue.tga";
		}
		@text
		{
			#string name "label";
			#point pos 0, 0;
			#point size 100, 32;
			#float font_size 20;
			#bool autosize true;
			#string text_key "null";
		}
	}

	@bitbtn
	{
		#string name "text_button_ex";
		#point pos 0, 0;
		#point size 192, 32;

		@bitmap
		{
			#string name "main_layer";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "upmenu_center.tga";
		}
		@bitmap
		{
			#string name "left";
			#point pos -32, 0;
			#point size 32, 100;
			#string align "left scaley";
			#string texture_name "upmenu_left.tga";
		}
		@bitmap
		{
			#string name "right";
			#point pos -32, 0;
			#point size 32, 100;
			#string align "right scaley";
			#string texture_name "upmenu_right.tga";
		}
		@text
		{
			#string name "label";
			#point pos 0, 8;
			#point size 100, 32;
			#float font_size 12;
			#bool autosize true;
			#string text_key "null";
		}
	}

	@form
	{
		//невидимая форма, по сути контейнер
		#string name "virtual_window";
	}
	
	@form
	{
		#string name "layer_window";

		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "center_gui.tga";
		}
	}

	@form
	{
		#string name "popup_window";

		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 1024, 78;
			#rect texcoord 0, 0.39, 1, 1;
			#string texture_name "downbar.tga";
		}
	}

	@form
	{
		#string name "simple_window";
			
		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "center_gui.tga";
		}
		@bitmap
		{
			#string name "right_up";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "right top";
			#string texture_name "right_up_gui.tga";
		}
		@bitmap
		{
			#string name "left_up";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "left top";
			#string texture_name "left_up_gui.tga";
		}
		@bitmap
		{
			#string name "right_down";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "right bottom";
			#string texture_name "right_down_gui.tga";
		}
		@bitmap
		{
			#string name "left_down";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "left bottom";
			#string texture_name "left_down_gui.tga";
		}
		@bitmap
		{
			#string name "left";
			#point pos -16, 0;
			#point size 16, 100;
			#string align "left scaley";
			#string texture_name "left_gui.tga";
		}
		@bitmap
		{
			#string name "right";
			#point pos -16, 0;
			#point size 16, 100;
			#string align "right scaley";
			#string texture_name "right_gui.tga";
		}
		@bitmap
		{
			#string name "top";
			#point pos 0, -16;
			#point size 100, 16;
			#string align "top scalex";
			#string texture_name "up_gui.tga";
		}
		@bitmap
		{
			#string name "bottom";
			#point pos 0, -16;
			#point size 100, 16;
			#string align "bottom scalex";
			#string texture_name "down_gui.tga";
		}
	}
	
	@imageshow
	{
		#string name "simple_slide_show";
		#point pos 0, 0;
		#point size 256, 256;
		#float delay_time 3000;
		#float app_time 1000;
		#float disapp_time 1000;
	}
	
	@checkbox
	{
		#string name "simple_checkbox";
		#point pos 0, 0;
		#point size 64, 64;
		#bool checked false;
		#bool editable false;
		@bitmap
		{
			#string name "bitmap_checked";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "check_on.tga";				
			#bool visible false;
		}
		@bitmap
		{
			#string name "bitmap_unchecked";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "check_off.tga";
		}
	}
	
	@textbox
	{
		#string name "simple_textbox";
		#point pos 0, 0;
		#point size 64, 64;
		#float font_size 12;
		#string text_align "fill";
		#string text_key "undef";
	}
	
	@taskdisplay
	{
		#string name "task_display";
		#point pos 0, 0;
		#point size 700, 32;


		@text
		{
			#string name "task_text";
			#string text_align "right";
			#point pos 2.5, 0;
			#point size 32, 32;			
			#string align "undockx left top"
			#float font_size 16;
			#rect color 255, 255, 0, 255;
		}
		@bitmap
		{
			#string name "check";
			#string align "top left";
			#point size 32, 32;
			#point pos 0, 0;
			#bool visible false;
			#string texture_name "flag.tga";
		}
		@simple_textbox
		{
			#string name "task_details";
			#float font_size 12;
			#point pos 0, 30;
			#point size 97, 0;
			#string text_align "right";
			#string align "scalex top";
		}
	}
	
	@taskbox
	{
		#string name "simple_taskbox";
		#point pos 0, 0;
		#point size 700, 32;
	}

	@messagebox
	{
		#string name "simple_messagebox";
		#point pos 0, 0;
		#point size 320, 128;
		
		@simple_window
		{
			#string name "message_form";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";	
			
			@simple_textbox
			{
				#string name "message_text";
				#float font_size 12;
				#point size 95, 0;
				#point pos 0, 5;
				#string align "scalex top";
				#string text_align "fill";
			}

			@button
			{
				#string name "message_button1";
				#point pos -50,5;
				#string align "bottom";
				#point size 96, 48;
				@text
				{
					#string name "message_text";
					#string text_key "yes";
					#string text_align "center";
					#point pos 0,0;
					#point size 96, 48;
				}
			}
			@button
			{
				#string name "message_button2";
				#point pos 50,5;
				#string align "bottom";
				#point size 96, 48;				
				@text
				{
					#string name "message_text";
					#string text_key "no";
					#string text_align "center";
					#point pos 0,0;
					#point size 96, 48;
				}
			}
			@button
			{
				#string name "message_button3";
				#point pos 0,5;
				#string align "bottom";
				#point size 96, 48;
				@text
				{
					#string name "message_text";
					#string text_key "ok";
					#string text_align "center";
					#point pos 0,0;
					#point size 96, 48;
				}
			}
		}		
	}

	@notification
	{	
		#string name "simple_notification";
		#point pos 0, 0;
		#point size 256, 192;
				
		#float showtime 5000;
		#float show_speed 500;
		#float fade_speed 500;
			
		
		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "center_gui.tga";
		}
		@bitmap
		{
			#string name "right_up";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "right top";
			#string texture_name "right_up_gui.tga";
		}
		@bitmap
		{
			#string name "left_up";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "left top";
			#string texture_name "left_up_gui.tga";
		}
		@bitmap
		{
			#string name "right_down";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "right bottom";
			#string texture_name "right_down_gui.tga";
		}
		@bitmap
		{
			#string name "left_down";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "left bottom";
			#string texture_name "left_down_gui.tga";
		}
		@bitmap
		{
			#string name "left";
			#point pos -8, 0;
			#point size 8, 100;
			#string align "left scaley";
			#string texture_name "left_gui.tga";
		}
		@bitmap
		{
			#string name "right";
			#point pos -8, 0;
			#point size 8, 100;
			#string align "right scaley";
			#string texture_name "right_gui.tga";
		}
		@bitmap
		{
			#string name "top";
			#point pos 0, -8;
			#point size 100, 8;
			#string align "top scalex";
			#string texture_name "up_gui.tga";
		}
		@bitmap
		{
			#string name "bottom";
			#point pos 0, -8;
			#point size 100, 8;
			#string align "bottom scalex";
			#string texture_name "down_gui.tga";
		}					
		@simple_textbox
		{
			#string name "notification_text";
			#point pos 0, 0;
			#point size 100, 0;
			#float font_size 10;
			#string text_align "fill";
			#string align "scalex";			
		}
	}
	
	@notification
	{	
		#string name "shop_notification";
		#point pos 0, 0;
		#point size 256, 192;
				
		#float showtime 5000;
		#float show_speed 500;
		#float fade_speed 500;
			
		
		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "center_gui.tga";
		}
		@bitmap
		{
			#string name "right_up";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "right top";
			#string texture_name "right_up_gui.tga";
		}
		@bitmap
		{
			#string name "left_up";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "left top";
			#string texture_name "left_up_gui.tga";
		}
		@bitmap
		{
			#string name "right_down";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "right bottom";
			#string texture_name "right_down_gui.tga";
		}
		@bitmap
		{
			#string name "left_down";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "left bottom";
			#string texture_name "left_down_gui.tga";
		}
		@bitmap
		{
			#string name "left";
			#point pos -8, 0;
			#point size 8, 100;
			#string align "left scaley";
			#string texture_name "left_gui.tga";
		}
		@bitmap
		{
			#string name "right";
			#point pos -8, 0;
			#point size 8, 100;
			#string align "right scaley";
			#string texture_name "right_gui.tga";
		}
		@bitmap
		{
			#string name "top";
			#point pos 0, -8;
			#point size 100, 8;
			#string align "top scalex";
			#string texture_name "up_gui.tga";
		}
		@bitmap
		{
			#string name "bottom";
			#point pos 0, -8;
			#point size 100, 8;
			#string align "bottom scalex";
			#string texture_name "down_gui.tga";
		}
		@bitmap
		{
			#string name "bottom_arrow";
			#point pos 0, -8;
			#point size 8, 8;
			#string align "bottom";
			#string texture_name "down_gui_arrow.tga";
		}
		@simple_textbox
		{
			#string name "notification_text";
			#point pos 0, 0;
			#point size 100, 0;
			#float font_size 10;
			#string text_align "fill";
			#string align "scalex";			
		}
	}
	
	@notification_holder
	{
		#string name "notify_holder";
		#point pos 0, 23;
		#point size 986, 608;
		#string start "left";
		#string direction "up";
		#float horizontal_margin 8;
		#float vertical_margin 8;
		#float notification_width 192;
	}
	
	@dataholder
	{
		#string name "dataholder";
	}
	
	@levelstatuschecker
	{
		#string name "levelstatuschecker";
	}
	
	@hint
	{	
		#string name "simple_hint";
		#point pos 0, 0;
		#point size 256, 192;
				
		#float hint_delay 250;
		#float show_speed 250;
		#float fade_speed 250;
			
		
		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "center_gui.tga";
		}
		@bitmap
		{
			#string name "right_up";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "right top";
			#string texture_name "right_up_gui.tga";
		}
		@bitmap
		{
			#string name "left_up";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "left top";
			#string texture_name "left_up_gui.tga";
		}
		@bitmap
		{
			#string name "right_down";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "right bottom";
			#string texture_name "right_down_gui.tga";
		}
		@bitmap
		{
			#string name "left_down";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "left bottom";
			#string texture_name "left_down_gui.tga";
		}
		@bitmap
		{
			#string name "left";
			#point pos -8, 0;
			#point size 8, 100;
			#string align "left scaley";
			#string texture_name "left_gui.tga";
		}
		@bitmap
		{
			#string name "right";
			#point pos -8, 0;
			#point size 8, 100;
			#string align "right scaley";
			#string texture_name "right_gui.tga";
		}
		@bitmap
		{
			#string name "top";
			#point pos 0, -8;
			#point size 100, 8;
			#string align "top scalex";
			#string texture_name "up_gui.tga";
		}
		@bitmap
		{
			#string name "bottom";
			#point pos 0, -8;
			#point size 100, 8;
			#string align "bottom scalex";
			#string texture_name "down_gui.tga";
		}					
		@simple_textbox
		{
			#string name "hint_text";
			#point pos 0, 0;
			#point size 100, 0;
			#float font_size 10;
			#string text_align "center";
			#string text_key "hint";
			#string align "scalex";			
		}
	}

	@hint
	{	
		#string name "transparent_hint";
		#point pos 0, 0;
		#point size 256, 192;
				
		#float hint_delay 250;
		#float show_speed 250;
		#float fade_speed 250;
			
		
		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "center_gui_t.tga";
		}
		@bitmap
		{
			#string name "right_up";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "right top";
			#string texture_name "right_up_gui_t.tga";
		}
		@bitmap
		{
			#string name "left_up";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "left top";
			#string texture_name "left_up_gui_t.tga";
		}
		@bitmap
		{
			#string name "right_down";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "right bottom";
			#string texture_name "right_down_gui_t.tga";
		}
		@bitmap
		{
			#string name "left_down";
			#point pos -8, -8;
			#point size 8, 8;
			#string align "left bottom";
			#string texture_name "left_down_gui_t.tga";
		}
		@bitmap
		{
			#string name "left";
			#point pos -8, 0;
			#point size 8, 100;
			#string align "left scaley";
			#string texture_name "left_gui_t.tga";
		}
		@bitmap
		{
			#string name "right";
			#point pos -8, 0;
			#point size 8, 100;
			#string align "right scaley";
			#string texture_name "right_gui_t.tga";
		}
		@bitmap
		{
			#string name "top";
			#point pos 0, -8;
			#point size 100, 8;
			#string align "top scalex";
			#string texture_name "up_gui_t.tga";
		}
		@bitmap
		{
			#string name "bottom";
			#point pos 0, -8;
			#point size 100, 8;
			#string align "bottom scalex";
			#string texture_name "down_gui_t.tga";
		}					
		@simple_textbox
		{
			#string name "hint_text";
			#point pos 0, 0;
			#point size 100, 0;
			#float font_size 10;
			#string text_align "center";
			#string text_key "hint";
			#string align "scalex";			
		}
	}

	

	@checkbox
	{
		#string name "tab_button";
		#point pos 0, 0;
		#point size 128, 32;
		#bool checked false;
		#bool editable true;
		@bitmap
		{
			#string name "bitmap_checked";
			#point pos 0, -13;
			#point size 100, 64;
			#string align "scalex";
			#string texture_name "tab_act_center.tga";				
			#bool visible false;
			@bitmap
			{
				#string name "left";
				#point pos -16, 0;
				#point size 16, 64;
				#string align "left";
				#string texture_name "tab_act_left.tga";
			}					
			@bitmap
			{
				#string name "right";
				#point pos -16, 0;
				#point size 16, 64;
				#string align "right";
				#string texture_name "tab_act_right.tga";
			}					
		}
		@bitmap
		{
			#string name "bitmap_unchecked";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "tab_pas_center.tga";
			@bitmap
			{
				#string name "left";
				#point pos -16, 0;
				#point size 16, 32;
				#string align "left";
				#string texture_name "tab_pas_left.tga";
			}					
			@bitmap
			{
				#string name "right";
				#point pos -16, 0;
				#point size 16, 32;
				#string align "right";
				#string texture_name "tab_pas_right.tga";
			}					
		}
		@text
		{
			#string name "caption";
			#point pos 0, -4;
			#point size 100, 32;
			#float font_size 12;
			#bool autosize true;
			#string text_key "null";
		}
	}
	
	@particlelist
	{
		#string name "particle_list";
	}
	
	@balloon
	{	
		#string name "simple_balloon";
		#point pos 0, 0;
		#point size 256, 192;
		#bool visible false;
		
		#string text_key "unknown";
				
		#float showtime 10000;
		#float show_speed 500;
		#float fade_speed 500;			
		
		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "center_balloon.tga";
		}
		
		@bitmap
		{
			#string name "left";
			#point pos -16, 0;
			#point size 16, 100;
			#string align "left scaley";
			#string texture_name "left_balloon.tga";
		}
		@bitmap
		{
			#string name "right";
			#point pos -16, 0;
			#point size 16, 100;
			#string align "right scaley";
			#string texture_name "right_balloon.tga";
		}
		@bitmap
		{
			#string name "top";
			#point pos 0, -16;
			#point size 100, 16;
			#string align "top scalex";
			#string texture_name "up_balloon.tga";
		}
		@bitmap
		{
			#string name "bottom";
			#point pos 0, -16;
			#point size 100, 16;
			#string align "bottom scalex";
			#string texture_name "down_balloon.tga";
		}
		
		@bitmap
		{
			#string name "right_up";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "right top";
			#string texture_name "right_up_balloon.tga";
		}	
		
		
		@bitmap
		{
			#string name "left_up";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "left top";
			#string texture_name "left_up_balloon.tga";
		}
		
		@bitmap
		{
			#string name "right_down";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "right bottom";
			#string texture_name "right_down_balloon.tga";
		}
		
		@bitmap
		{
			#string name "left_down";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "left bottom";
			#string texture_name "left_down_balloon.tga";
		}
		
		@bitmap
		{
			#string name "left_up_arrow";
			#point pos -24, -24;
			#point size 32, 32;
			#string align "left top";
			#string texture_name "left_up_arrow_balloon.tga";
			#bool visible false;
		}
		
		@bitmap
		{
			#string name "right_down_arrow";
			#point pos -24, -24;
			#point size 32, 32;
			#string align "right bottom";
			#string texture_name "right_down_arrow_balloon.tga";
			#bool visible false;
		}
		
		@bitmap
		{
			#string name "left_down_arrow";
			#point pos -24, -24;
			#point size 32, 32;
			#string align "left bottom";
			#string texture_name "left_down_arrow_balloon.tga";
			#bool visible false;
		}
		
		@bitmap
		{
			#string name "right_up_arrow";
			#point pos -24, -24;
			#point size 32, 32;
			#string align "right top";
			#string texture_name "right_up_arrow_balloon.tga";			
			#bool visible false;
		}
		
							
		@simple_textbox
		{
			#string name "notification_text";
			#point pos 0, 0;
			#point size 100, 0;
			#float font_size 12;
			#string text_align "fill";
			#string align "scalex";			
		}
	}
	
	@comicframe
	{
		#string name "simple_comicframe";
		#point size 0, 0
		#rect texcoord 0, 0, 1, 1;
		#point start_point 0, 0;
		#point end_point 0, 0;
		#float start_angle 45;
		#float start_size 1.5;
		#float start_alpha 0.7;
		#float time_show 500;
	}
	
	@comicspage
	{
		#string name "simple_comicspage";
		#point size 1024, 768;
		#point pos 0, 0;
	}
	@gamecomics
	{
		#string name "comics";
		#point size 1024, 768;
		#point pos 0, 0;
	}
	
	@editbox
	{
		#string name "simple_editbox";
		#point size 2048, 1536; //дохуя много - чтобы перехватывало все клики, где бы на экране не находилось
		#point pos 0, 0;
		#float font_size 12;
		#int max_len 16;
		@bitmap
		{
			#string name "inputbox";
			#point pos 0, 0;
			#point size 300, 30;			
		}
	}
	
	@slider
	{
		#string name "simple_slider";
		#point pos 0, 0;
		#point size 256, 32;
		#string backtexture "slider_back.tga";
		#string knobtexture "slider_knob.tga";
	}
	
	@cursor
	{
		#string name "cursor";
	}

	@credits
	{
		#string name "simple_credits";
		#float font_size 12;
		#float scroll_speed 20;
		#float margin 10;		
	}
	
	@dialogue_frame
	{
		#string name "simple_dialogue_frame";
		#point pos 0, 0;
		#point size 1024, 128;
				
		#bool visible false;
		
		#bool left_head false;
		#bool right_head false;
		#bool left_arrow false;
		#bool right_arrow false;
		
		#float slide_distance 144;
		#float slide_time 300;
		
		#fload fade_speed 100;
		
		
		@bitmap
		{
			#string name "left_head";
			#point pos -432, 0;
			#point size 128, 128;			
			#string texture_name "center_balloon.tga";
			
		}
		@bitmap
		{
			#string name "right_head";			
			#rect texcoord 1, 0, 0, 1;
			#point pos 432, 0;
			#point size 128, 128;			
			#string texture_name "center_balloon.tga";
		}
						
		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 640, 128;			
			#rect texcoord 0, 0, 0.625, 1;
			#string texture_name "dialogue_balloon.tga";
			
		}
		
		@bitmap
		{
			#string name "left_arrow";
			#point pos -334, 0;
			#point size 32, 32;			
			#string texture_name "dialogue_tail.tga";
		}
		
		@bitmap
		{
			#string name "right_arrow";
			#rect texcoord 1, 0, 0, 1;
			#point pos 334, 0;
			#point size 32, 32;			
			#string texture_name "dialogue_tail.tga";
		}
		
		@simple_textbox
		{
			#string name "message_text";
			#point pos 0, 0;
			#point size 630, 118;
			#float font_size 14;
			#string text_align "center";
			#string text_key "null";			
		}
		@skip_dialogue_button
		{
			#string name "skip_dialogue";
			#point pos 480, 48;			
		}			
	}
	
	@dialogue
	{
		#string name "simple_dialogue";
		#point pos 0, 0;
		#point size 1024, 128;		
	}	
	
	@menubutton
	{
		#string name "menu_button";
		#point pos 0, 0;
		#point size 64, 48;
		#string background_name "menu_item_blue.tga";
		#float font_size 16;
		#float margin 16;
		#rect texcoord 0, 0.5, 1, 1;
	}

	@menubutton
	{
		#string name "menu_button_scale";
		#point pos 0, 0;
		#point size 260, 48;
		#string background_name "menu_item_blue.tga";
		#float font_size 16;
		#float margin 16;
		#bool font_scale true;
		#rect texcoord 0, 0.5, 1, 1;
	}
	
	@menulevelbutton
	{
		#string name "level_button";
		#point pos 0, 0;
		#point size 58, 58;
		#bool checked false;
		#bool editable false;
		
		@active
		{
		   #string name "main_layer";
		   #point pos 0, 0;
		   #point size 100, 100;
		   #string align "scalex scaley";
		   #string texture_name "item_shop_menu.tga";
		}		
		@bitmap
		{
			#string name "image";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
		}

		@bitmap
		{
			#string name "lock";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "level_lock.tga";
		}

		@text
		{
			#string name "number";
			#point pos -24, -15;
			#string text_align "right";
			#float font_size 12;
			#string text_key "11";
		}
		
		@bitmap
		{
			#string name "star";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "level_star.tga";
		}
		
		@bitmap
		{
			#string name "bitmap_checked";
			#point pos 0, 0;
			#point size 105, 105;
			#string align "scalex scaley";
			#string texture_name "level_selector.tga";
			#bool visible false;
		}
	}
	
	@menushopbutton
	{
		#string name "shop_button";
		#point pos 0, 0;
		#point size 58, 58;
		
		@active
		{
		   #string name "main_layer";
		   #point pos 0, 0;
		   #point size 100, 100;
		   #string align "scalex scaley";
		   #string texture_name "item_shop_menu.tga";
		}		
		@bitmap
		{
			#string name "image";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
		}
		
		@bitmap
		{
			#string name "new";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "new_shop_item.tga";
		}
		@text
		{
			#string name "price";
			#point pos 0, -17;
			#string text_key "150";
		}
		@simple_hint
		{
			#point pos 0, 80;
			#string name "shop_hint";
			#float hint_delay 250;
			#float show_speed 250;
			#float fade_speed 250;
		}
	}
	
	@menutab
	{
		#string name "menu_tab";
		#point pos 0, 0;
		#point size 128, 32;
		#bool checked false;
		#bool editable false;		
		@bitmap
		{
			#string name "bitmap_checked";
			#point pos 0, -13;
			#point size 100, 64;
			#string align "scalex";
			#string texture_name "tab_act_center.tga";				
			#bool visible false;
			@bitmap
			{
				#string name "left";
				#point pos -16, 0;
				#point size 16, 64;
				#string align "left";
				#string texture_name "tab_act_left.tga";
			}					
			@bitmap
			{
				#string name "right";
				#point pos -16, 0;
				#point size 16, 64;
				#string align "right";
				#string texture_name "tab_act_right.tga";
			}					
		}
		@bitmap
		{
			#string name "bitmap_unchecked";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "tab_pas_center.tga";

			@bitmap
			{
				#string name "left";
				#point pos -16, 0;
				#point size 16, 32;
				#string align "left";
				#string texture_name "tab_pas_left.tga";
			}					
			@bitmap
			{
				#string name "right";
				#point pos -16, 0;
				#point size 16, 32;
				#string align "right";
				#string texture_name "tab_pas_right.tga";
			}					
		}
		@text
		{
			#string name "caption";
			#point pos 0, -4;
			#point size 100, 32;
			#float font_size 12;
			#bool autosize true;			
			#string text_key "null";
		}
	}
	
	@toolbar
	{
		#string name "menu_toolbar";
		#point pos 0, 0;
		#point size 64, 64;
		
		#string type_items "MenuButton";
		#string name_items "menu_button"
		#bool vertical true;
		#bool flippable false;
		#float margin 16;
		#float indent 6;
		#float scroll_margin 16; 
		#bool center_items true;
		#string select_sfx_name "selectmenu.ogg";
		#string click_sfx_name "clickmenu.ogg";
		#float sfx_delay 100;
				
		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "center_gui.tga";
		}
		@bitmap
		{
			#string name "right_up";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "right top";
			#string texture_name "right_up_gui.tga";
		}
		@bitmap
		{
			#string name "left_up";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "left top";
			#string texture_name "left_up_gui.tga";
		}
		@bitmap
		{
			#string name "right_down";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "right bottom";
			#string texture_name "right_down_gui.tga";
		}
		@bitmap
		{
			#string name "left_down";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "left bottom";
			#string texture_name "left_down_gui.tga";
		}
		@bitmap
		{
			#string name "left";
			#point pos -16, 0;
			#point size 16, 100;
			#string align "left scaley";
			#string texture_name "left_gui.tga";
		}
		@bitmap
		{
			#string name "right";
			#point pos -16, 0;
			#point size 16, 100;
			#string align "right scaley";
			#string texture_name "right_gui.tga";
		}
		@bitmap
		{
			#string name "top";
			#point pos 0, -16;
			#point size 100, 16;
			#string align "top scalex";
			#string texture_name "up_gui.tga";
		}
		@bitmap
		{
			#string name "bottom";
			#point pos 0, -16;
			#point size 100, 16;
			#string align "bottom scalex";
			#string texture_name "down_gui.tga";
		}		
	}

	@toolbar
	{
		#string name "shop_toolbar";
		#point pos 0, -352;
		#point size 100, 64;
		#string align "scalex";	
		#string type_items "MenuShopButton";
		#string name_items "shop_button";
		#bool vertical false;
		#bool flippable false;
		#float pitch -3;
		#float margin 3;
		#float indent 4;
		#float scroll_margin 36; 
		#bool center_items true;
		#string select_sfx_name "selectmenu.ogg";
		#string click_sfx_name "clickmenu.ogg";
		#float sfx_delay 100;
		
		@bitmap
		{
			#string name "background";
			#point pos 0, 0;
			#point size 100, 78;
			#string align "scalex";	
			#rect texcoord 0, 0.39, 1, 1;
			#string texture_name "downbar.tga";
		}
		
		@button_left
		{
			#string name "back_scroll";
			#point pos 0, 0;
			#string align "left";	
			#bool visible false;		
		}
		
		@button_right
		{
			#string name "forward_scroll";
			#point pos 0, 0;
			#string align "right";	
			#bool visible false;		
		}		
	}
	
	@toolbar
	{
		#string name "shop_header";
		#point pos 0, -304;		
		#point size 100, 32;
		#string align "scalex";	
		#bool autosize true;

		#string type_items "MenuTab";
		#string name_items "menu_tab";
		#bool vertical false;
		#bool flippable true;
		
		#float margin 0;
		#float indent 32;
		#float scroll_margin 36; 
		#bool center_items true;
		#string select_sfx_name "selectmenu.ogg";
		#string click_sfx_name "clickmenu.ogg";
		#float sfx_delay 100;
		
		@button_left
		{
			#string name "back_scroll";
			#point pos 0, 0;
			#point size 32, 32;
			#string align "left";			
		}
		
		@button_right
		{
			#string name "forward_scroll";
			#point pos 0, 0;
			#point size 32, 32;
			#string align "right";			
		}		
	}
	
	@toolbar
	{
		#string name "menu_header";
		#point pos 0, -304;
		#point size 1024, 32;

		#string type_items "MenuTab";
		#string name_items "menu_tab";
		#bool vertical false;
		#bool flippable true;
		
		#float margin 0;
		#float indent 32;
		#float scroll_margin 36; 
		#bool center_items true;
		#string select_sfx_name "selectmenu.ogg";
		#string click_sfx_name "clickmenu.ogg";
		#float sfx_delay 100;
		
		@button_left
		{
			#string name "back_scroll";
			#point pos 0, 0;
			#point size 32, 32;
			#string align "left";			
		}
		
		@button_right
		{
			#string name "forward_scroll";
			#point pos 0, 0;
			#point size 32, 32;
			#string align "right";			
		}		
	}
	
	@toolbar
	{
		#string name "levelselector";
		#point pos 0, -256;
		#point size 900, 256;
		#string type_items "MenuLevelButton";
		#string name_items "level_button";
		#bool vertical false;
		#bool flippable true;
		#float pitch -96;
		#float margin 3;
		#float indent 4;
		#float scroll_margin 36; 
		#bool center_items true;
		#string select_sfx_name "selectmenu.ogg";
		#string click_sfx_name "clickmenu.ogg";
		#float sfx_delay 100;
		
		@bitmap
		{
			#string name "background";
			#point pos 0, 0;
			#point size 1024, 256;
			#string texture_name "downbar_levels.tga";
		}
		
		@button_left
		{
			#string name "back_scroll";
			#point pos 0, -102;
			#string align "left";	
			#bool visible false;		
		}
		
		@button_right
		{
			#string name "forward_scroll";
			#point pos 0, -102;
			#string align "right";	
			#bool visible false;		
		}		
	}

	@lightning
	{
		#string name "rainlightning";
		#point pos 0, 0;
		#point size 1536, 1536;
		#color plasma_color 64, 36, 36, 255;
		#color halo_color 255, 255, 255, 255;
		#color light_color 36, 36, 64, 64;
		#float plasma_thickness 18;
		#float halo_thickness 6;
		#float light_thickness 128;
	}

	@rain
	{
		#string name "testrain";
		#point pos 0, 0;
		#point size 1536, 1536;
		#float rain_time_begin 15000;
		#float rain_time_max 30000;
		#float rain_time_end 15000;
		#float rainbow_time 15000;

		@rainlightning
		{
			#string name "lightning";
		}
	}

	@rain
	{
		#string name "heavyrain";
		#point pos 0, 0;
		#point size 1536, 1536;
		#float end_sun_angle 7;
		#float rain_time_begin 15000;
		#float rain_time_max 120000;
		#float rain_time_end 30000;
		#bool rainbow false;

		@rainlightning
		{
			#string name "lightning";
		}
	}

	@rain
	{
		#string name "monsoon_rain";
		#point pos 0, 0;
		#point size 1536, 1536;
		#float rain_time_begin 5000;
		#float rain_time_max 10000;
		#float rain_time_end 5000;
		#float lightning_strength_max 3000;
		#bool rainbow false;

		@rainlightning
		{
			#string name "lightning";
		}
	}

	@rain
	{
		#string name "mushroomrain";
		#point pos 0, 0;
		#point size 1536, 1536;
		#bool lightning false;
		#float rain_strength_max 40;
		#float rain_time_begin 60000;
		#float rain_time_max 4000;
		#float rain_time_end 10000;
		#float rainbow_time 40000;
	}
	
	@arrowhelper
	{
		#string name "arrow_helper";
		#point pos 0, 0;
		#point size 64, 64;
		#bool visible false;
		#bool alive false;
	}

	@endtaskflyer
	{
		#string name "end_task_flyer";
		#bool visible true;
	}
	
	@levelcompleteform
	{
		#string name "level_complete_form";
			
		@bitmap
		{
			#string name "center";
			#point pos 0, 0;
			#point size 100, 100;
			#string align "scalex scaley";
			#string texture_name "center_gui.tga";
		}
		@bitmap
		{
			#string name "right_up";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "right top";
			#string texture_name "right_up_gui.tga";
		}
		@bitmap
		{
			#string name "left_up";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "left top";
			#string texture_name "left_up_gui.tga";
		}
		@bitmap
		{
			#string name "right_down";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "right bottom";
			#string texture_name "right_down_gui.tga";
		}
		@bitmap
		{
			#string name "left_down";
			#point pos -16, -16;
			#point size 16, 16;
			#string align "left bottom";
			#string texture_name "left_down_gui.tga";
		}
		@bitmap
		{
			#string name "left";
			#point pos -16, 0;
			#point size 16, 100;
			#string align "left scaley";
			#string texture_name "left_gui.tga";
		}
		@bitmap
		{
			#string name "right";
			#point pos -16, 0;
			#point size 16, 100;
			#string align "right scaley";
			#string texture_name "right_gui.tga";
		}
		@bitmap
		{
			#string name "top";
			#point pos 0, -16;
			#point size 100, 16;
			#string align "top scalex";
			#string texture_name "up_gui.tga";
		}
		@bitmap
		{
			#string name "bottom";
			#point pos 0, -16;
			#point size 100, 16;
			#string align "bottom scalex";
			#string texture_name "down_gui.tga";
		}
	}

}
>>
