A little more progress on Editor, and some fixes to yesterday's commit (hopefully this won't affect Malte's work).

This was SVN commit r1688.
This commit is contained in:
Acumen 2005-01-09 13:24:02 +00:00
parent bcaf63367b
commit 33051d0421
5 changed files with 139 additions and 682 deletions

View File

@ -16,7 +16,7 @@
<object type="text" name="atlas_gui_bkg" sprite="black" size="0 0 100% 100%" z="1" ghost="true" hidden="false"/>
<!-- LEFT SELECTION PANE: Context panel along the left-hand side of the screen. -->
<object type="empty" name="atlas_left_pane" size="0 0 100% 100%" z="1" hidden="false">
<object type="empty" name="atlas_left_pane" size="0 0 100% 100%" z="1" hidden="true">
<!-- LEFT SELECTION PANE BACKGROUND -->
<object type="text" name="atlas_left_pane_bkg" sprite="atlas_window_rt_border" hidden="false">
@ -25,31 +25,31 @@
]]></action>
</object>
<!-- LEFT SELECTION PANE HEADINGS -->
<object type="text" name="atlas_left_pane_section_heading_1" sprite="atlas_border" style="atlas_heading" text_align="left" hidden="false">Map Creator
<object type="text" name="atlas_left_pane_section_heading_1" sprite="atlas_border" style="atlas_heading" text_align="left" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_heading_1", atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_1], left_screen, top_screen, left_screen, top_screen);
]]></action>
</object>
<object type="text" name="atlas_left_pane_section_heading_2" sprite="atlas_border" style="atlas_sub_heading" hidden="false">Map Type
<object type="text" name="atlas_left_pane_section_heading_2" sprite="atlas_border" style="atlas_sub_heading" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_heading_2", atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_2], left_screen, top_screen, left_screen, top_screen);
]]></action>
</object>
<object type="text" name="atlas_left_pane_section_heading_3" sprite="atlas_border" style="atlas_sub_heading" hidden="false">Map Settings
<object type="text" name="atlas_left_pane_section_heading_3" sprite="atlas_border" style="atlas_sub_heading" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_heading_3", atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3], left_screen, mid_screen, left_screen, mid_screen);
]]></action>
</object>
<!-- CREATE MAP SECTION MENU -->
<object type="empty" name="atlas_left_pane_section_map" size="0 0 100% 100%" z="1" hidden="false">
<!-- MAP CREATOR SECTION MENU -->
<object type="empty" name="atlas_left_pane_section_map" size="0 0 100% 100%" z="1" hidden="true">
<!-- MAP SIZE SETTINGS -->
<object type="input" name="atlas_left_pane_section_map_tile_height_input_box" sprite="atlas_input_box" style="atlas_label_text" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_map_tile_height_input_box", atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_TILE_HEIGHT_INPUT_BOX], left_screen, top_screen, left_screen, top_screen);
]]></action>
</object>
<object type="text" name="atlas_left_pane_section_map_tile_x" style="atlas_label_text" hidden="false">x
<object type="text" name="atlas_left_pane_section_map_tile_x" style="atlas_label_text" hidden="false">X
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_map_tile_x", atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_TILE_X], left_screen, top_screen, left_screen, top_screen);
]]></action>
@ -97,7 +97,7 @@
setSizeArray("atlas_left_pane_section_map_settings_player_label", atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL], left_screen, mid_screen, left_screen, mid_screen);
]]></action>
</object>
<object type="input" name="atlas_left_pane_section_map_settings_player_input_box" hidden="false">
<object type="input" name="atlas_left_pane_section_map_settings_player_input_box" sprite="atlas_input_box" style="atlas_label_text" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_map_settings_player_input_box", atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX], left_screen, mid_screen, left_screen, mid_screen);
]]></action>
@ -117,7 +117,7 @@
setSizeArray("atlas_left_pane_section_map_settings_settlement_label", atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_LABEL], left_screen, mid_screen, left_screen, mid_screen);
]]></action>
</object>
<object type="input" name="atlas_left_pane_section_map_settings_settlement_input_box" hidden="false">
<object type="input" name="atlas_left_pane_section_map_settings_settlement_input_box" sprite="atlas_input_box" style="atlas_label_text" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_map_settings_settlement_input_box", atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX], left_screen, mid_screen, left_screen, mid_screen);
]]></action>
@ -138,7 +138,7 @@
]]></action>
</object>
<!-- NOTE: Needs to be made a drop-down box when this control becomes available (options Low (.5), Normal (0), High (2) ). -->
<object type="input" name="atlas_left_pane_section_map_settings_resources_combo_box" hidden="false">
<object type="input" name="atlas_left_pane_section_map_settings_resources_combo_box" sprite="atlas_input_box" style="atlas_label_text" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_map_settings_resources_combo_box", atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_RESOURCES_COMBO_BOX], left_screen, mid_screen, left_screen, mid_screen);
]]></action>
@ -149,9 +149,9 @@
setSizeArray("atlas_left_pane_section_map_generate_terrain_map_label", atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL], left_screen, bottom_screen, left_screen, bottom_screen);
]]></action>
</object>
<object type="input" name="atlas_left_pane_section_map_generate_terrain_map_input_box" hidden="false">
<object type="input" name="atlas_left_pane_section_map_generate_terrain_map_input_box" sprite="atlas_input_box" style="atlas_label_text" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_generate_terrain_map_input_box", atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX], left_screen, bottom_screen, left_screen, bottom_screen);
setSizeArray("atlas_left_pane_section_map_generate_terrain_map_input_box", atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX], left_screen, bottom_screen, left_screen, bottom_screen);
]]></action>
</object>
<object type="text" name="atlas_left_pane_section_map_generate_height_map_label" style="atlas_label_text" hidden="false">Height Map:
@ -159,17 +159,30 @@
setSizeArray("atlas_left_pane_section_map_generate_height_map_label", atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_HEIGHT_MAP_LABEL], left_screen, bottom_screen, left_screen, bottom_screen);
]]></action>
</object>
<object type="input" name="atlas_left_pane_section_map_generate_height_map_input_box" hidden="false">
<object type="input" name="atlas_left_pane_section_map_generate_height_map_input_box" sprite="atlas_input_box" style="atlas_label_text" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_generate_height_map_input_box", atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_HEIGHT_MAP_INPUT_BOX], left_screen, bottom_screen, left_screen, bottom_screen);
setSizeArray("atlas_left_pane_section_map_generate_height_map_input_box", atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_HEIGHT_MAP_INPUT_BOX], left_screen, bottom_screen, left_screen, bottom_screen);
]]></action>
</object>
<object type="text" name="atlas_left_pane_section_map_generate_border" sprite="atlas_border" style="atlas_label_text" hidden="false">
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_map_generate_border", atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_BORDER], left_screen, bottom_screen, left_screen, bottom_screen);
]]></action>
</object>
<object type="button" name="atlas_left_pane_section_map_generate_button" sprite="atlas_button" style="atlas_heading" hidden="false">Generate!
<action on="Load"><![CDATA[
setSizeArray("atlas_left_pane_section_map_generate_button", atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_BUTTON], left_screen, bottom_screen, left_screen, bottom_screen);
]]></action>
</object>
</object>
<!-- TERRAIN EDITOR SECTION MENU -->
<object type="empty" name="atlas_left_pane_section_terrain" size="0 0 100% 100%" z="1" hidden="true">
</object>
</object>
<!-- BOTTOM SELECTION PANE: Context panel along the bottom of the screen. -->
<object type="empty" name="atlas_bottom_pane" size="0 0 100% 100%" z="1" hidden="false">
<object type="empty" name="atlas_bottom_pane" size="0 0 100% 100%" z="1" hidden="true">
<!-- BOTTOM SELECTION BACKGROUND -->
<object type="text" name="atlas_bottom_pane_bkg" sprite="atlas_window_rt_border" hidden="false">
@ -323,204 +336,167 @@
<!-- TOP: TOOLBAR BUTTONS: ROW 1 -->
<object type="empty" name="atlas_mainborder_toolbar_button_row_1" size="0 0 100% 100%" z="1" hidden="false">
<!-- TOP: TOOLBAR: BUTTONS -->
<object type="button" name="atlas_mainborder_toolbar_button_1" cell_id="1" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<object type="button" name="atlas_mainborder_toolbar_button_1" cell_id="1" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Hide Section Menu[font=tahoma10]\nClick to clear any Section Menus that are open, and reveal more of the screen." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_1();
atlasOpenSectionMenu("none");
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_2" cell_id="2" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<object type="button" name="atlas_mainborder_toolbar_button_2" cell_id="2" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Open Map Creator[font=tahoma10]\nConfigure and create a new map from the Map Creator menu." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_2();
atlasOpenSectionMenu("atlas_left_pane_section_map");
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_3" cell_id="3" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<object type="button" name="atlas_mainborder_toolbar_button_3" cell_id="3" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Open Terrain Editor[font=tahoma10]\nEdit elevation, and paint terrain, water and cliffs from the Terrain Editor menu." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_3();
atlasOpenSectionMenu("atlas_left_pane_section_terrain");
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_4" cell_id="4" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_4();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_5" cell_id="5" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_5();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_6" cell_id="6" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_6();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_7" cell_id="7" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_7();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_8" cell_id="8" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_8();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_9" cell_id="9" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_9();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_10" cell_id="10" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_10();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_11" cell_id="11" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_11();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_12" cell_id="12" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_12();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_13" cell_id="13" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_13();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_14" cell_id="14" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_14();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_15" cell_id="15" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_15();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_16" cell_id="16" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_16();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_17" cell_id="17" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_17();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_18" cell_id="18" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_18();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_19" cell_id="19" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_19();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_20" cell_id="20" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_20();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_21" cell_id="21" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_21();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_22" cell_id="22" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_22();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_23" cell_id="23" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_23();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_24" cell_id="24" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_24();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_25" cell_id="25" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_25();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_26" cell_id="26" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_26();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_27" cell_id="27" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_27();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_28" cell_id="28" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_28();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_29" cell_id="29" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_29();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_30" cell_id="30" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_30();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_31" cell_id="31" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_31();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_32" cell_id="32" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_32();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_33" cell_id="33" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_33();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_34" cell_id="34" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_34();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_35" cell_id="35" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_35();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_36" cell_id="36" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_36();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_37" cell_id="37" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_37();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_38" cell_id="38" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_38();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_39" cell_id="39" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_39();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_40" cell_id="40" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_40();
]]></action>
</object>
</object>
@ -530,197 +506,158 @@
<!-- TOP: TOOLBAR: BUTTONS -->
<object type="button" name="atlas_mainborder_toolbar_button_41" cell_id="41" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_41();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_42" cell_id="42" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_42();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_43" cell_id="43" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_43();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_44" cell_id="44" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_44();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_45" cell_id="45" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_45();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_46" cell_id="46" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_46();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_47" cell_id="47" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_47();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_48" cell_id="48" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_48();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_49" cell_id="49" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_49();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_50" cell_id="50" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_50();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_51" cell_id="51" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_51();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_52" cell_id="52" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_52();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_53" cell_id="53" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_53();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_54" cell_id="54" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_54();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_55" cell_id="55" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_55();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_56" cell_id="56" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_56();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_57" cell_id="57" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_57();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_58" cell_id="58" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_58();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_59" cell_id="59" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_59();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_60" cell_id="60" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_60();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_61" cell_id="61" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_61();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_62" cell_id="62" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_62();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_63" cell_id="63" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_63();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_64" cell_id="64" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_64();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_65" cell_id="65" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_65();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_66" cell_id="66" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_66();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_67" cell_id="67" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_67();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_68" cell_id="68" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_68();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_69" cell_id="69" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_69();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_70" cell_id="70" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_70();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_71" cell_id="71" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_71();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_72" cell_id="72" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_72();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_73" cell_id="73" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_73();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_74" cell_id="74" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_74();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_75" cell_id="75" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_75();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_76" cell_id="76" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_76();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_77" cell_id="77" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_77();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_78" cell_id="78" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_78();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_79" cell_id="39" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
<action on="Press"><![CDATA[
atlasToolbarButton_79();
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_button_80" cell_id="80" sprite="atlas_sheet_toolbar_button" tooltip_style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Button[font=tahoma10]\nClick to perform some yet-to-be-determined function." hidden="false">
@ -730,7 +667,6 @@
setSizeArray("atlas_mainborder_toolbar_button_" + ATLAS_MAINBORDER_TOOLBAR_BUTTON.last, atlasCoord[ATLAS_MAINBORDER_TOOLBAR_BUTTON[ATLAS_MAINBORDER_TOOLBAR_BUTTON.last]], left_screen, top_screen, left_screen, top_screen);
]]></action>
<action on="Press"><![CDATA[
atlasToolbarButton_80();
]]></action>
</object>
</object>

