UIScreenAction ("ENTER", "PlaySound", "ui_sfx/book_on.ogg");
UIScreenAction ("LEAVE", "PlaySound", "ui_sfx/book_off.ogg");

UIComp ("EMITTER", "emitter");
UICompParm ("position", 188, 453);
UICompParm ("emitter.burst", "parts/fog.lua");
UICompParm ("emitter.burst_delay", 1.9, 2.2);
UICompParm ("emitter.angle", -1.9705);
UICompParm ("emitter.initial_burst_delay", -10);

UIComp ("EMITTER", "emitter");
UICompParm ("position", 608, 449);
UICompParm ("emitter.burst", "parts/fog.lua");
UICompParm ("emitter.burst_delay", 1.9, 2.2);
UICompParm ("emitter.angle", -1.1705);
UICompParm ("emitter.initial_burst_delay", -10);

UIComp ("EMITTER", "emitter");
UICompParm ("position", 188, 253);
UICompParm ("emitter.burst", "parts/fog.lua");
UICompParm ("emitter.burst_delay", 1.9, 2.2);
UICompParm ("emitter.angle", -2.0705);
UICompParm ("emitter.initial_burst_delay", -10);

UIComp ("EMITTER", "emitter");
UICompParm ("position", 608, 249);
UICompParm ("emitter.burst", "parts/fog.lua");
UICompParm ("emitter.burst_delay", 1.9, 2.2);
UICompParm ("emitter.angle", -1.0705);
UICompParm ("emitter.initial_burst_delay", -10);

UIComp ("LABEL", "options_panel");
UICompParm ("position", 94, 74);
UICompParm ("label.bm_normal", "ui_gfx/panel_alt.png");

UIComp ("LABEL", "ruler");
UICompParm ("parent", "options_panel");
UICompParm ("position", 189, 55);
UICompParm ("label.bm_normal", "ui_gfx/ruler_hor.png");

UIComp ("LABEL", "ruler");
UICompParm ("parent", "options_panel");
UICompParm ("position", 189, 110);
UICompParm ("label.bm_normal", "ui_gfx/ruler_hor.png");

UIComp ("LABEL", "noname3");
UICompParm ("parent", "options_panel");
UICompParm ("position", 302, 66);
UICompParm ("label.fnt", "ui_gfx/large.mft");
UICompParm ("label.text", "OPTIONS");
UICompParm ("label.align", "CENTER");

UIComp ("SLIDER", "sound_vol");
UICompParm ("parent", "options_panel");
UICompParm ("position", 119, 180);
UICompParm ("slider.padding", 20, 23);

UIComp ("LABEL", "sound_label");
UICompParm ("parent", "options_panel");
UICompParm ("position", 143, 144);
UICompParm ("label.fnt", "ui_gfx/small.mft");
UICompParm ("label.text", "Sound volume");

UIComp ("SLIDER", "music_vol");
UICompParm ("parent", "options_panel");
UICompParm ("position", 325, 180);
UICompParm ("slider.padding", 20, 23);

UIComp ("LABEL", "music_label");
UICompParm ("parent", "options_panel");
UICompParm ("position", 349, 144);
UICompParm ("label.fnt", "ui_gfx/small.mft");
UICompParm ("label.text", "Music volume");

UIComp ("LABEL", "fullscreen_labe");
UICompParm ("parent", "options_panel");
UICompParm ("position", 201, 232);
UICompParm ("label.fnt", "ui_gfx/small.mft");
UICompParm ("label.text", "Fullscreen");

UIComp ("CHECKBOX", "fullscreen");
UICompParm ("parent", "options_panel");
UICompParm ("position", 157, 226);

UIComp ("CHECKBOX", "hide_menu_button");
UICompParm ("parent", "options_panel");
UICompParm ("position", 157, 270);

UIComp ("LABEL", "st");
UICompParm ("parent", "options_panel");
UICompParm ("position", 201, 275);
UICompParm ("label.fnt", "ui_gfx/small.mft");
UICompParm ("label.text", "Show menu button during game");

UIComp ("LABEL", "MenuHelp");
UICompParm ("parent", "options_panel");
UICompParm ("position", 234, 299);
UICompParm ("label.fnt", "ui_gfx/smallb.mft");
UICompParm ("label.text", "(Press ESC to enter menu)");

UIComp ("BUTTON", "ok");
UICompParm ("parent", "options_panel");
UICompParm ("position", 371, 340);
UICompParm ("button.bm_normal", "ui_gfx/button_small_normal.png");
UICompParm ("button.bm_over", "ui_gfx/button_small_normal.png");
UICompParm ("button.bm_pressed", "ui_gfx/button_small_pressed.png");
UICompParm ("button.bm_over_overlay", "ui_gfx/button_small_over.png");
UICompParm ("button.text", "OK");

UIComp ("BUTTON", "credits");
UICompParm ("parent", "options_panel");
UICompParm ("position", 128, 339);
UICompParm ("button.bm_normal", "ui_gfx/button_small_normal.png");
UICompParm ("button.bm_over", "ui_gfx/button_small_normal.png");
UICompParm ("button.bm_pressed", "ui_gfx/button_small_pressed.png");
UICompParm ("button.bm_over_overlay", "ui_gfx/button_small_over.png");
UICompParm ("button.text", "Credits");

UIComp ("LABEL", "desc");
UICompParm ("parent", "options_panel");
UICompParm ("position", 134, 387);
UICompParm ("label.fnt", "ui_gfx/smallb.mft");
UICompParm ("label.text", "version 1.08 [build 0050]");

UIComp ("BUTTON", "Dev");
UICompParm ("parent", "options_panel");
UICompParm ("position", 283, 368);
UICompParm ("visible", 0);
UICompParm ("localizable", 0);
UICompParm ("button.bm_over_overlay", "ui_gfx/button_medium_over.png");
UICompParm ("button.text", "Dev");
UICompAction ("OnClick", "LayerPush", "DevMenu");