View File

@ -252,7 +252,7 @@ function initAtlas()
ATLAS_LEFT_PANE_SECTION.LMARGIN = 7;
ATLAS_LEFT_PANE_SECTION.RMARGIN = 10;
ATLAS_LEFT_PANE_SECTION.TMARGIN = 10;
ATLAS_LEFT_PANE_SECTION.BMARGIN = 10;
ATLAS_LEFT_PANE_SECTION.BMARGIN = 12;
// ============================================= MAP CREATOR SECTION MENU ===============================================
@ -349,16 +349,16 @@ function initAtlas()
// "Players:" label for Map Settings.
ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL = addSizeArrayWH(atlasCoord, atlasCoord_Last,
40,
45,
15
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].x+ATLAS_LEFT_PANE_SECTION.LMARGIN,
atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].height+ATLAS_LEFT_PANE_SECTION.TMARGIN
atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].height+ATLAS_LEFT_PANE_SECTION.TMARGIN+ATLAS_LEFT_PANE_SECTION.TMARGIN
);
// Players "counter" input box for Map Settings.
ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX = addSizeArrayWH(atlasCoord, atlasCoord_Last,
32,
30,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].height
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].x+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].width,
@ -368,16 +368,16 @@ function initAtlas()
// Players up button for "counter" input box for Map Settings.
ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX_UP = addSizeArrayWH(atlasCoord, atlasCoord_Last,
ATLAS_COUNTER_BOX.width,
ATLAS_COUNTER_BOX.height
(atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX].height/2)+3
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX].x+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX].width-atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX_UP].width,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX].y
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX].y-3
);
// Players down button for "counter" input box for Map Settings.
ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX_DN = addSizeArrayWH(atlasCoord, atlasCoord_Last,
ATLAS_COUNTER_BOX.width,
ATLAS_COUNTER_BOX.height
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX_UP].height
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX].x+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX].width-atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX_UP].width,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX].height-atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_INPUT_BOX_DN].height
@ -395,16 +395,16 @@ function initAtlas()
// Settlements up button for "counter" input box for Map Settings.
ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX_UP = addSizeArrayWH(atlasCoord, atlasCoord_Last,
ATLAS_COUNTER_BOX.width,
ATLAS_COUNTER_BOX.height
(atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX].height/2)+3
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX].x+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX].width-atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX_UP].width,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX].y
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX].y-3
);
// Settlements down button for "counter" input box for Map Settings.
ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX_DN = addSizeArrayWH(atlasCoord, atlasCoord_Last,
ATLAS_COUNTER_BOX.width,
ATLAS_COUNTER_BOX.height
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX_UP].height
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX].x+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX].width-atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX_UP].width,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX].height-atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_SETTLEMENT_INPUT_BOX_DN].height
@ -421,16 +421,16 @@ function initAtlas()
// "Resources:" label for Map Settings.
ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_RESOURCES_LABEL = addSizeArrayWH(atlasCoord, atlasCoord_Last,
40,
60,
15
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].x+ATLAS_LEFT_PANE_SECTION.LMARGIN,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].height+ATLAS_LEFT_PANE_SECTION.TMARGIN
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].x,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].height+ATLAS_LEFT_PANE_SECTION.TMARGIN+ATLAS_LEFT_PANE_SECTION.TMARGIN
);
// Resources "drop-down" box for Map Settings.
ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_RESOURCES_COMBO_BOX = addSizeArrayWH(atlasCoord, atlasCoord_Last,
32,
55,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_PLAYER_LABEL].height
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_RESOURCES_LABEL].x+atlasCoord[ATLAS_LEFT_PANE_SECTION_MAP_SETTINGS_RESOURCES_LABEL].width,
@ -443,20 +443,20 @@ function initAtlas()
// Terrain Map input box.
ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX = addSizeArrayWH(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].width-ATLAS_LEFT_PANE_SECTION.LMARGIN-ATLAS_LEFT_PANE_SECTION.RMARGIN,
20
atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].width-ATLAS_LEFT_PANE_SECTION.LMARGIN-ATLAS_LEFT_PANE_SECTION.RMARGIN-ATLAS_LEFT_PANE_SECTION.LMARGIN,
15
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].x+ATLAS_LEFT_PANE_SECTION.LMARGIN,
-ATLAS_LEFT_PANE_SECTION.BMARGIN-atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].height
atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].x+ATLAS_LEFT_PANE_SECTION.LMARGIN+ATLAS_LEFT_PANE_SECTION.LMARGIN,
ATLAS_LEFT_PANE_SECTION.BMARGIN
);
// "Terrain Map:" label.
ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL = addSizeArrayWH(atlasCoord, atlasCoord_Last,
32,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].width,
20
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].x+ATLAS_LEFT_PANE_SECTION.LMARGIN,
atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_HEADING_3].height+ATLAS_LEFT_PANE_SECTION.TMARGIN
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].x,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].height
);
// Height Map input box.
@ -465,16 +465,36 @@ function initAtlas()
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].height
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].x,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].y-atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].height-atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL].height
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL].height
);
// "Height Map:" label.
ATLAS_LEFT_PANE_SECTION_GENERATE_HEIGHT_MAP_LABEL = addSizeArrayWH(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL].width,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].width,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL].height
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL].x,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL].y-atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_LABEL].height
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].x,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_HEIGHT_MAP_INPUT_BOX].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_HEIGHT_MAP_INPUT_BOX].height
);
// "Generate!" border.
ATLAS_LEFT_PANE_SECTION_GENERATE_BORDER = addSizeArrayWH(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].width,
40
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].x,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_HEIGHT_MAP_INPUT_BOX].y+atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_HEIGHT_MAP_INPUT_BOX].height+atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_BORDER].height+ATLAS_LEFT_PANE_SECTION.BMARGIN
);
ATLAS_LEFT_PANE_SECTION_GENERATE_SPAN = 7;
// "Generate!" button.
ATLAS_LEFT_PANE_SECTION_GENERATE_BUTTON = addSizeArrayWH(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_TERRAIN_MAP_INPUT_BOX].width-ATLAS_LEFT_PANE_SECTION_GENERATE_SPAN-ATLAS_LEFT_PANE_SECTION_GENERATE_SPAN,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_BORDER].height-ATLAS_LEFT_PANE_SECTION_GENERATE_SPAN-ATLAS_LEFT_PANE_SECTION_GENERATE_SPAN
); atlasCoord_Last = addSizeArrayXY(atlasCoord, atlasCoord_Last,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_BORDER].x+ATLAS_LEFT_PANE_SECTION_GENERATE_SPAN,
atlasCoord[ATLAS_LEFT_PANE_SECTION_GENERATE_BORDER].y+ATLAS_LEFT_PANE_SECTION_GENERATE_SPAN
);
}
@ -550,562 +570,49 @@ function atlasMaximiseToolbar()
// ====================================================================
function atlasToolbarButton_1()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_2()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_3()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_4()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_5()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_6()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_7()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_8()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_9()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_10()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_11()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_12()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_13()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_14()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_15()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_16()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_17()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_18()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_19()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_20()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_21()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_22()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_23()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_24()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_25()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_26()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_27()
{
// Perform action associated with this toolbar button.
function atlasOpenSectionMenu(atlasMenuName)
{
// Open the specified Section Menu; only one is open at a time.
// Clear all section menus to begin.
GUIObjectHide("atlas_left_pane_section_map");
GUIObjectHide("atlas_left_pane_section_terrain");
switch (atlasMenuName)
{
case "none":
// Hide backgrounds.
GUIObjectHide("atlas_left_pane");
GUIObjectHide("atlas_bottom_pane");
// Hide headings.
GUIObjectHide("atlas_left_pane_section_heading_1");
GUIObjectHide("atlas_left_pane_section_heading_2");
GUIObjectHide("atlas_left_pane_section_heading_3");
break;
case "atlas_left_pane_section_map":
// Toggle backgrounds.
GUIObjectUnhide("atlas_left_pane");
GUIObjectHide("atlas_bottom_pane");
// Reveal headings.
GUIObjectRenameandReveal("atlas_left_pane_section_heading_1", "Map Creator");
GUIObjectRenameandReveal("atlas_left_pane_section_heading_2", "Map Type");
GUIObjectRenameandReveal("atlas_left_pane_section_heading_3", "Map Settings");
break;
case "atlas_left_pane_section_terrain":
// Toggle backgrounds.
GUIObjectUnhide("atlas_left_pane");
GUIObjectUnhide("atlas_bottom_pane");
// Reveal headings.
GUIObjectRenameandReveal("atlas_left_pane_section_heading_1", "Terrain Editor");
GUIObjectRenameandReveal("atlas_left_pane_section_heading_2", "Edit Elevation");
GUIObjectHide("atlas_left_pane_section_heading_3");
break;
}
// Reveal Section Menu content.
if (atlasMenuName != "none")
GUIObjectUnhide(atlasMenuName);
}
// ====================================================================
function atlasToolbarButton_28()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_29()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_30()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_31()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_32()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_33()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_34()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_35()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_36()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_37()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_38()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_39()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_40()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_41()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_42()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_43()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_44()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_45()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_46()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_47()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_48()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_49()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_50()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_51()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_52()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_53()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_54()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_55()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_56()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_57()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_58()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_59()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_60()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_61()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_62()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_63()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_64()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_65()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_66()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_67()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_68()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_69()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_70()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_71()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_72()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_73()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_74()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_75()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_76()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_77()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_78()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_79()
{
// Perform action associated with this toolbar button.
}
// ====================================================================
function atlasToolbarButton_80()
{
// Perform action associated with this toolbar button.
}
// ====================================================================

View File

@ -29,3 +29,17 @@ function GUIObjectToggle(objectName)
// ====================================================================
function GUIObjectRenameandReveal(objectName, objectCaption)
{
// Get our GUI object
var GUIObject = getGUIObjectByName(objectName);
// Rename it
GUIObject.caption = objectCaption;
// Toggle it
GUIObject.hidden = false;
}
// ====================================================================