From d289918bfdf7635ec3bb2c94d8255da2b2572aea Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 6 Feb 2022 19:14:54 +0100 Subject: Added datafiles to the repository This includes only text files from the most common distribution of content.dat and shatter.dat. --- data/content/Screens/AudDlg.frm | 297 ++++++++++++++ data/content/Screens/AwardDlg.frm | 122 ++++++ data/content/Screens/CmdDlg.frm | 435 ++++++++++++++++++++ data/content/Screens/CmdForceDlg.frm | 358 +++++++++++++++++ data/content/Screens/CmdIntelDlg.frm | 364 +++++++++++++++++ data/content/Screens/CmdMissionsDlg.frm | 351 ++++++++++++++++ data/content/Screens/CmdMsgDlg.frm | 76 ++++ data/content/Screens/CmdOrdersDlg.frm | 264 ++++++++++++ data/content/Screens/CmdTheaterDlg.frm | 356 ++++++++++++++++ data/content/Screens/CmpCompleteDlg.frm | 85 ++++ data/content/Screens/CmpLoadDlg.frm | 89 ++++ data/content/Screens/CmpSceneDlg.frm | 59 +++ data/content/Screens/CmpSelectDlg.frm | 214 ++++++++++ data/content/Screens/ConfirmDlg.frm | 79 ++++ data/content/Screens/CtlDlg.frm | 475 ++++++++++++++++++++++ data/content/Screens/DebriefDlg.frm | 375 +++++++++++++++++ data/content/Screens/EngDlg.frm | 606 ++++++++++++++++++++++++++++ data/content/Screens/ExitDlg.frm | 88 ++++ data/content/Screens/FileDlg.frm | 122 ++++++ data/content/Screens/FirstTimeDlg.frm | 158 ++++++++ data/content/Screens/FltDlg.frm | 428 ++++++++++++++++++++ data/content/Screens/JoyDlg.frm | 216 ++++++++++ data/content/Screens/KeyDlg.frm | 140 +++++++ data/content/Screens/LoadDlg.frm | 64 +++ data/content/Screens/MenuDlg.frm | 159 ++++++++ data/content/Screens/ModDlg.frm | 332 +++++++++++++++ data/content/Screens/ModInfoDlg.frm | 111 +++++ data/content/Screens/MsnEditDlg.frm | 618 ++++++++++++++++++++++++++++ data/content/Screens/MsnEditNavDlg.frm | 519 ++++++++++++++++++++++++ data/content/Screens/MsnElemDlg.frm | 494 +++++++++++++++++++++++ data/content/Screens/MsnEventDlg.frm | 326 +++++++++++++++ data/content/Screens/MsnNavDlg.frm | 477 ++++++++++++++++++++++ data/content/Screens/MsnObjDlg.frm | 352 ++++++++++++++++ data/content/Screens/MsnPkgDlg.frm | 466 +++++++++++++++++++++ data/content/Screens/MsnSelectDlg.frm | 241 +++++++++++ data/content/Screens/MsnWepDlg.frm | 486 ++++++++++++++++++++++ data/content/Screens/NavDlg.frm | 396 ++++++++++++++++++ data/content/Screens/NetAddrDlg.frm | 145 +++++++ data/content/Screens/NetClientDlg.frm | 205 ++++++++++ data/content/Screens/NetLobbyDlg.frm | 218 ++++++++++ data/content/Screens/NetPassDlg.frm | 118 ++++++ data/content/Screens/NetServerDlg.frm | 198 +++++++++ data/content/Screens/NetUnitDlg.frm | 286 +++++++++++++ data/content/Screens/OptDlg.frm | 400 ++++++++++++++++++ data/content/Screens/PlayerDlg.frm | 690 ++++++++++++++++++++++++++++++++ data/content/Screens/TacRefDlg.frm | 211 ++++++++++ data/content/Screens/VidDlg.frm | 423 ++++++++++++++++++++ 47 files changed, 13692 insertions(+) create mode 100644 data/content/Screens/AudDlg.frm create mode 100644 data/content/Screens/AwardDlg.frm create mode 100644 data/content/Screens/CmdDlg.frm create mode 100644 data/content/Screens/CmdForceDlg.frm create mode 100644 data/content/Screens/CmdIntelDlg.frm create mode 100644 data/content/Screens/CmdMissionsDlg.frm create mode 100644 data/content/Screens/CmdMsgDlg.frm create mode 100644 data/content/Screens/CmdOrdersDlg.frm create mode 100644 data/content/Screens/CmdTheaterDlg.frm create mode 100644 data/content/Screens/CmpCompleteDlg.frm create mode 100644 data/content/Screens/CmpLoadDlg.frm create mode 100644 data/content/Screens/CmpSceneDlg.frm create mode 100644 data/content/Screens/CmpSelectDlg.frm create mode 100644 data/content/Screens/ConfirmDlg.frm create mode 100644 data/content/Screens/CtlDlg.frm create mode 100644 data/content/Screens/DebriefDlg.frm create mode 100644 data/content/Screens/EngDlg.frm create mode 100644 data/content/Screens/ExitDlg.frm create mode 100644 data/content/Screens/FileDlg.frm create mode 100644 data/content/Screens/FirstTimeDlg.frm create mode 100644 data/content/Screens/FltDlg.frm create mode 100644 data/content/Screens/JoyDlg.frm create mode 100644 data/content/Screens/KeyDlg.frm create mode 100644 data/content/Screens/LoadDlg.frm create mode 100644 data/content/Screens/MenuDlg.frm create mode 100644 data/content/Screens/ModDlg.frm create mode 100644 data/content/Screens/ModInfoDlg.frm create mode 100644 data/content/Screens/MsnEditDlg.frm create mode 100644 data/content/Screens/MsnEditNavDlg.frm create mode 100644 data/content/Screens/MsnElemDlg.frm create mode 100644 data/content/Screens/MsnEventDlg.frm create mode 100644 data/content/Screens/MsnNavDlg.frm create mode 100644 data/content/Screens/MsnObjDlg.frm create mode 100644 data/content/Screens/MsnPkgDlg.frm create mode 100644 data/content/Screens/MsnSelectDlg.frm create mode 100644 data/content/Screens/MsnWepDlg.frm create mode 100644 data/content/Screens/NavDlg.frm create mode 100644 data/content/Screens/NetAddrDlg.frm create mode 100644 data/content/Screens/NetClientDlg.frm create mode 100644 data/content/Screens/NetLobbyDlg.frm create mode 100644 data/content/Screens/NetPassDlg.frm create mode 100644 data/content/Screens/NetServerDlg.frm create mode 100644 data/content/Screens/NetUnitDlg.frm create mode 100644 data/content/Screens/OptDlg.frm create mode 100644 data/content/Screens/PlayerDlg.frm create mode 100644 data/content/Screens/TacRefDlg.frm create mode 100644 data/content/Screens/VidDlg.frm (limited to 'data/content/Screens') diff --git a/data/content/Screens/AudDlg.frm b/data/content/Screens/AudDlg.frm new file mode 100644 index 0000000..cb99410 --- /dev/null +++ b/data/content/Screens/AudDlg.frm @@ -0,0 +1,297 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: AudDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 20, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,3,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,3,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.options.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + } + + + // tabs: + + ctrl: { + id: 900 + type: panel + transparent: true + cells: (1,3,4,1) + hide_partial: false + + layout: { + x_mins: (100, 100, 100, 100, 100, 0), + x_weights: (0.2, 0.2, 0.2, 0.2, 0.2, 1), + + y_mins: (24), + y_weights: ( 1) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0), + cell_insets: (0,4,0,0) + }, + + ctrl: { + id: 901 + pid: 900 + type: button + text: "form.options.tab.video" + cells: (0,0,1,1) + } + + ctrl: { + id: 902 + pid: 900 + type: button + text: "form.options.tab.audio" + cells: (1,0,1,1) + } + + ctrl: { + id: 903 + pid: 900 + type: button + text: "form.options.tab.controls" + cells: (2,0,1,1) + } + + ctrl: { + id: 904 + pid: 900 + type: button + text: "form.options.tab.gameplay" + cells: (3,0,1,1) + } + + ctrl: { + id: 905 + pid: 900 + type: button + text: "form.options.tab.mods" + cells: (4,0,1,1) + } + + // main panel: + + ctrl: { + id: 300 + type: panel + transparent: false //true + + texture: Panel + margins: (12,12,12,0), + + cells: (1,4,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 20, 100, 100, 20, 100, 100, 20) + x_weights: (0.2, 0.3, 0.3, 0.2, 0.3, 0.3, 0.2) + + y_mins: ( 20, 25, 25, 25, 25, 25, 25, 25, 20) + y_weights: (0.3, 0, 0, 0, 0, 0, 0, 0, 0.7) + } + } + + defctrl: { + fore_color: (255,255,255) + font: Verdana, + standard_image: "" + activated_image: "" + align: left + sticky: false + transparent: true + }, + + ctrl: { + id: 101 + pid: 300 + type: label + text: "form.audio.volume.effects" + cells: (1,1,1,1) + }, + + ctrl: { + id: 102 + pid: 300 + type: label + text: "form.audio.volume.gui" + cells: (1,2,1,1) + }, + + ctrl: { + id: 103 + pid: 300 + type: label + text: "form.audio.volume.warning" + cells: (1,3,1,1) + }, + + ctrl: { + id: 104 + pid: 300 + type: label + text: "form.audio.volume.vox" + cells: (1,4,1,1) + }, + + ctrl: { + id: 105 + pid: 300 + type: label + text: "form.audio.music.menu" + cells: (1,6,1,1) + }, + + ctrl: { + id: 106 + pid: 300 + type: label + text: "form.audio.music.game" + cells: (1,7,1,1) + }, + + defctrl: { + cell_insets: (0,0,0,16) + simple: true + bevel_width: 3 + text_align: left + transparent: false + + active_color: (250, 250, 100) + back_color: ( 41, 41, 41) + border: false + active: true + }, + + ctrl: { + id: 201 + pid: 300 + type: slider + cells: (2,1,1,1) + }, + + ctrl: { + id: 202 + pid: 300 + type: slider + cells: (2,2,1,1) + }, + + ctrl: { + id: 203 + pid: 300 + type: slider + cells: (2,3,1,1) + }, + + ctrl: { + id: 204 + pid: 300 + type: slider + cells: (2,4,1,1) + }, + + ctrl: { + id: 205 + pid: 300 + type: slider + cells: (2,6,1,1) + }, + + ctrl: { + id: 206 + pid: 300 + type: slider + cells: (2,7,1,1) + }, + + + // buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + } + + ctrl: { + id: 1 + type: button + text: "form.apply" + cells: (3,5,1,1) + } + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,5,1,1) + } +} diff --git a/data/content/Screens/AwardDlg.frm b/data/content/Screens/AwardDlg.frm new file mode 100644 index 0000000..b20dbcb --- /dev/null +++ b/data/content/Screens/AwardDlg.frm @@ -0,0 +1,122 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 4.5 +// File: AwardDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2004. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 50, 512, 50, 10) + x_weights: ( 0, 1, 0, 1, 0) + + y_mins: (28, 25, 20, 5, 30, 256, 10, 50, 45) + y_weights: ( 0, 0, 0, 1, 0, 0, 0, 2, 0) + }, + + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.award.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // main panel: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + }, + + // award name: + + ctrl: { + id: 203, + type: label, + cells: (2,4,1,1) + align: center + transparent: true + border: false + font: Limerick18 + fore_color: (255,255,255) + back_color: ( 10, 10, 10) + style: 0x0040 + }, + + // award insignia: + + ctrl: { + id: 202, + type: image, + cells: (2,5,1,1) + align: center + transparent: true + border: false + }, + + // award description or info: + + ctrl: { + id: 201, + type: label, + cells: (2,7,1,1) + align: left + transparent: true + border: false + font: Verdana + fore_color: (0,0,0) + }, + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (50,5,0,0) + fixed_height: 19 + }, + + ctrl: { + id: 1 + pid: 0 + type: button + text: "form.close" + cells: (3,8,1,1), + }, + +} diff --git a/data/content/Screens/CmdDlg.frm b/data/content/Screens/CmdDlg.frm new file mode 100644 index 0000000..9b0ba52 --- /dev/null +++ b/data/content/Screens/CmdDlg.frm @@ -0,0 +1,435 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: STARSHATTER +// File: CmdDlg.frm +// +// John DiCamillo +// Copyright © 1997-2001. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0, 0, 640, 480), + screen_width: 640, + screen_height: 480, + + base_color: (160, 160, 150), + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + font: "GUI", + + texture: "std_B_640.pcx", + + defctrl: { + base_color: (160, 160, 150), + back_color: ( 41, 41, 41), + fore_color: (255, 255, 255), + bevel_width: 0, + bevel_depth: 128, + border: false, + transparent: true, + align: left, + }, + + ctrl: { + id: 1000, + type: label, + rect: (7, 6, 600, 20), + text: "form.cmd.title", + }, + + ctrl: { + id: 1001, + type: label, + rect: (20, 50, 600, 50), + transparent: false, + back_color: (69, 69, 67), + border_color: ( 4, 4, 4), + text: " ", + }, + + ctrl: { + id: 300, + type: label, + rect: (25, 55, 300, 20), + text: " ", // Operation Title Goes Here + fore_color: (255, 255, 128) + }, + + ctrl: { + id: 301, + type: label, + rect: (420, 55, 200, 20), + text: " ", // timestamp goes here + align: right + }, + + ctrl: { + id: 200, + type: label, + rect: (25, 75, 400, 20), + text: " ", // player group goes here + }, + + ctrl: { + id: 201, + type: label, + rect: (440, 75, 180, 20), + align: right, + }, + + defctrl: { + transparent: false, + align: left, + sticky: true, + font: Terminal, + fore_color: (4, 4, 4), + border: false, + simple: false, + + standard_image: btn_130x17_0, + activated_image: btn_130x17_1, + transition_image: btn_130x17_2, + }, + + ctrl: { + id: 100, + type: button, + rect: (20, 120, 130, 17), + text: "form.cmd.orders" + }, + + ctrl: { + id: 101, + type: button, + rect: (20, 145, 130, 17), + text: "form.cmd.theater" + }, + + ctrl: { + id: 102, + type: button, + rect: (20, 170, 130, 17), + text: "form.cmd.forces" + }, + + ctrl: { + id: 103, + type: button, + rect: (20, 195, 130, 17), + text: "form.cmd.intel" + }, + + ctrl: { + id: 104, + type: button, + rect: (20, 220, 130, 17), + text: "form.cmd.missions" + }, + + defctrl: { sticky: false }, + + ctrl: { + id: 1, + type: button, + rect: (350, 445, 130, 17), + text: "Save", + standard_image: grn_130x17_0, + activated_image: grn_130x17_1, + transition_image: grn_130x17_2, + }, + + ctrl: { + id: 2, + type: button, + rect: (490, 445, 130, 17), + text: "Cancel", + standard_image: red_130x17_0, + activated_image: red_130x17_1, + transition_image: red_130x17_2, + } +} + +// +--------------------------------------------------------------------+ +// +--------------------------------------------------------------------+ +// +--------------------------------------------------------------------+ + +form: { + rect: (0, 0, 800, 600), + screen_width: 800, + screen_height: 600, + + base_color: (160, 160, 150), + back_color: ( 92, 92, 92), + fore_color: (255, 255, 255), + font: "GUI", + + texture: "cmd_800.pcx", + + defctrl: { + base_color: (160, 160, 150), + back_color: ( 92, 92, 92), + fore_color: (255, 255, 255), + font: GUI, + bevel_width: 0, + bevel_depth: 128, + border: true, + border_color: ( 0, 0, 0), + transparent: true, + align: left, + active: true, + }, + + ctrl: { + id: 300, + type: label, + rect: (25, 50, 300, 20), + text: "Operation Title Goes Here", + fore_color: (255, 255, 128) + }, + + ctrl: { + id: 301, + type: label, + rect: (575, 50, 200, 20), + text: "Day 7 11:32:04", + align: right + }, + + ctrl: { + id: 200, + type: label, + rect: (25, 75, 450, 25), + text: "PLAYER GROUP", + }, + + ctrl: { + id: 201, + type: label, + rect: (575, 75, 200, 25), + align: right, + }, + + + defctrl: { + transparent: false, + align: left, + sticky: true, + font: Terminal, + fore_color: (4, 4, 4), + border: false, + simple: false, + + standard_image: btn_130x17_0, + activated_image: btn_130x17_1, + transition_image: btn_130x17_2, + }, + + ctrl: { + id: 100, + type: button, + rect: (25, 130, 130, 17), + text: "Orders" + }, + + ctrl: { + id: 101, + type: button, + rect: (25, 155, 130, 17), + text: "Theater" + }, + + ctrl: { + id: 102, + type: button, + rect: (25, 180, 130, 17), + text: "Forces" + }, + + ctrl: { + id: 103, + type: button, + rect: (25, 205, 130, 17), + text: "Intel" + }, + + ctrl: { + id: 104, + type: button, + rect: (25, 230, 130, 17), + text: "Missions" + }, + + + defctrl: { + back_color: ( 92, 92, 92), + fore_color: ( 4, 4, 4), + bevel_width: 0, + transparent: false, + sticky: false, + }, + + ctrl: { + id: 1, + type: button, + rect: (500, 558, 130, 17), + text: Save, + standard_image: grn_130x17_0, + activated_image: grn_130x17_1, + transition_image: grn_130x17_2, + }, + + ctrl: { + id: 2, + type: button, + rect: (640, 558, 130, 17), + text: Exit, + standard_image: red_130x17_0, + activated_image: red_130x17_1, + transition_image: red_130x17_2, + } +} + + +// +--------------------------------------------------------------------+ +// +--------------------------------------------------------------------+ +// +--------------------------------------------------------------------+ + +form: { + rect: (0, 0, 1024, 768), + screen_width: 1024, + screen_height: 768, + + base_color: (160, 160, 150), + back_color: ( 92, 92, 92), + fore_color: (255, 255, 255), + font: "GUI", + + texture: "cmd_1024.pcx", + + defctrl: { + base_color: (160, 160, 150), + back_color: ( 92, 92, 92), + fore_color: (255, 255, 255), + font: GUI, + bevel_width: 0, + bevel_depth: 128, + border: true, + border_color: ( 0, 0, 0), + transparent: true, + align: left, + active: true, + }, + + ctrl: { + id: 300, + type: label, + rect: (25, 55, 300, 20), + text: "Operation Title Goes Here", + fore_color: (255, 255, 128) + }, + + ctrl: { + id: 301, + type: label, + rect: (800, 55, 200, 20), + text: "Day 7 11:32:04", + align: right + }, + + ctrl: { + id: 200, + type: label, + rect: (25, 80, 450, 25), + text: "PLAYER GROUP", + }, + + ctrl: { + id: 201, + type: label, + rect: (800, 80, 200, 25), + align: right, + }, + + + defctrl: { + transparent: false, + align: left, + sticky: true, + font: Terminal, + fore_color: (4, 4, 4), + border: false, + simple: false, + + standard_image: btn_130x17_0, + activated_image: btn_130x17_1, + transition_image: btn_130x17_2, + }, + + ctrl: { + id: 100, + type: button, + rect: (25, 155, 130, 17), + text: "Orders" + }, + + ctrl: { + id: 101, + type: button, + rect: (25, 180, 130, 17), + text: "Theater" + }, + + ctrl: { + id: 102, + type: button, + rect: (25, 205, 130, 17), + text: "Forces" + }, + + ctrl: { + id: 103, + type: button, + rect: (25, 230, 130, 17), + text: "Intel" + }, + + ctrl: { + id: 104, + type: button, + rect: (25, 255, 130, 17), + text: "Missions" + }, + + + defctrl: { + back_color: ( 92, 92, 92), + fore_color: ( 4, 4, 4), + bevel_width: 0, + transparent: false, + sticky: false, + }, + + ctrl: { + id: 1, + type: button, + rect: (730, 730, 130, 17), + text: Save, + sticky: false, + standard_image: grn_130x17_0, + activated_image: grn_130x17_1, + transition_image: grn_130x17_2, + }, + + ctrl: { + id: 2, + type: button, + rect: (870, 730, 130, 17), + text: Exit, + sticky: false, + standard_image: red_130x17_0, + activated_image: red_130x17_1, + transition_image: red_130x17_2, + }, +} + diff --git a/data/content/Screens/CmdForceDlg.frm b/data/content/Screens/CmdForceDlg.frm new file mode 100644 index 0000000..024a0bd --- /dev/null +++ b/data/content/Screens/CmdForceDlg.frm @@ -0,0 +1,358 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmdForceDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0) + fore_color: (255, 255, 255) + + texture: "Frame1.pcx" + margins: (1,1,64,8) + + layout: { + x_mins: (10, 100, 20, 100, 100, 100, 10) + x_weights: ( 0, 1, 0, 2, 2, 2, 0) + + y_mins: (28, 30, 10, 90, 24, 60, 45) + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + } + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,5,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,3,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (4,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.cmd.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,5,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 100, 20, 100, 20) + x_weights: ( 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 5, 20, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + pid: 700 + }, + + ctrl: { + id: 300, + type: label, + cells: (1,1,1,1) + text: " ", // Operation Title Goes Here + font: Limerick12 + fore_color: (255, 255, 128) + }, + + ctrl: { + id: 301, + type: label, + cells: (3,1,1,1) + text: " ", // timestamp goes here + align: right + }, + + ctrl: { + id: 200, + type: label, + cells: (1,3,1,1) + text: " ", // player group goes here + }, + + ctrl: { + id: 201, + type: label, + cells: (3,3,1,1) + align: right, + }, + + // tab buttons: + + ctrl: { + id: 600 + pid: 0 + type: panel + transparent: true + + cells: (1,5,1,1), + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 10) + x_weights: ( 1) + + y_mins: ( 25, 25, 25, 25, 25, 25) + y_weights: ( 0, 0, 0, 0, 0, 1) + } + } + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,0) + pid: 600 + fixed_height: 19 + } + + ctrl: { + id: 100 + type: button + text: "form.cmd.orders" + cells: (0,0,1,1) + } + + ctrl: { + id: 101 + type: button + text: "form.cmd.theater" + cells: (0,1,1,1) + } + + ctrl: { + id: 102 + type: button + text: "form.cmd.forces" + cells: (0,2,1,1) + } + + ctrl: { + id: 103 + type: button + text: "form.cmd.intel" + cells: (0,3,1,1) + } + + ctrl: { + id: 104 + type: button + text: "form.cmd.missions" + cells: (0,4,1,1) + } + + + // main panel: + + ctrl: { + id: 900 + pid: 0 + type: panel + transparent: true + fixed_height: 0 + + cells: (3,5,3,1) + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 10) + x_weights: ( 1) + + y_mins: ( 25, 100, 100, 25) + y_weights: ( 0, 1, 1, 1) + } + } + + defctrl: { + align: left + font: Verdana + back_color: ( 41, 41, 41) + fore_color: (255,255,255) + standard_image: "" + activated_image: "" + transition_image: "" + transparent: false + + texture: Panel + margins: (12,12,12,0), + + bevel_width: 0 + cell_insets: (0,0,0,10) + pid: 900 + fixed_height: 0 + } + + ctrl: { + id: 400, + type: combo, + cells: (0,0,1,1) + cell_insets: (0,0,0,0) + fixed_height: 18 + + back_color: ( 61, 61, 59), + border_color: (255, 255, 255), + active_color: ( 92, 92, 92), + + simple: true, + text_align: left, + transparent: false, + }, + + ctrl: { + id: 401, + type: list, + cells: (0,1,1,1) + back_color: ( 61, 61, 59), + border_color: ( 92, 92, 92), + style: 0x02, + scroll_bar: 2, + + column: { + title: "form.cmd.force.groups", + width: 330, + align: left, + sort: 0 } + }, + + ctrl: { + id: 402, + type: list, + cells: (0,2,1,1) + back_color: ( 61, 61, 59), + border_color: ( 92, 92, 92), + style: 0x02, + scroll_bar: 2, + + column: { + title: "form.name", + width: 90, + align: left, + color: (192,192,192), + sort: 0 }, + + column: { + title: "form.value", + width: 320, + align: left, + sort: 0 }, + }, + + ctrl: { + id: 403, + type: button, + cells: (0,3,1,1) + text: "form.cmd.force.transfer" + + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + fixed_height: 19 + fixed_width: 150 + } + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + pid: 0 + fixed_height: 19 + }, + + ctrl: { + id: 1 + type: button + text: "form.save" + cells: (4,6,1,1), + } + + ctrl: { + id: 2 + type: button + text: "form.exit" + cells: (5,6,1,1), + } +} diff --git a/data/content/Screens/CmdIntelDlg.frm b/data/content/Screens/CmdIntelDlg.frm new file mode 100644 index 0000000..03781a9 --- /dev/null +++ b/data/content/Screens/CmdIntelDlg.frm @@ -0,0 +1,364 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmdIntelDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0) + fore_color: (255, 255, 255) + + texture: "Frame1.pcx" + margins: (1,1,64,8) + + layout: { + x_mins: (10, 100, 20, 100, 100, 100, 10) + x_weights: ( 0, 1, 0, 2, 2, 2, 0) + + y_mins: (28, 30, 10, 90, 24, 250, 45) + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + } + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,5,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,3,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (4,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.cmd.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,5,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 100, 20, 100, 20) + x_weights: ( 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 5, 20, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + pid: 700 + }, + + ctrl: { + id: 300, + type: label, + cells: (1,1,1,1) + text: " ", // Operation Title Goes Here + font: Limerick12 + fore_color: (255, 255, 128) + }, + + ctrl: { + id: 301, + type: label, + cells: (3,1,1,1) + text: " ", // timestamp goes here + align: right + }, + + ctrl: { + id: 200, + type: label, + cells: (1,3,1,1) + text: " ", // player group goes here + }, + + ctrl: { + id: 201, + type: label, + cells: (3,3,1,1) + align: right, + }, + + // tab buttons: + + ctrl: { + id: 600 + pid: 0 + type: panel + transparent: true + + cells: (1,5,1,1), + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 10) + x_weights: ( 1) + + y_mins: ( 25, 25, 25, 25, 25, 25) + y_weights: ( 0, 0, 0, 0, 0, 1) + } + } + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,0) + pid: 600 + fixed_height: 19 + } + + ctrl: { + id: 100 + type: button + text: "form.cmd.orders" + cells: (0,0,1,1) + } + + ctrl: { + id: 101 + type: button + text: "form.cmd.theater" + cells: (0,1,1,1) + } + + ctrl: { + id: 102 + type: button + text: "form.cmd.forces" + cells: (0,2,1,1) + } + + ctrl: { + id: 103 + type: button + text: "form.cmd.intel" + cells: (0,3,1,1) + } + + ctrl: { + id: 104 + type: button + text: "form.cmd.missions" + cells: (0,4,1,1) + } + + + // main panel: + + ctrl: { + id: 900 + pid: 0 + type: panel + transparent: true + fixed_height: 0 + + cells: (3,5,3,1) + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 250, 10, 256) + x_weights: ( 1, 0, 0) + + y_mins: ( 20, 80, 256, 10, 20) + y_weights: ( 0, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + font: Verdana + back_color: ( 41, 41, 41) + fore_color: (255,255,255) + standard_image: "" + activated_image: "" + transition_image: "" + transparent: false + + texture: Panel + margins: (12,12,12,0), + + bevel_width: 6 + cell_insets: (0,0,0,10) + pid: 900 + fixed_height: 0 + } + + ctrl: { + id: 441 + type: label + text: "form.cmd.intel.newsfeed" + cells: (0,0,3,1) + cell_insets: (0,0,0,0) + font: Limerick12 + back_color: (0,0,0) + fore_color: (255,255,255) + style: 0x0040 + transparent: true + } + + ctrl: { + id: 401 + type: list + cells: (0,1,3,1) + back_color: ( 69, 69, 67), + border_color: ( 4, 4, 4), + style: 0x02, + scroll_bar: 2, + show_headings: true, + + column: { title: "", width: 20, align: center,sort: 0 }, + column: { title: "form.cmd.intel.date", width: 110, align: left, sort: 0 }, + column: { title: "form.cmd.intel.title", width: 160, align: left, sort: 0 }, + column: { title: "form.cmd.intel.location", width: 80, align: left, sort: 0 }, + column: { title: "form.cmd.intel.source", width: 60, align: left, sort: 0 }, + }, + + ctrl: { + id: 402 + type: text, + cells: (0,2,1,3) + cell_insets: (0,0,0,0) + back_color: ( 69, 69, 67), + border_color: ( 4, 4, 4), + style: 0x02, + scroll_bar: 2, + } + + ctrl: { + id: 403 + type: image + cells: (2,2,1,1) + picture: "def_image.pcx" + style: 0x02 + fixed_width: 256 + fixed_height: 256 + } + + ctrl: { + id: 404 + type: label + cells: (0,2,3,3) + cell_insets: (0,0,0,0) + style: 0x02 + } + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,0) + fixed_height: 19 + } + + ctrl: { + id: 405 + type: button + cells: (2,4,1,1) + text: "form.cmd.intel.play" + } + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + pid: 0 + fixed_height: 19 + } + + ctrl: { + id: 1 + type: button + text: "form.save" + cells: (4,6,1,1), + } + + ctrl: { + id: 2 + type: button + text: "form.exit" + cells: (5,6,1,1), + } +} diff --git a/data/content/Screens/CmdMissionsDlg.frm b/data/content/Screens/CmdMissionsDlg.frm new file mode 100644 index 0000000..2dd405a --- /dev/null +++ b/data/content/Screens/CmdMissionsDlg.frm @@ -0,0 +1,351 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmdMissionsDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0) + fore_color: (255, 255, 255) + + texture: "Frame1.pcx" + margins: (1,1,64,8) + + layout: { + x_mins: (10, 100, 20, 100, 100, 100, 10) + x_weights: ( 0, 1, 0, 2, 2, 2, 0) + + y_mins: (28, 30, 10, 90, 24, 60, 45) + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + } + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,5,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,3,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (4,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.cmd.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,5,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 100, 20, 100, 20) + x_weights: ( 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 5, 20, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + pid: 700 + }, + + ctrl: { + id: 300, + type: label, + cells: (1,1,1,1) + text: " ", // Operation Title Goes Here + font: Limerick12 + fore_color: (255, 255, 128) + }, + + ctrl: { + id: 301, + type: label, + cells: (3,1,1,1) + text: " ", // timestamp goes here + align: right + }, + + ctrl: { + id: 200, + type: label, + cells: (1,3,1,1) + text: " ", // player group goes here + }, + + ctrl: { + id: 201, + type: label, + cells: (3,3,1,1) + align: right, + }, + + // tab buttons: + + ctrl: { + id: 600 + pid: 0 + type: panel + transparent: true + + cells: (1,5,1,1), + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 10) + x_weights: ( 1) + + y_mins: ( 25, 25, 25, 25, 25, 25) + y_weights: ( 0, 0, 0, 0, 0, 1) + } + } + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,0) + pid: 600 + fixed_height: 19 + } + + ctrl: { + id: 100 + type: button + text: "form.cmd.orders" + cells: (0,0,1,1) + } + + ctrl: { + id: 101 + type: button + text: "form.cmd.theater" + cells: (0,1,1,1) + } + + ctrl: { + id: 102 + type: button + text: "form.cmd.forces" + cells: (0,2,1,1) + } + + ctrl: { + id: 103 + type: button + text: "form.cmd.intel" + cells: (0,3,1,1) + } + + ctrl: { + id: 104 + type: button + text: "form.cmd.missions" + cells: (0,4,1,1) + } + + + // main panel: + + ctrl: { + id: 900 + pid: 0 + type: panel + transparent: true + fixed_height: 0 + + cells: (3,5,3,1) + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 10) + x_weights: ( 1) + + y_mins: ( 20, 100, 20. 100, 25) + y_weights: ( 0, 1, 0, 1, 1) + } + } + + defctrl: { + align: left + font: Verdana + back_color: ( 41, 41, 41) + fore_color: (255,255,255) + standard_image: "" + activated_image: "" + transition_image: "" + transparent: false + + texture: Panel + margins: (12,12,12,0), + + bevel_width: 6 + cell_insets: (0,0,0,10) + pid: 900 + fixed_height: 0 + } + + ctrl: { + id: 441 + type: label + text: "form.cmd.mission.roster" + cells: (0,0,1,1) + cell_insets: (0,0,0,0) + font: Limerick12 + back_color: (0,0,0) + fore_color: (255,255,255) + style: 0x0040 + transparent: true + } + + ctrl: { + id: 401 + type: list + cells: (0,1,1,1) + + style: 0x02 + scroll_bar: 2 + show_headings: true + + column: { title: "form.cmd.mission.mission", width: 150, align: left, sort: 0 } + column: { title: "form.cmd.mission.type", width: 150, align: left, sort: 0 } + column: { title: "form.cmd.mission.start", width: 130, align: right, sort: 0 } + }, + + ctrl: { + id: 442 + type: label + text: "form.cmd.mission.objectives" + cells: (0,2,1,1) + cell_insets: (0,0,0,0) + font: Limerick12 + back_color: (0,0,0) + fore_color: (255,255,255) + style: 0x0040 + transparent: true + } + + ctrl: { + id: 402 + type: text + cells: (0,3,1,1) + style: 0x02 + scroll_bar: 2 + }, + + ctrl: { + id: 403, + type: button, + text: "form.accept", + cells: (0,4,1,1) + + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + fixed_height: 19 + fixed_width: 150 + }, + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + pid: 0 + fixed_height: 19 + }, + + ctrl: { + id: 1 + type: button + text: "form.save" + cells: (4,6,1,1), + } + + ctrl: { + id: 2 + type: button + text: "form.exit" + cells: (5,6,1,1), + } +} diff --git a/data/content/Screens/CmdMsgDlg.frm b/data/content/Screens/CmdMsgDlg.frm new file mode 100644 index 0000000..b1f2e85 --- /dev/null +++ b/data/content/Screens/CmdMsgDlg.frm @@ -0,0 +1,76 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmdMsgDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,400,240) + back_color: (0,0,0) + fore_color: (255,255,255) + font: Limerick12 + + texture: "Message.pcx" + margins: (50,40,48,40) + + layout: { + x_mins: (20, 40, 100, 100, 20), + x_weights: ( 0, 0, 1, 1, 0), + + y_mins: (44, 30, 10, 80, 35), + y_weights: ( 0, 0, 0, 1, 0) + } + + defctrl: { + fore_color: (255, 255, 255) + font: Limerick12 + transparent: true + } + + ctrl: { + id: 100, + type: label, + text: "form.cmd.msg.title", + align: center + cells: (1,1,3,1) + font: Limerick18 + }, + + + ctrl: { + id: 101, + type: label, + rect: (180, 195, 280, 120), + text: "form.cmd.msg.text", + align: left + font: Verdana + cells: (1,3,3,1) + cell_insets: (0,0,0,20) + }, + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (10,0,0,16) + transparent: false + fixed_height: 19 + } + + ctrl: { + id: 1, + type: button, + cells: (3,4,1,1) + text: "form.close" + } +} + diff --git a/data/content/Screens/CmdOrdersDlg.frm b/data/content/Screens/CmdOrdersDlg.frm new file mode 100644 index 0000000..63b73e0 --- /dev/null +++ b/data/content/Screens/CmdOrdersDlg.frm @@ -0,0 +1,264 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmdOrdersDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0) + fore_color: (255, 255, 255) + + texture: "Frame1.pcx" + margins: (1,1,64,8) + + layout: { + x_mins: (10, 100, 20, 100, 100, 100, 10) + x_weights: ( 0, 1, 0, 2, 2, 2, 0) + + y_mins: (28, 30, 10, 90, 24, 60, 45) + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + } + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,5,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,3,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (4,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.cmd.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,5,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 100, 20, 100, 20) + x_weights: ( 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 5, 20, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + pid: 700 + }, + + ctrl: { + id: 300, + type: label, + cells: (1,1,1,1) + text: " ", // Operation Title Goes Here + font: Limerick12 + fore_color: (255, 255, 128) + }, + + ctrl: { + id: 301, + type: label, + cells: (3,1,1,1) + text: " ", // timestamp goes here + align: right + }, + + ctrl: { + id: 200, + type: label, + cells: (1,3,1,1) + text: " ", // player group goes here + }, + + ctrl: { + id: 201, + type: label, + cells: (3,3,1,1) + align: right, + }, + + // tab buttons: + + ctrl: { + id: 600 + pid: 0 + type: panel + transparent: true + + cells: (1,5,1,1), + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 10) + x_weights: ( 1) + + y_mins: ( 25, 25, 25, 25, 25, 25) + y_weights: ( 0, 0, 0, 0, 0, 1) + } + } + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,0) + pid: 600 + fixed_height: 19 + } + + ctrl: { + id: 100 + type: button + text: "form.cmd.orders" + cells: (0,0,1,1) + } + + ctrl: { + id: 101 + type: button + text: "form.cmd.theater" + cells: (0,1,1,1) + } + + ctrl: { + id: 102 + type: button + text: "form.cmd.forces" + cells: (0,2,1,1) + } + + ctrl: { + id: 103 + type: button + text: "form.cmd.intel" + cells: (0,3,1,1) + } + + ctrl: { + id: 104 + type: button + text: "form.cmd.missions" + cells: (0,4,1,1) + } + + + // main panel: + + ctrl: { + id: 400 + pid: 0 + type: text + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (3,5,3,1) + cell_insets: (10,10,12,10) + + style: 0x02, + scroll_bar: 2, + text: " ", // Orders and objectives for the campaign go here... + fixed_height: 0 + } + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + pid: 0 + fixed_height: 19 + }, + + ctrl: { + id: 1 + type: button + text: "form.save" + cells: (4,6,1,1), + } + + ctrl: { + id: 2 + type: button + text: "form.exit" + cells: (5,6,1,1), + } +} diff --git a/data/content/Screens/CmdTheaterDlg.frm b/data/content/Screens/CmdTheaterDlg.frm new file mode 100644 index 0000000..18427a6 --- /dev/null +++ b/data/content/Screens/CmdTheaterDlg.frm @@ -0,0 +1,356 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmdTheaterDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0) + fore_color: (255, 255, 255) + + texture: "Frame1.pcx" + margins: (1,1,64,8) + + layout: { + x_mins: (10, 100, 20, 100, 100, 100, 10) + x_weights: ( 0, 1, 0, 2, 2, 2, 0) + + y_mins: (28, 30, 10, 90, 24, 60, 45) + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + } + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,5,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,3,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (4,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.cmd.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,5,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 100, 20, 100, 20) + x_weights: ( 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 5, 20, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + pid: 700 + }, + + ctrl: { + id: 300, + type: label, + cells: (1,1,1,1) + text: " ", // Operation Title Goes Here + font: Limerick12 + fore_color: (255, 255, 128) + }, + + ctrl: { + id: 301, + type: label, + cells: (3,1,1,1) + text: " ", // timestamp goes here + align: right + }, + + ctrl: { + id: 200, + type: label, + cells: (1,3,1,1) + text: " ", // player group goes here + }, + + ctrl: { + id: 201, + type: label, + cells: (3,3,1,1) + align: right, + }, + + // tab buttons: + + ctrl: { + id: 600 + pid: 0 + type: panel + transparent: true + + cells: (1,5,1,1), + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 10) + x_weights: ( 1) + + y_mins: ( 25, 25, 25, 25, 25, 25) + y_weights: ( 0, 0, 0, 0, 0, 1) + } + } + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,0) + pid: 600 + fixed_height: 19 + } + + ctrl: { + id: 100 + type: button + text: "form.cmd.orders" + cells: (0,0,1,1) + } + + ctrl: { + id: 101 + type: button + text: "form.cmd.theater" + cells: (0,1,1,1) + } + + ctrl: { + id: 102 + type: button + text: "form.cmd.forces" + cells: (0,2,1,1) + } + + ctrl: { + id: 103 + type: button + text: "form.cmd.intel" + cells: (0,3,1,1) + } + + ctrl: { + id: 104 + type: button + text: "form.cmd.missions" + cells: (0,4,1,1) + } + + + // main panel: + + ctrl: { + id: 900 + pid: 0 + type: panel + transparent: true + fixed_height: 0 + + cells: (3,5,3,1) + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 100, 100, 100, 100, 25, 25) + x_weights: ( 1, 1, 1, 2, 0, 0) + + y_mins: ( 25, 100) + y_weights: ( 0, 1) + } + } + + defctrl: { + align: left + font: Verdana + back_color: ( 41, 41, 41) + fore_color: (255,255,255) + standard_image: "" + activated_image: "" + transition_image: "" + transparent: false + + texture: Panel + margins: (12,12,12,0), + + bevel_width: 6 + cell_insets: (0,0,0,10) + pid: 900 + fixed_height: 0 + } + + ctrl: { + id: 400 + type: map + cells: (0,1,6,1) + cell_insets: (0,0,0,0) + style: 2 + } + + defctrl: { + align: left + bevel_width: 6 + border: false + cell_insets: (0,10,0,0) + fore_color: (0,0,0) + font: Limerick12 + sticky: true, + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + margins: (3,18,0,0) + transparent: false + fixed_height: 19 + } + + ctrl: { + id: 401, + type: button, + cells: (0,0,1,1) + text: "form.cmd.theater.galaxy" + } + + ctrl: { + id: 402, + type: button, + cells: (1,0,1,1) + text: "form.cmd.theater.system" + } + + ctrl: { + id: 403, + type: button, + cells: (2,0,1,1) + text: "form.cmd.theater.sector" + } + + defctrl: { + sticky: false, + standard_image: Button17x17_0 + activated_image: Button17x17_1 + transition_image: Button17x17_2 + margins: (0,0,0,0) + font: Verdana, + align: center, + sticky: false + fixed_height: 19 + cell_insets: (6,0,0,0) + }, + + ctrl: { + id: 410, + type: button, + cells: (4,0,1,1) + text: "+", + }, + + ctrl: { + id: 411, + type: button, + cells: (5,0,1,1) + text: "-", + }, + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + pid: 0 + fixed_height: 19 + }, + + ctrl: { + id: 1 + type: button + text: "form.save" + cells: (4,6,1,1), + } + + ctrl: { + id: 2 + type: button + text: "form.exit" + cells: (5,6,1,1), + } +} diff --git a/data/content/Screens/CmpCompleteDlg.frm b/data/content/Screens/CmpCompleteDlg.frm new file mode 100644 index 0000000..9f30a49 --- /dev/null +++ b/data/content/Screens/CmpCompleteDlg.frm @@ -0,0 +1,85 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmpCompleteDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0) + fore_color: (255, 255, 255) + font: Limerick12, + + layout: { + x_mins: (0) + x_weights: (1) + + y_mins: (0, 0, 0) + y_weights: (1, 6, 2) + } + + // background images: + + defctrl: { + fore_color: (0,0,0) + cell_insets: (0,0,0,0) + } + + ctrl: { + id: 300 + type: background + texture: LoadDlg1 + cells: (0,0,1,1) + margins: (248,2,2,32) + hide_partial: false + } + + ctrl: { + id: 100 + type: image + cells: (0,1,1,1) + hide_partial: false + } + + ctrl: { + id: 400 + type: background + texture: LoadDlg2 + cells: (0,2,1,1) + margins: (2,248,48,2) + hide_partial: false + + layout: { + x_mins: (20, 100, 100, 20) + x_weights: ( 0, 1, 0, 0) + + y_mins: (20, 20, 30) + y_weights: ( 1, 0, 0) + } + } + + // close button: + + ctrl: { + id: 1 + pid: 400 + type: button + text: "form.close" + + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + fixed_height: 19 + + cells: (2,1,1,1) + } +} diff --git a/data/content/Screens/CmpLoadDlg.frm b/data/content/Screens/CmpLoadDlg.frm new file mode 100644 index 0000000..8662b17 --- /dev/null +++ b/data/content/Screens/CmpLoadDlg.frm @@ -0,0 +1,89 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmpLoadDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0) + fore_color: (255, 255, 255) + font: Limerick12, + + layout: { + x_mins: (0) + x_weights: (1) + + y_mins: (0, 0, 0) + y_weights: (2, 1, 3) + }, + + // background images: + + defctrl: { + fore_color: (0,0,0) + cell_insets: (0,0,0,0) + }, + + ctrl: { + id: 300 + type: background + texture: LoadDlg1 + cells: (0,0,1,1) + margins: (248,2,2,32) + hide_partial: false + }, + + ctrl: { + id: 100 + type: image + cells: (0,1,1,1) + hide_partial: false + }, + + ctrl: { + id: 400 + type: background + texture: LoadDlg2 + cells: (0,2,1,1) + margins: (2,248,48,2) + hide_partial: false + + layout: { + x_mins: (30, 150, 30) + x_weights: ( 1, 1, 1) + + y_mins: (20, 20, 20, 20) + y_weights: ( 1, 1, 1, 3) + } + }, + + + ctrl: { + id: 101 + pid: 400 + type: label, + cells: (1,1,1,1) + text: "", + font: Verdana + align: center + transparent: true + }, + + ctrl: { + id: 102 + pid: 400 + type: slider + cells: (1,2,1,1) + + active_color: (255, 255, 160) + back_color: ( 21, 21, 21) + border: true + transparent: false + fixed_height: 10 + }, +} + diff --git a/data/content/Screens/CmpSceneDlg.frm b/data/content/Screens/CmpSceneDlg.frm new file mode 100644 index 0000000..9988307 --- /dev/null +++ b/data/content/Screens/CmpSceneDlg.frm @@ -0,0 +1,59 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmpSceneDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: (0,0,0) + + layout: { + x_mins: (0,0,0) + x_weights: (1,9,1) + + y_mins: (0, 200, 0, 28, 0 ) + y_weights: (1, 6, 0.3, 0, 0.5) + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + } + + ctrl: { + id: 101 + type: label + cells: (0,1,3,1) + hide_partial: false + fore_color: (0,0,0) + back_color: (0,0,0) + cell_insets: (0,0,0,0) + } + + ctrl: { + id: 102 + type: text + text: "" + scroll_bar: 0 + smooth_scroll: false + transparent: true + align: left + cells: (1,3,1,1) + hide_partial: false + fore_color: (255,255,128) + back_color: (0,0,0) + cell_insets: (0,0,0,0) + } +} diff --git a/data/content/Screens/CmpSelectDlg.frm b/data/content/Screens/CmpSelectDlg.frm new file mode 100644 index 0000000..a12562d --- /dev/null +++ b/data/content/Screens/CmpSelectDlg.frm @@ -0,0 +1,214 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnSelectDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 80, 80, 10, 100, 100, 100, 10), + x_weights: ( 0, 1, 1, 0, 3, 3, 3, 0), + + y_mins: (28, 25, 20, 52, 60, 45), + y_weights: ( 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame3a + cells: (1,3,4,3), + cell_insets: (0,0,0,10), + margins: (48,80,48,48) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame3b + cells: (5,3,2,3), + cell_insets: (0,0,0,10), + margins: (80,48,48,48) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.select.campaigns", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,4,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // main panel: + + ctrl: { + id: 300 + type: panel + transparent: true + + cells: (1,3,6,3) + cell_insets: (10,10,14,54) + hide_partial: false + + layout: { + x_mins: (100, 100, 70, 20, 50, 50, 50) + x_weights: ( 0, 0, 0, 0, 1, 1, 1) + + y_mins: (40, 25, 100, 30) + y_weights: ( 0, 0, 1, 0) + } + } + + defctrl: { + sticky: true + standard_image: Tab17_0 + activated_image: Tab17_1 + transition_image: Tab17_2 + align: left + font: Limerick12 + fixed_width: 0 + fixed_height: 19 + cell_insets: (0,5,10,0) + margins: (10,10,0,0) + fore_color: (0,0,0) + transparent: false + style: 0 + pid: 300 + } + + ctrl: { + id: 100 + type: button + cells: (0,0,1,1) + text: "form.select.new" + }, + + ctrl: { + id: 101 + type: button + cells: (1,0,1,1) + text: "form.select.saved" + }, + + ctrl: { + id: 102 + type: button + cells: (0,3,1,1) + text: "form.select.delete" + }, + + defctrl: { + fore_color: (255,255,255) + back_color: (0,0,0) + bevel_width: 0 + fixed_height: 0 + align: left + transparent: true + style: 0x0040 + cell_insets: (0,0,0,0) + }, + + ctrl: { + id: 901, + type: label, + cells: (0,1,3,1) + text: "form.select.campaign" + } + + ctrl: { + id: 902, + type: label, + cells: (4,1,3,1) + text: "form.select.description", + } + + defctrl: { + standard_image: "" + activated_image: "" + transition_image: "" + font: Verdana, + back_color: ( 69, 69, 67), + fore_color: (255,255,255), + style: 0x02 + scroll_bar: 2 + + texture: Panel + margins: (12,12,12,0) + transparent: false + }, + + ctrl: { + id: 201 + type: list + cells: (0,2,3,1) + line_height: 100, + + column: { + title: Campaigns, + width: 252, + align: left, + sort: 0 } + }, + + ctrl: { + id: 200 + type: text + cells: (4,2,3,1) + font: Verdana + }, + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + texture: "" + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + fixed_height: 19 + pid: 0 + }, + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (5,5,1,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (6,5,1,1), + }, +} + diff --git a/data/content/Screens/ConfirmDlg.frm b/data/content/Screens/ConfirmDlg.frm new file mode 100644 index 0000000..d04f618 --- /dev/null +++ b/data/content/Screens/ConfirmDlg.frm @@ -0,0 +1,79 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 4.5 +// File: ConfirmDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2004. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,400,280) + back_color: (0,0,0) + fore_color: (255,255,255) + font: Limerick12 + + texture: "Message.pcx" + margins: (50,40,48,40) + + layout: { + x_mins: (20, 40, 100, 100, 20), + x_weights: ( 0, 0, 1, 1, 0), + + y_mins: (44, 30, 30, 80, 35), + y_weights: ( 0, 0, 0, 1, 0) + } + + defctrl: { + fore_color: (255, 255, 255) + font: Limerick12 + transparent: true + } + + ctrl: { + id: 100 + type: label + text: "form.confirm.title" + align: center + cells: (1,1,3,1) + font: Limerick18 + } + + + ctrl: { + id: 101 + type: label + text: "form.confirm.message" + align: left + font: Verdana + cells: (1,2,3,1) + } + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (10,0,0,16) + transparent: false + } + + ctrl: { + id: 1, + type: button, + cells: (2,4,1,1) + text: "form.ok" + } + + ctrl: { + id: 2, + type: button, + cells: (3,4,1,1) + text: "form.Cancel" + } +} diff --git a/data/content/Screens/CtlDlg.frm b/data/content/Screens/CtlDlg.frm new file mode 100644 index 0000000..fc68651 --- /dev/null +++ b/data/content/Screens/CtlDlg.frm @@ -0,0 +1,475 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MenuDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 20, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,3,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,3,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.options.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + } + + + // tabs: + + ctrl: { + id: 900 + type: panel + transparent: true + cells: (1,3,4,1) + hide_partial: false + + layout: { + x_mins: (100, 100, 100, 100, 100, 0), + x_weights: (0.2, 0.2, 0.2, 0.2, 0.2, 1), + + y_mins: (24), + y_weights: ( 1) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0), + cell_insets: (0,4,0,0) + }, + + ctrl: { + id: 901 + pid: 900 + type: button + text: "form.options.tab.video" + cells: (0,0,1,1) + } + + ctrl: { + id: 902 + pid: 900 + type: button + text: "form.options.tab.audio" + cells: (1,0,1,1) + } + + ctrl: { + id: 903 + pid: 900 + type: button + text: "form.options.tab.controls" + cells: (2,0,1,1) + } + + ctrl: { + id: 904 + pid: 900 + type: button + text: "form.options.tab.gameplay" + cells: (3,0,1,1) + } + + ctrl: { + id: 905 + pid: 900 + type: button + text: "form.options.tab.mods" + cells: (4,0,1,1) + } + + // main panel: + + ctrl: { + id: 300 + type: panel + transparent: false //true + + texture: Panel + margins: (12,12,12,0), + + cells: (1,4,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: (10, 90, 90, 90, 90, 20, 80, 120, 10) + x_weights: ( 2, 3, 3, 3, 3, 2, 3, 3, 2) + + y_mins: (20, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 0, 20) + y_weights: ( 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2) + } + } + + defctrl: { + fore_color: (0,0,0) + font: Limerick12, + align: left + sticky: true + standard_image: Tab17_0 + activated_image: Tab17_1 + transition_image: Tab17_2 + bevel_width: 6 + margins: (10,10,0,0) + cell_insets: (2,3,0,6) + transparent: false + }, + + ctrl: { + id: 101 + pid: 300 + type: button + text: "form.control.flight" + cells: (1,1,1,1) + cell_insets: (0,3,0,6) + }, + + ctrl: { + id: 102 + pid: 300 + type: button + text: "form.control.weapons" + cells: (2,1,1,1) + }, + + ctrl: { + id: 103 + pid: 300 + type: button + text: "form.control.view" + cells: (3,1,1,1) + }, + + ctrl: { + id: 104 + pid: 300 + type: button + text: "form.control.misc" + cells: (4,1,1,1) + cell_insets: (2,0,0,6) + }, + + defctrl: { + font: Verdana + fore_color: (255, 255, 255) + back_color: ( 41, 41, 41) + simple: true + bevel_width: 3 + text_align: left + cell_insets: (0,0,0,0) + + standard_image: "" + activated_image: "" + transition_image: "" + sticky: false + }, + + ctrl: { + id: 200 + pid: 300 + type: list + cells: (1,2,4,10) + + style: 0x02 + scroll_bar: 2 + show_headings: true + transparent: false + + column: { + title: COMMAND + width: 160 + align: left + sort: 0 }, + + column: { + title: KEY + width: 197 + align: left + sort: 0 } + } + + + defctrl: { + transparent: true + } + + ctrl: { + id: 110 + pid: 300 + type: label + text: "form.control.style" + cells: (6,1,1,1) + } + + ctrl: { + id: 111 + pid: 300 + type: label + text: "form.control.joystick" + cells: (6,2,1,1) + } + + ctrl: { + id: 112 + pid: 300 + type: label + text: "form.control.throttle" + cells: (6,3,1,1) + } + + ctrl: { + id: 113 + pid: 300 + type: label + text: "form.control.rudder" + cells: (6,4,1,1) + } + + ctrl: { + id: 114 + pid: 300 + type: label + text: "form.control.sensitivity" + cells: (6,5,1,1) + } + + ctrl: { + id: 115 + pid: 300 + type: label + text: "form.control.joy-axis" + cells: (6,6,1,1) + } + + ctrl: { + id: 411 + pid: 300 + type: label + text: "form.control.mouse" + cells: (6,8,1,1) + } + + ctrl: { + id: 414 + pid: 300 + type: label + text: "form.control.sensitivity" + cells: (6,9,1,1) + } + + ctrl: { + id: 415 + pid: 300 + type: label + text: "form.control.inverted" + cells: (6,10,1,1) + } + + defctrl: { + back_color: ( 41, 41, 41) + border_color: (192, 192, 192) + active_color: ( 92, 92, 92) + + cell_insets: (0,0,0,5) + font: Verdana + simple: true + bevel_width: 3 + text_align: left + transparent: false + } + + ctrl: { + id: 210 + pid: 300 + type: combo + cells: (7,1,1,1) + + item: "form.control.aircraft", + item: "form.control.spacecraft", + } + + ctrl: { + id: 211 + pid: 300 + type: combo + cells: (7,2,1,1) + + item: "form.control.disable" + item: "form.control.joy1" + item: "form.control.joy2" + item: "form.control.both" + } + + ctrl: { + id: 212 + pid: 300 + type: combo + cells: (7,3,1,1) + + item: "form.control.disable" + item: "form.control.enable" + } + + ctrl: { + id: 213 + pid: 300 + type: combo + cells: (7,4,1,1) + + item: "form.control.disable" + item: "form.control.enable" + } + + ctrl: { + id: 214 + pid: 300 + type: slider + cells: (7,5,1,1) + cell_insets: (0,0,6,10) + + active_color: (250, 250, 100) + back_color: ( 0, 0, 0) + border_color: ( 92, 92, 92) + active: true + } + + ctrl: { + id: 215 + pid: 300 + type: button + cells: (7,6,1,1) + text: "form.control.setup" + + fore_color: (0,0,0) + font: Limerick12, + align: left + sticky: true + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (2,3,0,6) + } + + ctrl: { + id: 511 + pid: 300 + type: combo, + cells: (7,8,1,1) + + item: "form.control.disable" + item: "form.control.mouse-look", + item: "form.control.virtual-stick", + } + + ctrl: { + id: 514 + pid: 300 + type: slider, + cells: (7,9,1,1) + cell_insets: (0,0,6,10) + + active_color: (250, 250, 100), + back_color: ( 0, 0, 0), + border_color: ( 92, 92, 92), + active: true, + }, + + ctrl: { + id: 515 + pid: 300 + type: button + cells: (7,10,1,1) + fixed_width: 16 + fixed_height: 16 + + standard_image: Checkbox_0 + activated_image: Checkbox_2 + transition_image: Checkbox_1 + sticky: true + }, + + + // buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + transparent: false + }, + + ctrl: { + id: 1, + type: button, + text: "form.apply", + cells: (3,5,1,1) + }, + + ctrl: { + id: 2, + type: button, + text: "form.cancel", + cells: (4,5,1,1), + }, + +} diff --git a/data/content/Screens/DebriefDlg.frm b/data/content/Screens/DebriefDlg.frm new file mode 100644 index 0000000..7d2fd43 --- /dev/null +++ b/data/content/Screens/DebriefDlg.frm @@ -0,0 +1,375 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: DebriefDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 10, 90, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,4,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.debrief.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,4,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 60, 100, 60, 100, 20) + x_weights: ( 0, 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 15, 15, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + }, + + ctrl: { + id: 200 + pid: 700 + type: label + cells: (1,1,2,1) + text: " ", // mission title goes here + fore_color: (255, 255, 128) + font: Limerick12 + }, + + ctrl: { + id: 201 + pid: 700 + type: label + cells: (1,2,1,1) + text: "form.debrief.system" + }, + + ctrl: { + id: 202 + pid: 700 + type: label + cells: (2,2,1,1) + text: " " // system name goes here + }, + + ctrl: { + id: 203 + pid: 700 + type: label + cells: (1,3,1,1) + text: "form.debrief.sector" + }, + + ctrl: { + id: 204 + pid: 700 + type: label + cells: (2,3,1,1) + text: " " // sector name goes here + }, + + + ctrl: { + id: 206 + pid: 700 + type: label + cells: (4,1,1,1) + text: " " // timestamp goes here + align: right + }, + + + // main panel: + + ctrl: { + id: 800 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,5,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 20, 100, 10, 100, 20) + x_weights: ( 0, 4, 0, 3, 0) + + y_mins: ( 10, 20, 40, 20, 60, 20, 60, 20) + y_weights: ( 0, 0, 0, 0, 1, 0, 1, 0) + } + } + + defctrl: { + pid: 800 + } + + ctrl: { + id: 110, + type: label + cells: (1,1,3,1) + text: "form.debrief.objectives" + font: Limerick12 + }, + + ctrl: { + id: 210 + type: label + cells: (1,2,3,1) + text: " " + font: Verdana + }, + + ctrl: { + id: 111 + type: label + cells: (3,1,1,1) + text: "form.debrief.score" + font: Limerick12 + } + + ctrl: { + id: 211 + type: label + cells: (3,1,1,1) + align: right + fore_color: (255, 255, 128) + font: Limerick12 + } + + + ctrl: { + id: 120 + type: label + cells: (1,3,1,1) + text: "form.debrief.active-units" + font: Limerick12 + }, + + ctrl: { + id: 320 + type: list + cells: (1,4,1,1) + cell_insets: (0,0,0,10) + font: "Verdana" + back_color: (41,41,41) + transparent: false, + + style: 0x02, + item_style: 0x00, + selected_style: 0x02, + scroll_bar: 2, + leading: 2, + show_headings: true, + + column: { + title: PKG, + width: 50, + align: center, + sort: 3 }, + + column: { + title: CALLSIGN, + width: 90, + align: left, + sort: 3 }, + + column: { + title: ROLE, + width: 82, + align: left, + sort: 3 }, + + column: { + title: TYPE, + width: 60, + align: left, + sort: 3 }, + }, + + ctrl: { + id: 130 + type: label + cells: (1,5,1,1) + text: "form.debrief.mission-summary" + font: Limerick12 + }, + + ctrl: { + id: 330 + type: list + cells: (1,6,1,1) + font: "Verdana" + back_color: (41,41,41) + transparent: false + + style: 0x02, + item_style: 0x00, + selected_style: 0x00, + scroll_bar: 2, + leading: 2, + show_headings: true, + + column: { + title: STAT, + width: 141, + align: right, + sort: 3 }, + + column: { + title: VALUE, + width: 141, + align: left, + sort: 3 }, + + }, + + + ctrl: { + id: 130 + type: label + cells: (3,3,1,1) + text: "form.debrief.mission-events" + font: Limerick12 + }, + + ctrl: { + id: 340 + type: list + cells: (3,4,1,3) + font: "Verdana" + back_color: (41,41,41) + transparent: false + + style: 0x02, + item_style: 0x00, + selected_style: 0x00, + scroll_bar: 2, + leading: 2, + show_headings: true, + + column: { + title: TIME, + width: 50, + align: center, + sort: 3 }, + + column: { + title: EVENT, + width: 132, + align: left, + sort: 3 }, + + column: { + title: TARGET, + width: 80, + align: left, + sort: 3 }, + } + + + // ok and cancel buttons: + + defctrl: { + pid: 0 + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + }, + + ctrl: { + id: 1 + type: button + text: "form.close" + cells: (4,6,1,1), + }, + +} diff --git a/data/content/Screens/EngDlg.frm b/data/content/Screens/EngDlg.frm new file mode 100644 index 0000000..b0ee8d9 --- /dev/null +++ b/data/content/Screens/EngDlg.frm @@ -0,0 +1,606 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: EngDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 100, 10), + x_weights: ( 0, 3, 1, 0), + + y_mins: (28, 30, 10, 50, 10, 60, 45), + y_weights: ( 0, 0, 0, 1, 0, 2, 0) + }, + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,2,2), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,5,1,2), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (2,5,1,2), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10 + type: label + text: "form.engineering.title" + align: left + font: Limerick18 + fore_color: (255,255,255) + transparent: true + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + } + + + // upper panel: + + ctrl: { + id: 1100 + type: panel + transparent: true + + cells: (1,3,2,2), + + layout: { + x_mins: ( 10, 100, 10, 100, 10, 100, 10, 100, 10) + x_weights: ( 0, 1, 0, 1, 0, 1, 0, 1, 0) + + y_mins: ( 10, 25, 10, 25, 10) + y_weights: ( 0, 0, 0, 1, 0) + } + } + + + defctrl: { + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + font: Limerick12 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,0) + fixed_height: 19 + pid: 1100 + } + + ctrl: { + id: 201 + type: button + cells: (1,1,1,1) + text: "form.engineering.reactor-1" + }, + + ctrl: { + id: 202 + type: button + cells: (3,1,1,1) + text: "form.engineering.reactor-2" + }, + + ctrl: { + id: 203 + type: button + cells: (5,1,1,1) + text: "form.engineering.reactor-3" + }, + + ctrl: { + id: 204 + type: button + cells: (7,1,1,1) + text: "form.engineering.reactor-4" + }, + + defctrl: { + standard_image: "" + activated_image: "" + transition_image: "" + fixed_height: 0 + active: false + active_color: (255,255,128) + border: false + }, + + ctrl: { + id: 211 + type: slider + cells: (1,2,1,1) + }, + + ctrl: { + id: 212 + type: slider + cells: (3,2,1,1) + }, + + ctrl: { + id: 213 + type: slider + cells: (5,2,1,1) + }, + + ctrl: { + id: 214 + type: slider + cells: (7,2,1,1) + }, + + defctrl: { + back_color: ( 61, 61, 59), + fore_color: (255, 255, 255), + font: Verdana, + leading: 2, + multiselect: 1, + dragdrop: 1, + scroll_bar: 2, + show_headings: true, + style: 0x20, + + texture: Panel + margins: (12,12,12,0) + }, + + ctrl: { + id: 301 + type: list + cells: (1,3,1,1) + + column: { + title: SYSTEM, + width: 107, + align: left, + sort: 1 }, + + column: { + title: POWER, + width: 59, + align: right, + sort: -2 } + }, + + ctrl: { + id: 302, + type: list + cells: (3,3,1,1) + + column: { + title: SYSTEM, + width: 107, + align: left, + sort: 1 }, + + column: { + title: POWER, + width: 59, + align: right, + sort: -2 } + }, + + ctrl: { + id: 303, + type: list + cells: (5,3,1,1) + + column: { + title: SYSTEM, + width: 107, + align: left, + sort: 1 }, + + column: { + title: POWER, + width: 59, + align: right, + sort: -2 } + }, + + ctrl: { + id: 304, + type: list + cells: (7,3,1,1) + + column: { + title: SYSTEM, + width: 107, + align: left, + sort: 1 }, + + column: { + title: POWER, + width: 59, + align: right, + sort: -2 } + }, + + + // lower panel: + + ctrl: { + id: 1200 + pid: 0 + type: panel + transparent: true + + cells: (1,5,2,1), + + layout: { + x_mins: ( 10, 50, 50, 10, 50, 50, 50, 10, 100, 10) + x_weights: ( 0, 3, 3, 0, 2, 2, 2, 0, 6, 0) + + y_mins: ( 30, 20, 30, 30, 20, 30, 20, 30, 23, 18, 5) + y_weights: ( 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0) + } + } + + + defctrl: { + back_color: ( 92, 92, 92) + fore_color: (255, 255, 255) + font: Limerick12 + border: false + transparent: false + pid: 1200 + }, + + ctrl: { + id: 401 + pid: 1200 + type: label + cells: (1,1,2,1) + style: 0x0040 + back_color: (41,41,41) + transparent: true + }, + + defctrl: { + bevel_width: 0 + border: false + fore_color: (0,0,0) + align: left + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + margins: (3,18,0,0) + fixed_height: 19 + } + + ctrl: { + id: 402 + pid: 1200 + type: button + cells: (1,2,1,1) + cell_insets: (0,3,0,0) + text: "form.engineering.power-off" + sticky: true + } + + ctrl: { + id: 403 + pid: 1200 + type: button + cells: (2,2,1,1) + cell_insets: (3,0,0,0) + text: "form.engineering.power-on" + sticky: true + } + + ctrl: { + id: 410 + pid: 1200 + type: button + cells: (1,3,2,1) + text: "form.engineering.override" + sticky: true + } + + ctrl: { + id: 700 + pid: 1200 + type: button + cells: (1,8,2,1) + text: "form.engineering.auto-repair" + sticky: true + } + + defctrl: { + standard_image: "" + activated_image: "" + transition_image: "" + fixed_height: 0 + } + + ctrl: { + id: 450 + pid: 1200 + type: label + cells: (1,4,2,1) + text: "form.engineering.power-allocation", + font: Verdana, + transparent: true + }, + + ctrl: { + id: 404 + pid: 1200 + type: slider + cells: (1,5,2,1) + active: true + active_color: (255,255,128) + border: false + fixed_height: 10 + } + + ctrl: { + id: 451 + pid: 1200 + type: label + cells: (1,6,2,1) + text: "form.engineering.capacitor-charge" + font: Verdana + transparent: true + } + + ctrl: { + id: 405 + pid: 1200 + type: slider + cells: (1,7,2,1) + active: false + active_color: (255,255,128) + border: false + fixed_height: 10 + } + + + + ctrl: { + id: 500 + pid: 1200 + type: label + cells: (4,1,3,1) + style: 0x0040, + back_color: (41,41,41), + text: "form.engineering.components", + transparent: true, + font: Limerick12, + fore_color: (255,255,255), + }, + + ctrl: { + id: 501 + pid: 1200 + type: list + cells: (4,2,3,6) + cell_insets: (0,0,0,6) + + font: Verdana + fore_color: (255, 255, 255) + back_color: ( 61, 61, 59) + leading: 2 + multiselect: 0 + dragdrop: 0 + scroll_bar: 2 + show_headings: true + style: 0x20 + transparent: false + + texture: Panel + margins: (12,12,12,0) + + column: { + title: COMPONENT, + width: 155, + align: left, + sort: 1 }, + + column: { + title: STATUS, + width: 82, + align: left, + sort: -2 }, + + column: { + title: SPARES, + width: 65, + align: right, + sort: -2 } + }, + + defctrl: { + bevel_width: 0 + border: false + fore_color: (0,0,0) + align: left + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + margins: (3,18,0,0) + fixed_height: 19 + } + + ctrl: { + id: 502 + pid: 1200 + type: button + cells: (4,8,1,1) + cell_insets: (0,3,0,0) + text: "form.engineering.repair" + sticky: false + }, + + ctrl: { + id: 503, + pid: 1200 + type: button + cells: (5,8,1,1) + cell_insets: (3,0,0,0) + text: "form.engineering.replace" + sticky: false + }, + + ctrl: { + id: 512 + pid: 1200 + type: label + cells: (4,9,1,1) + cell_insets: (0,3,0,0) + text: " " // Repair Time + font: Verdana + align: right + transparent: true + }, + + ctrl: { + id: 513, + pid: 1200 + type: label + cells: (5,9,1,1) + cell_insets: (3,0,0,0) + text: " " // Replace Time + font: Verdana + align: right + transparent: true + }, + + ctrl: { + id: 600 + pid: 1200 + type: label + cells: (8,1,1,1) + style: 0x0040 + text: "form.engineering.repair-queue" + transparent: true + font: Limerick12 + fore_color: (255,255,255) + back_color: (41,41,41) + } + + ctrl: { + id: 601 + pid: 1200 + type: list + cells: (8,2,1,6) + cell_insets: (0,0,0,6) + fixed_height: 0 + + font: Verdana + fore_color: (255, 255, 255) + back_color: ( 61, 61, 59) + leading: 2 + multiselect: 0 + dragdrop: 0 + scroll_bar: 2 + show_headings: true + style: 0x20 + transparent: false + + texture: Panel + margins: (12,12,12,0) + + + column: { + title: SYSTEM, + width: 212, + align: left, + sort: 3 }, + + column: { + title: ETR, + width: 90, + align: right, + sort: 3 } + }, + + defctrl: { + align: center + standard_image: Button17x17_0 + activated_image: Button17x17_1 + transition_image: Button17x17_2 + cell_insets: (0,0,0,0) + fixed_width: 19 + fixed_height: 19 + } + + ctrl: { + id: 602 + pid: 1200 + type: button + cells: (8,8,1,1) + text: "^" + }, + + ctrl: { + id: 603 + pid: 1200 + type: button + cells: (8,8,1,1) + cell_insets: (25,0,0,0) + text: "v" + }, + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + fixed_height: 19 + fixed_width: 0 + pid: 0 + }, + + ctrl: { + id: 1 + type: button + text: "form.close" + cells: (2,6,1,1) + }, +} diff --git a/data/content/Screens/ExitDlg.frm b/data/content/Screens/ExitDlg.frm new file mode 100644 index 0000000..0d6ff23 --- /dev/null +++ b/data/content/Screens/ExitDlg.frm @@ -0,0 +1,88 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: ExitDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,440,320) + back_color: (0,0,0) + fore_color: (255,255,255) + font: Limerick12 + + texture: "Message.pcx" + margins: (50,40,48,40) + + layout: { + x_mins: (20, 40, 100, 100, 20) + x_weights: ( 0, 0, 1, 1, 0) + + y_mins: (44, 30, 30, 80, 35) + y_weights: ( 0, 0, 0, 1, 0) + } + + ctrl: { + id: 100, + type: label, + text: "form.exit.title", + transparent: true, + align: center, + font: Limerick18, + fore_color: (255,255,255), + cells: (1,1,3,1) + } + + ctrl: { + id: 101, + type: label, + text: "form.exit.message", + transparent: true, + align: left, + font: Verdana, + fore_color: (255,255,255), + cells: (1,2,3,1) + } + + ctrl: { + id: 201, + type: text, + text: "", + scroll_bar: 0, + smooth_scroll: true, + transparent: true, + align: left, + font: Verdana, + fore_color: (255,255,255), + cells: (1,3,3,1) + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (0,0,0), + standard_image: Button17_0, + activated_image: Button17_1, + transition_image: Button17_2, + bevel_width: 6, + margins: (3,18,0,0), + cell_insets: (10,0,0,16) + } + + ctrl: { + id: 1, + type: button, + text: "form.exit", + cells: (2,4,1,1) + } + + ctrl: { + id: 2, + type: button, + text: "form.cancel", + cells: (3,4,1,1), + } +} diff --git a/data/content/Screens/FileDlg.frm b/data/content/Screens/FileDlg.frm new file mode 100644 index 0000000..aeac3fa --- /dev/null +++ b/data/content/Screens/FileDlg.frm @@ -0,0 +1,122 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: CmdMsgDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,400,380) + back_color: (0,0,0) + fore_color: (255,255,255) + font: Limerick12 + + texture: "Message.pcx" + margins: (50,40,48,40) + + layout: { + x_mins: (20, 50, 100, 100, 20) + x_weights: ( 0, 0, 1, 1, 0) + + y_mins: (44, 30, 10, 25, 80, 35) + y_weights: ( 0, 0, 0, 0, 1, 0) + } + + defctrl: { + fore_color: (255, 255, 255) + font: Limerick12 + transparent: true + } + + ctrl: { + id: 100, + type: label, + align: center + cells: (1,1,3,1) + font: Limerick18 + text: "form.file.title", + }, + + defctrl: { + font: Verdana, + transparent: false, + style: 0, + }, + + + ctrl: { + id: 110, + type: label, + cells: (1,3,1,1) + text: "form.file.name", + transparent: true, + }, + + ctrl: { + id: 111, + type: label, + cells: (1,4,1,1) + text: "form.file.files", + transparent: true, + }, + + defctrl: { + back_color: (41, 41, 41), + style: 0x02, + scroll_bar: 0, + }, + + ctrl: { + id: 200 + type: edit + cells: (2,3,2,1) + cell_insets: (10,0,0,0) + fixed_height: 19 + }, + + ctrl: { + id: 201 + type: list + cells: (2,4,2,1) + cell_insets: (10,0,0,20) + scroll_bar: 2, + + column: { + title: Files, + width: 200, + align: left, + sort: 0 } + }, + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (10,0,0,16) + transparent: false + fixed_height: 19 + } + + ctrl: { + id: 1 + type: button + cells: (2,5,1,1) + text: "form.save" + }, + + ctrl: { + id: 2 + type: button + cells: (3,5,1,1) + text: "form.cancel" + }, +} diff --git a/data/content/Screens/FirstTimeDlg.frm b/data/content/Screens/FirstTimeDlg.frm new file mode 100644 index 0000000..d3f7cc7 --- /dev/null +++ b/data/content/Screens/FirstTimeDlg.frm @@ -0,0 +1,158 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: FirstTimeDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,440,430) + back_color: (0,0,0) + fore_color: (255,255,255) + font: Limerick12 + + texture: "Message.pcx" + margins: (50,40,48,40) + + layout: { + x_mins: (20, 90, 100, 100, 20) + x_weights: ( 0, 0, 1, 1, 0) + + y_mins: (44, 25, 5, 45, 45, 45, 45, 45, 45, 35) + y_weights: ( 0, 0, 0, 0, 1, 0, 1, 0, 1, 0) + } + + defctrl: { + base_color: ( 92, 92, 92), + back_color: ( 21, 21, 21), + fore_color: (255, 255, 255), + font: Verdana, + align: left, + transparent: true, + bevel_width: 0, + bevel_depth: 128, + border: true, + border_color: (192, 192, 192), + style: 0, + }, + + ctrl: { + id: 110 + type: label + cells: (1,1,3,1) + font: Limerick18 + text: "form.first-time.title" + align: center + }, + + ctrl: { + id: 100 + type: label + cells: (1,3,3,1) + text: "form.first-time.message-1", + }, + + ctrl: { + id: 101, + type: label, + cells: (1,4,1,1) + text: "form.first-time.player-name", + }, + + ctrl: { + id: 102, + type: label, + cells: (1,5,3,1) + text: "form.first-time.message-2", + }, + + ctrl: { + id: 103 + type: label + cells: (1,6,1,1) + text: "form.first-time.play-style" + }, + + ctrl: { + id: 104 + type: label + cells: (1,7,3,1) + align: left + transparent: true + text: "form.first-time.message-3", + }, + + ctrl: { + id: 105 + type: label + cells: (1,8,1,1) + text: "form.first-time.experience", + }, + + defctrl: { + style: 0x02 + scroll_bar: 0 + + active_color: ( 92, 92, 92) + back_color: ( 41, 41, 41) + base_color: ( 92, 92, 92) + border_color: (192, 192, 192) + + border: true + simple: true + bevel_width: 3 + text_align: left + transparent: false + + fixed_height: 18 + } + + ctrl: { + id: 200 + type: edit + cells: (2,4,2,1) + single_line: true + } + + ctrl: { + id: 201 + type: combo + cells: (2,6,2,1) + + item: "Arcade Style" + item: "Standard Model" + } + + ctrl: { + id: 202 + type: combo + cells: (2,8,2,1) + + item: "Cadet (First timer)" + item: "Admiral (Experienced)" + } + + + defctrl: { + align: left, + font: Limerick12, + fore_color: (0,0,0), + standard_image: Button17_0, + activated_image: Button17_1, + transition_image: Button17_2, + bevel_width: 6, + margins: (3,18,0,0), + cell_insets: (10,0,0,16) + } + + ctrl: { + id: 1 + type: button + cells: (3,9,1,1) + text: "form.accept" + } +} + diff --git a/data/content/Screens/FltDlg.frm b/data/content/Screens/FltDlg.frm new file mode 100644 index 0000000..df0f695 --- /dev/null +++ b/data/content/Screens/FltDlg.frm @@ -0,0 +1,428 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: FltDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 100, 10), + x_weights: ( 0, 3, 1, 0), + + y_mins: (28, 30, 10, 50, 10, 60, 45), + y_weights: ( 0, 0, 0, 1, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,2,2), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,5,1,2), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (2,5,1,2), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10 + type: label + text: "form.flight.title" + align: left + font: Limerick18 + fore_color: (255,255,255) + transparent: true + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + } + + + // upper panel: + + ctrl: { + id: 1100 + type: panel + transparent: true + + cells: (1,3,2,2), + + layout: { + x_mins: ( 10, 100, 100, 20, 100, 10) + x_weights: ( 0, 0, 1, 0, 1, 0) + + y_mins: ( 10, 25, 25, 25, 25, 25, 25, 10) + y_weights: ( 0, 0, 0, 0, 0, 0, 1, 0) + } + } + + ctrl: { + id: 11 + pid: 1100 + type: label + cells: (1,1,1,1) + cell_insets: (0,0,0,0) + text: "form.flight.squadron" + align: left + font: Limerick12 + style: 0x0040 + back_color: (41,41,41) + fore_color: (255,255,255) + transparent: true + } + + ctrl: { + id: 101 + pid: 1100 + type: combo + cells: (2,1,1,1) + + fore_color: (255, 255, 255) + back_color: ( 60, 60, 60) + border_color: (192, 192, 192) + active_color: ( 92, 92, 92) + + font: Verdana + simple: true + bevel_width: 3 + text_align: left + transparent: false + fixed_height: 20 + }, + + ctrl: { + id: 102 + pid: 1100 + type: list + cells: (1,2,2,5) + + transparent: false + texture: Panel + margins: (12,12,12,0) + + font: Verdana + fore_color: (255, 255, 255) + back_color: ( 61, 61, 59) + multiselect: 1 + style: 0x02 + item_style: 0x00 + selected_style: 0x02 + scroll_bar: 2 + leading: 2 + show_headings: true + + column: { + title: INDEX, + width: 90, + align: right, + sort: 2, + }, + + column: { + title: NAME, + width: 255, + align: left, + sort: 1, + }, + + column: { + title: STATUS, + width: 120, + align: left, + sort: 1, + }, + + column: { + title: MISSION, + width: 170, + align: left, + sort: 1, + }, + + column: { + title: TIME, + width: 97, + align: left, + sort: 1, + }, + }, + + + defctrl: { + transparent: false, + align: left, + fore_color: (0,0,0), + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + font: Limerick12 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,0) + fixed_height: 19 + pid: 1100 + }, + + ctrl: { + id: 110 + type: button + cells: (4,2,1,1) + text: "form.flight.package" + }, + + ctrl: { + id: 111 + type: button + cells: (4,3,1,1) + text: "form.flight.alert" + }, + + ctrl: { + id: 112 + type: button + cells: (4,4,1,1) + text: "form.flight.launch" + }, + + ctrl: { + id: 113 + type: button + cells: (4,5,1,1) + text: "form.flight.standby" + }, + + ctrl: { + id: 114 + type: button + cells: (4,6,1,1) + text: "form.flight.recall" + }, + + + + + // lower panel: + + ctrl: { + id: 1200 + pid: 0 + type: panel + cells: (1,5,2,1) + transparent: true + fixed_height: 0 + fixed_width: 0 + + + layout: { + x_mins: ( 10, 100, 20, 200, 20, 200, 10) + x_weights: ( 0, 1, 0, 2, 0, 2, 0) + + y_mins: ( 30, 25, 25, 25, 25, 25, 25, 25, 10) + y_weights: ( 0, 0, 0, 0, 0, 0, 0, 1, 0) + } + } + + defctrl: { + back_color: (41,41,41) + fore_color: (255, 255, 255) + font: Limerick12 + border: false + transparent: true + pid: 1200 + } + + ctrl: { + id: 401 + type: label + text: "form.flight.objective" + cells: (3,1,1,1) + style: 0x0040 + } + + ctrl: { + id: 402 + type: label + text: "form.flight.loadout" + cells: (5,1,1,1) + style: 0x0040 + } + + defctrl: { + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + font: Limerick12 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,0) + fixed_height: 19 + pid: 1200 + }, + + ctrl: { + id: 210 + type: button + cells: (1,2,1,1) + text: "form.flight.patrol" + }, + + ctrl: { + id: 211, + type: button, + cells: (1,3,1,1) + text: "form.flight.intercept" + }, + + ctrl: { + id: 212, + type: button, + cells: (1,4,1,1) + text: "form.flight.assault" + }, + + ctrl: { + id: 213, + type: button, + cells: (1,5,1,1) + text: "form.flight.strike" + }, + + ctrl: { + id: 214, + type: button, + cells: (1,6,1,1) + text: "form.flight.escort" + }, + + ctrl: { + id: 215, + type: button, + cells: (1,7,1,1) + text: "form.flight.scout" + }, + + defctrl: { + font: Verdana + fore_color: (255, 255, 255) + back_color: ( 61, 61, 59) + transparent: false + texture: Panel + margins: (12,12,12,0) + fixed_height: 0 + style: 0x02 + item_style: 0x00 + selected_style: 0x02 + scroll_bar: 2 + leading: 2 + show_headings: true + } + + ctrl: { + id: 221 + type: list + cells: (3,2,1,6) + + column: { + title: NAME + width: 130 + align: left + sort: 1 + } + + column: { + title: SECTOR + width: 90 + align: left + sort: 1 + } + + column: { + title: RANGE + width: 82 + align: right + sort: 1 + } + } + + ctrl: { + id: 222 + type: list + cells: (5,2,1,6) + + column: { + title: NAME + width: 190 + align: left + sort: 1 + } + + column: { + title: WEIGHT + width: 112 + align: right + sort: 1 + } + } + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + fixed_height: 19 + fixed_width: 0 + pid: 0 + }, + + ctrl: { + id: 1 + type: button + text: "form.close" + cells: (2,6,1,1) + }, +} diff --git a/data/content/Screens/JoyDlg.frm b/data/content/Screens/JoyDlg.frm new file mode 100644 index 0000000..86e17c7 --- /dev/null +++ b/data/content/Screens/JoyDlg.frm @@ -0,0 +1,216 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: KeyDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,440,380), + back_color: (0,0,0), + fore_color: (255,255,255), + font: Limerick12, + + texture: "Message.pcx", + margins: (50,40,48,40), + + layout: { + x_mins: (30, 100, 100, 100, 30), + x_weights: ( 0, 1, 1, 1, 0), + + y_mins: (44, 30, 25, 25, 25, 25, 25, 30, 75, 10, 35), + y_weights: ( 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0) + }, + + defctrl: { + align: center + base_color: ( 92, 92, 92) + back_color: ( 92, 92, 92) + fore_color: (255, 255, 255) + font: Limerick12 + bevel_width: 0 + bevel_depth: 128 + border: true + border_color: (0,0,0) + transparent: true + }, + + ctrl: { + id: 100, + type: label, + cells: (1,1,3,1) + text: "form.joystick.title", + }, + + + ctrl: { + id: 501, + type: label, + cells: (1,2,1,1) + text: "form.joystick.axis", + }, + + ctrl: { + id: 502, + type: label, + cells: (2,2,1,1) + text: "form.joystick.select", + }, + + ctrl: { + id: 503, + type: label, + cells: (3,2,1,1) + text: "form.joystick.invert", + }, + + defctrl: { + align: left + font: Verdana + } + + ctrl: { + id: 101 + type: label + cells: (1,3,1,1) + text: "form.joystick.x-axis" + } + + ctrl: { + id: 102 + type: label + cells: (1,4,1,1) + text: "form.joystick.y-axis" + } + + ctrl: { + id: 103 + type: label + cells: (1,5,1,1) + text: "form.joystick.rudder" + } + + ctrl: { + id: 104 + type: label + cells: (1,6,1,1) + text: "form.joystick.throttle" + } + + ctrl: { + id: 11 + type: label + cells: (1,8,3,1) + text: "form.joystick.message" + } + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,0,0,6) + sticky: true + transparent: false + } + + ctrl: { + id: 201 + type: button + cells: (2,3,1,1) + text: "form.joystick.select" + }, + + ctrl: { + id: 202 + type: button + cells: (2,4,1,1) + text: "form.joystick.select" + }, + + ctrl: { + id: 203 + type: button + cells: (2,5,1,1) + text: "form.joystick.select" + }, + + ctrl: { + id: 204 + type: button + cells: (2,6,1,1) + text: "form.joystick.select" + } + + defctrl: { + cell_insets: (55,0,0,0) + fixed_width: 16 + fixed_height: 16 + + standard_image: Checkbox_0 + activated_image: Checkbox_2 + transition_image: Checkbox_1 + sticky: true + } + + ctrl: { + id: 301 + type: button + cells: (3,3,1,1) + } + + ctrl: { + id: 302 + type: button + cells: (3,4,1,1) + } + + ctrl: { + id: 303 + type: button + cells: (3,5,1,1) + } + + ctrl: { + id: 304 + type: button + cells: (3,6,1,1) + } + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + fixed_width: 0 + fixed_height: 0 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (10,0,0,16) + transparent: false + } + + ctrl: { + id: 1, + type: button, + text: "form.apply", + cells: (2,10,1,1) + } + + ctrl: { + id: 2, + type: button, + text: "form.cancel", + cells: (3,10,1,1), + } +} diff --git a/data/content/Screens/KeyDlg.frm b/data/content/Screens/KeyDlg.frm new file mode 100644 index 0000000..27407fe --- /dev/null +++ b/data/content/Screens/KeyDlg.frm @@ -0,0 +1,140 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: KeyDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,440,380), + back_color: (0,0,0), + fore_color: (255,255,255), + font: Limerick12, + + texture: "Message.pcx", + margins: (50,40,48,40), + + layout: { + x_mins: (30, 100, 100, 100, 30), + x_weights: ( 0, 0, 1, 1, 0), + + y_mins: (44, 30, 25, 25, 25, 25, 25, 40, 55, 10, 35), + y_weights: ( 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 1, 0) + }, + + defctrl: { + base_color: ( 92, 92, 92) + back_color: ( 41, 41, 41) + fore_color: (255, 255, 255) + bevel_width: 0 + bevel_depth: 128 + border: true + border_color: (192, 192, 192) + align: left + font: Verdana + transparent: true + style: 0x02 + } + + ctrl: { + id: 100 + type: label + text: "form.key.title" + cells: (1,1,3,1) + font: Limerick12 + align: center + } + + ctrl: { + id: 101 + type: label + text: "form.keyboard.command" + cells: (1,2,1,1) + } + + ctrl: { + id: 102 + type: label + text: "form.keyboard.current-key" + cells: (1,3,1,1) + } + + ctrl: { + id: 103 + type: label + text: "form.keyboard.new-key" + cells: (1,4,1,1) + } + + ctrl: { + id: 11 + type: label + cells: (1,8,3,1) + text: "form.keyboard.message" + } + + defctrl: { + cell_insets: (0,0,0,5) + transparent: false + } + + ctrl: { + id: 201, + type: label, + cells: (2,2,2,1) + text: "form.keyboard.none-selected", + }, + + ctrl: { + id: 202, + type: label, + cells: (2,3,2,1) + text: "form.keyboard.none-selected", + }, + + + ctrl: { + id: 203, + type: label, + cells: (2,4,2,1) + text: "", + }, + + + defctrl: { + align: left, + font: Limerick12, + fore_color: (0,0,0), + standard_image: Button17_0, + activated_image: Button17_1, + transition_image: Button17_2, + bevel_width: 6, + margins: (3,18,0,0), + cell_insets: (10,0,0,16) + } + + ctrl: { + id: 300, + type: button, + cells: (2,6,2,1) + text: "form.keyboard.clear-binding", + cell_insets: (0,0,0,6) + }, + + ctrl: { + id: 1, + type: button, + text: "form.apply", + cells: (2,10,1,1) + } + + ctrl: { + id: 2, + type: button, + text: "form.cancel", + cells: (3,10,1,1), + } +} diff --git a/data/content/Screens/LoadDlg.frm b/data/content/Screens/LoadDlg.frm new file mode 100644 index 0000000..e1548a4 --- /dev/null +++ b/data/content/Screens/LoadDlg.frm @@ -0,0 +1,64 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: ExitDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,440,320) + back_color: (0,0,0) + fore_color: (255,255,255) + font: Limerick12 + + texture: "Message.pcx" + margins: (50,40,48,40) + + layout: { + x_mins: (40, 40, 100, 100, 40) + x_weights: ( 0, 0, 1, 1, 0) + + y_mins: (44, 30, 60, 35, 25) + y_weights: ( 0, 0, 0, 0, 0) + } + + ctrl: { + id: 100 + type: label + cells: (1,1,3,1) + text: "form.load.title" + + align: center + font: Limerick18 + fore_color: (255,255,255) + transparent: true + }, + + ctrl: { + id: 101 + type: label + cells: (1,3,3,1) + text: "" + + align: center + font: Verdana + fore_color: (255,255,255) + transparent: true + }, + + ctrl: { + id: 102, + type: slider, + cells: (1,4,3,1) + fixed_height: 8 + + active_color: (250, 250, 100), + back_color: ( 21, 21, 21), + border: false, + transparent: false, + }, +} + diff --git a/data/content/Screens/MenuDlg.frm b/data/content/Screens/MenuDlg.frm new file mode 100644 index 0000000..15cb4f4 --- /dev/null +++ b/data/content/Screens/MenuDlg.frm @@ -0,0 +1,159 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MenuDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + font: Limerick12, + + layout: { + x_mins: (20, 20, 28, 180, 20), + x_weights: ( 0, 1, 0, 0, 0), + + y_mins: (60, 60, 40, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30), + y_weights: ( 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1) + }, + + // background images: + + defctrl: { + fore_color: (4,4,4), + cell_insets: (0,0,0,0) + }, + + ctrl: { + id: 300 + type: background + texture: MenuDlg1 + cells: (0,0,5,1) + margins: (248,2,2,32) + hide_partial: false + }, + + ctrl: { + id: 301 + type: background + texture: Plasma + cells: (0,1,5,1) + margins: (0,896,0,0) + hide_partial: false + }, + + ctrl: { + id: 302 + type: background + texture: MenuDlg2 + cells: (0,2,5,12) + margins: (2,248,32,2) + hide_partial: false + }, + + ctrl: { + id: 100, + type: label, + align: right, + font: Verdana, + transparent: true, + cells: (3,2,1,1) + cell_insets: (0,0,30,5) + hide_partial: false + }, + + + // buttons: + + defctrl: { + align: left, + font: Limerick12, + fore_color: (0,0,0), + standard_image: Button23_0, + activated_image: Button23_1, + transition_image: Button23_2, + bevel_width: 6, + margins: (3,18,0,0), + cell_insets: (0,0,0,5) + }, + + + ctrl: { + id: 120, + type: button, + text: "form.main.start", + alt: "form.main.start.alt", + cells: (3,3,1,1) + }, + + ctrl: { + id: 101, + type: button, + text: "form.main.campaign", + alt: "form.main.campaign.alt", + cells: (3,4,1,1), + }, + + ctrl: { + id: 102, + type: button, + text: "form.main.mission", + alt: "form.main.mission.alt", + cells: (3,5,1,1) + }, + + ctrl: { + id: 104, + type: button, + text: "form.main.multiplayer", + alt: "form.main.multiplayer.alt", + cells: (3,6,1,1) + }, + + ctrl: { + id: 103, + type: button, + text: "form.main.logbook", + alt: "form.main.logbook.alt", + cells: (3,7,1,1) + }, + + ctrl: { + id: 111, + type: button, + text: "form.main.options", + alt: "form.main.options.alt", + cells: (3,8,1,1) + }, + + ctrl: { + id: 116, + type: button, + text: "form.main.reference", + alt: "form.main.reference.alt", + cells: (3,9,1,1) + }, + + ctrl: { + id: 114, + type: button, + text: "form.main.exit", + alt: "form.main.exit.alt", + cells: (3,10,1,1) + }, + + ctrl: { + id: 202, + type: label, + align: center, + font: Verdana, + transparent: true, + cells: (1,11,3,1) + } + + +} diff --git a/data/content/Screens/ModDlg.frm b/data/content/Screens/ModDlg.frm new file mode 100644 index 0000000..105152f --- /dev/null +++ b/data/content/Screens/ModDlg.frm @@ -0,0 +1,332 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: ModDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 20, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,3,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + }, + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,3,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + }, + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.options.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + // tabs: + + ctrl: { + id: 900 + type: panel + transparent: true + cells: (1,3,4,1) + hide_partial: false + + layout: { + x_mins: (100, 100, 100, 100, 100, 0), + x_weights: (0.2, 0.2, 0.2, 0.2, 0.2, 1), + + y_mins: (24), + y_weights: ( 1) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0), + cell_insets: (0,4,0,0) + }, + + ctrl: { + id: 901 + pid: 900 + type: button + text: "form.options.tab.video" + cells: (0,0,1,1) + } + + ctrl: { + id: 902 + pid: 900 + type: button + text: "form.options.tab.audio" + cells: (1,0,1,1) + } + + ctrl: { + id: 903 + pid: 900 + type: button + text: "form.options.tab.controls" + cells: (2,0,1,1) + } + + ctrl: { + id: 904 + pid: 900 + type: button + text: "form.options.tab.gameplay" + cells: (3,0,1,1) + } + + ctrl: { + id: 905 + pid: 900 + type: button + text: "form.options.tab.mods" + cells: (4,0,1,1) + } + + // main panel: + + ctrl: { + id: 300 + type: panel + transparent: true + + texture: Panel + margins: (12,12,12,0), + + cells: (1,4,4,2) + cell_insets: (10,10,10,54) + + layout: { + x_mins: (100, 100, 30, 30, 20, 100, 100, 30, 30) + x_weights: ( 3, 3, 0, 0, 0, 3, 3, 0, 0) + + y_mins: ( 3, 84, 40, 80, 30, 10) + y_weights: ( 0, 0, 0, 1, 0, 0) + } + } + + defctrl: { + fore_color: (255,255,255) + font: Verdana, + standard_image: "" + activated_image: "" + align: left + sticky: false + transparent: true + }, + + ctrl: { + id: 200 + pid: 300 + type: text + cells: (0,1,9,1) + cell_insets: (0,0,0,0) + transparent: false + scroll_bar: 0 + + texture: Panel + margins: (12,12,12,0), + + text: "form.mods.instructions" + }, + + ctrl: { + id: 101 + pid: 300 + type: label + cells: (0,2,4,1) + cell_insets: (0,0,20,0) + text: "form.mods.disabled-mods" + font: Limerick12 + fore_color: (255,255,255) + back_color: (32,32,32) + style: 0x40 + transparent: true + align: center + }, + + ctrl: { + id: 102 + pid: 300 + type: label + cells: (5,2,4,1) + cell_insets: (0,0,20,0) + text: "form.mods.enabled-mods" + font: Limerick12 + fore_color: (255,255,255) + back_color: (32,32,32) + style: 0x40 + transparent: true + align: center + }, + + ctrl: { + id: 201 + pid: 300 + type: list, + cells: (0,3,4,1) + cell_insets: (0,0,0,10) + transparent: false + + texture: Panel + margins: (12,12,12,0) + + column: { + title: Disabled, + width: 248, + align: left, + sort: 0 } + }, + + ctrl: { + id: 202 + pid: 300 + type: list, + cells: (5,3,4,1) + cell_insets: (0,0,0,10) + transparent: false + + texture: Panel + margins: (12,12,12,0) + + column: { + title: Enabled, + width: 248, + align: left, + sort: 0 } + }, + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,11) + } + + ctrl: { + id: 301 + pid: 300 + type: button + cells: (0,4,1,1) + text: "form.mods.enable" + }, + + ctrl: { + id: 302 + pid: 300 + type: button + cells: (5,4,1,1) + text: "form.mods.disable" + }, + + defctrl: { + align: center + standard_image: Button17x17_0 + activated_image: Button17x17_1 + transition_image: Button17x17_2 + cell_insets: (10,0,0,0) + fixed_width: 19 + fixed_height: 19 + } + + ctrl: { + id: 303 + pid: 300 + type: button + cells: (7,4,1,1) + text: "^" + }, + + ctrl: { + id: 304 + pid: 300 + type: button + cells: (8,4,1,1) + text: "v" + }, + + + // apply and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + fixed_width: 0 + }, + + ctrl: { + id: 1 + type: button + text: "form.apply" + cells: (3,5,1,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,5,1,1), + }, + +} diff --git a/data/content/Screens/ModInfoDlg.frm b/data/content/Screens/ModInfoDlg.frm new file mode 100644 index 0000000..e65cd0a --- /dev/null +++ b/data/content/Screens/ModInfoDlg.frm @@ -0,0 +1,111 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: ModInfoDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,440,340) + back_color: (0,0,0) + fore_color: (255,255,255) + font: Limerick12 + + texture: "Message.pcx" + margins: (50,40,48,40) + + layout: { + x_mins: (20, 100, 15, 128, 20) + x_weights: ( 0, 1, 0, 0, 0) + + y_mins: (44, 25, 5, 30, 128, 10, 45, 35) + y_weights: ( 0, 0, 0, 0, 0, 0, 1, 0) + } + + defctrl: { + base_color: (160, 160, 150) + back_color: ( 92, 92, 92) + fore_color: (255, 255, 255) + font: Verdana + bevel_width: 4, + bevel_depth: 128, + border: true, + border_color: (0,0,0) + transparent: true + }, + + ctrl: { + id: 100, + type: label, + cells: (1,1,3,1) + text: "form.mod-info.title" + font: Limerick18 + align: center + }, + + ctrl: { + id: 101, + type: label, + cells: (1,3,3,1) + text: " " // mod name goes here + font: Limerick12 + align: left + }, + + ctrl: { + id: 102, + type: label, + cells: (1,4,1,1) + text: " ", // Description goes here + font: Verdana, + transparent: true + }, + + ctrl: { + id: 200, + type: image, + cells: (3,4,1,1) + back_color: (12,12,12) + border: true + style: 0x02, + picture: "mod_logo.pcx" + fixed_width: 128 + fixed_height: 128 + transparent: false + }, + + ctrl: { + id: 103, + type: label, + cells: (1,6,3,1) + text: " ", // Copyright Notice goes here + font: Verdana, + transparent: true + }, + + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (10,0,0,16) + transparent: false + } + + ctrl: { + id: 1 + type: button + cells: (3,7,1,1) + text: "form.close" + } +} + diff --git a/data/content/Screens/MsnEditDlg.frm b/data/content/Screens/MsnEditDlg.frm new file mode 100644 index 0000000..27d0df1 --- /dev/null +++ b/data/content/Screens/MsnEditDlg.frm @@ -0,0 +1,618 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnEditDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 2, 4, 2, 2, 0), + + y_mins: (28, 30, 10, 90, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 20 + type: background + texture: Frame4a + cells: (1,3,4,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 21 + type: background + texture: Frame2a + cells: (1,4,2,3) + cell_insets: (0,0,0,10) + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 22 + type: background + texture: Frame2b + cells: (3,4,2,3) + cell_insets: (0,0,0,10) + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.msn-edit.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + // tabs: + + ctrl: { + id: 90 + type: panel + transparent: true + cells: (1,4,4,1) + cell_insets: (0,0,0,0) + hide_partial: false + + layout: { + x_mins: (80, 80, 80, 80, 5) + x_weights: ( 1, 1, 1, 1, 15) + + y_mins: (24), + y_weights: ( 0) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0) + cell_insets: (0,4,0,0) + pid: 90 + }, + + ctrl: { + id: 301 + type: button + text: "form.msn-edit.tab.situation" + cells: (0,0,1,1) + } + + ctrl: { + id: 302 + type: button + text: "form.msn-edit.tab.package" + cells: (1,0,1,1) + } + + ctrl: { + id: 303 + type: button + text: "form.msn-edit.tab.navigation" + cells: (2,0,1,1) + } + + // info panel: + + ctrl: { + id: 70 + pid: 0 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,4,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 60, 100, 60, 100, 20) + x_weights: ( 0, 0, 1, 0, 1, 0) + + y_mins: ( 10, 20, 20, 10) + y_weights: ( 1, 1, 1, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + pid: 70 + }, + + ctrl: { + id: 101 + type: label + cells: (1,1,1,1) + text: "form.msn-edit.name" + }, + + ctrl: { + id: 102 + type: label + cells: (1,2,1,1) + text: "form.msn-edit.type" + }, + + ctrl: { + id: 103 + type: label + cells: (3,1,1,1) + text: "form.msn-edit.system" + }, + + ctrl: { + id: 104 + type: label + cells: (3,2,1,1) + text: "form.msn-edit.sector" + }, + + defctrl: { + style: 2 + scroll_bar: 0 + back_color: ( 41, 41, 41) + active_color: ( 62, 106, 151) + border_color: (192, 192, 192) + fore_color: (255, 255, 255) + border: true + simple: true + bevel_width: 3 + transparent: false + cell_insets: (0,20,0,5) + fixed_height: 18 + }, + + ctrl: { + id: 201, + type: edit, + cells: (2,1,1,1) + single_line: true, + }, + + ctrl: { + id: 202, + type: combo, + cells: (2,2,1,1) + + item: "Patrol", + item: "Sweep", + item: "Intercept", + item: "Airborne Patrol", + item: "Airborne Sweep", + item: "Airborne Intercept", + item: "Strike", + item: "Assault", + item: "Defend", + item: "Escort", + item: "Freight Escort", + item: "Shuttle Escort", + item: "Strike Escort", + item: "Intel", + item: "Scout", + item: "Recon", + item: "Blockade", + item: "Fleet", + item: "Attack", + item: "Flight Ops", + item: "Transport", + item: "Cargo", + item: "Training", + item: "Misc", + } + + ctrl: { + id: 203, + type: combo, + cells: (4,1,1,1) + } + + ctrl: { + id: 204, + type: combo, + cells: (4,2,1,1) + } + + defctrl: { + fixed_height: 0 + fixed_width: 0 + } + + // main panel: + + ctrl: { + id: 400 + pid: 0 + type: panel + transparent: false + style: 0 + + texture: Panel + margins: (12,12,12,0), + + cells: (1,5,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 10, 100, 20, 100, 10) + x_weights: ( 0, 1, 0, 1, 0) + + y_mins: ( 15, 20, 50, 20, 50, 15) + y_weights: ( 0, 0, 1, 0, 2, 0) + } + } + + defctrl: { + fore_color: (255,255,255) + font: Limerick12 + border: true + border_color: (0,0,0) + transparent: false + sticky: true + pid: 400 + + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,5,0,6) + transparent: true + style: 0x0040 + } + + ctrl: { + id: 401 + type: label + cells: (1,1,3,1) + text: "form.msn-edit.description" + }, + + ctrl: { + id: 402 + type: label + cells: (1,3,1,1) + text: "form.msn-edit.situation" + }, + + ctrl: { + id: 403 + type: label + cells: (3,3,1,1) + text: "form.msn-edit.objective" + }, + + defctrl: { + font: Verdana + style: 0x02 + scroll_bar: 0 + bevel_width: 0 + back_color: ( 41, 41, 41) + border_color: (192, 192, 192) + transparent: false + fixed_height: 0 + cell_insets: (0,0,0,5) + }, + + ctrl: { + id: 410 + type: edit + cells: (1,2,3,1) + text: "" // Description goes here. + }, + + ctrl: { + id: 411 + type: edit + cells: (1,4,1,1) + text: "" // Situation goes here. + }, + + ctrl: { + id: 412 + type: edit + cells: (3,4,1,1) + text: "" // Objective goes here. + }, + + // main panel: + + ctrl: { + id: 500 + pid: 0 + type: panel + transparent: false + style: 0 + + texture: Panel + margins: (12,12,12,0), + + cells: (1,5,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 10, 110, 110, 110, 10, 25, 25, 10) + x_weights: ( 0, 0, 0, 0, 1, 0, 0, 0) + + y_mins: ( 15, 20, 50, 20, 20, 50, 20, 15) + y_weights: ( 0, 0, 1, 0, 0, 1, 0, 0) + } + } + + defctrl: { + fore_color: (255,255,255) + font: Limerick12 + border: true + border_color: (0,0,0) + transparent: false + sticky: true + pid: 500 + + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,5,0,6) + } + + + ctrl: { + id: 510, + type: list, + cells: (1,2,6,1) + back_color: ( 41, 41, 41), + + font: Verdana + style: 0x02 + item_style: 0x00 + selected_style: 0x02 + scroll_bar: 2 + leading: 2 + show_headings: true + + column: { + title: PKG, + width: 50, + align: center, + sort: 0 }, + + column: { + title: IFF, + width: 50, + align: center, + sort: 0 }, + + column: { + title: CALLSIGN, + width: 125, + align: left, + sort: 0 }, + + column: { + title: TYPE, + width: 125, + align: left, + sort: 0 }, + + column: { + title: ROLE, + width: 107, + align: left, + sort: 0 }, + + column: { + title: SECTOR, + width: 125, + align: left, + sort: 0 }, + }, + + ctrl: { + id: 520, + type: list, + cells: (1,5,6,1) + back_color: ( 41, 41, 41), + + font: Verdana + style: 0x02 + item_style: 0x00 + selected_style: 0x02 + scroll_bar: 2 + leading: 2 + show_headings: true + + column: { + title: ID, + width: 50, + align: center, + sort: 0 }, + + column: { + title: TIME, + width: 100, + align: left, + sort: 0 }, + + column: { + title: EVENT, + width: 100, + align: left, + sort: 0 }, + + column: { + title: SHIP, + width: 100, + align: left, + sort: 0 }, + + column: { + title: MESSAGE, + width: 232, + align: left, + sort: 0 }, + }, + + + + defctrl: { + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + fore_color: (0,0,0) + cell_insets: (0,5,0,0) + fixed_height: 19 + } + + ctrl: { + id: 501 + type: button + cells: (1,1,1,1) + text: "form.msn-edit.add-element" + }, + + ctrl: { + id: 505 + type: button + cells: (2,1,1,1) + text: "form.msn-edit.edit-element" + }, + + ctrl: { + id: 502 + type: button + cells: (3,1,1,1) + text: "form.msn-edit.del-element" + }, + + ctrl: { + id: 511 + type: button + cells: (1,4,1,1) + text: "form.msn-edit.add-event" + }, + + ctrl: { + id: 515 + type: button + cells: (2,4,1,1) + text: "form.msn-edit.edit-event" + }, + + ctrl: { + id: 512 + type: button + cells: (3,4,1,1) + text: "form.msn-edit.del-event" + }, + + defctrl: { + standard_image: Button17x17_0 + activated_image: Button17x17_1 + transition_image: Button17x17_2 + fore_color: (0,0,0) + align: center + fixed_height: 19 + fixed_width: 19 + }, + + ctrl: { + id: 503, + type: button, + cells: (5,3,1,1) + text: "^", + }, + + ctrl: { + id: 504, + type: button, + cells: (6,3,1,1) + text: "V", + }, + + ctrl: { + id: 513, + type: button, + cells: (5,6,1,1) + text: "^", + }, + + ctrl: { + id: 514, + type: button, + cells: (6,6,1,1) + text: "V", + }, + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + pid: 0 + fixed_height: 19 + fixed_width: 0 + }, + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (3,6,1,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,6,1,1), + }, + +} diff --git a/data/content/Screens/MsnEditNavDlg.frm b/data/content/Screens/MsnEditNavDlg.frm new file mode 100644 index 0000000..350484c --- /dev/null +++ b/data/content/Screens/MsnEditNavDlg.frm @@ -0,0 +1,519 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnEditNavDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 2, 4, 2, 2, 0), + + y_mins: (28, 30, 10, 90, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 20 + type: background + texture: Frame4a + cells: (1,3,4,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 21 + type: background + texture: Frame2a + cells: (1,4,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 22 + type: background + texture: Frame2b + cells: (3,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.msn-edit.nav.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + // tabs: + + ctrl: { + id: 90 + type: panel + transparent: true + cells: (1,4,4,1) + cell_insets: (0,0,0,0) + hide_partial: false + + layout: { + x_mins: (80, 80, 80, 80, 5) + x_weights: ( 1, 1, 1, 1, 15) + + y_mins: (24), + y_weights: ( 0) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0) + cell_insets: (0,4,0,0) + pid: 90 + }, + + ctrl: { + id: 301 + type: button + text: "form.msn-edit.tab.situation" + cells: (0,0,1,1) + } + + ctrl: { + id: 302 + type: button + text: "form.msn-edit.tab.package" + cells: (1,0,1,1) + } + + ctrl: { + id: 303 + type: button + text: "form.msn-edit.tab.navigation" + cells: (2,0,1,1) + } + + // info panel: + + ctrl: { + id: 70 + pid: 0 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,4,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 60, 100, 60, 100, 20) + x_weights: ( 0, 0, 1, 0, 1, 0) + + y_mins: ( 10, 20, 20, 10) + y_weights: ( 1, 1, 1, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + pid: 70 + }, + + ctrl: { + id: 71 + type: label + cells: (1,1,1,1) + text: "form.msn-edit.name" + }, + + ctrl: { + id: 72 + type: label + cells: (1,2,1,1) + text: "form.msn-edit.type" + }, + + ctrl: { + id: 73 + type: label + cells: (3,1,1,1) + text: "form.msn-edit.system" + }, + + ctrl: { + id: 74 + type: label + cells: (3,2,1,1) + text: "form.msn-edit.sector" + }, + + defctrl: { + style: 2 + scroll_bar: 0 + back_color: ( 41, 41, 41) + active_color: ( 62, 106, 151) + border_color: (192, 192, 192) + fore_color: (255, 255, 255) + border: true + simple: true + bevel_width: 3 + transparent: false + cell_insets: (0,20,0,5) + fixed_height: 18 + }, + + ctrl: { + id: 201, + type: edit, + cells: (2,1,1,1) + single_line: true, + }, + + ctrl: { + id: 202, + type: combo, + cells: (2,2,1,1) + + item: "Patrol", + item: "Sweep", + item: "Intercept", + item: "Airborne Patrol", + item: "Airborne Sweep", + item: "Airborne Intercept", + item: "Strike", + item: "Assault", + item: "Defend", + item: "Escort", + item: "Freight Escort", + item: "Shuttle Escort", + item: "Strike Escort", + item: "Intel", + item: "Scout", + item: "Recon", + item: "Blockade", + item: "Fleet", + item: "Attack", + item: "Flight Ops", + item: "Transport", + item: "Cargo", + item: "Training", + item: "Misc", + } + + ctrl: { + id: 203, + type: combo, + cells: (4,1,1,1) + } + + ctrl: { + id: 204, + type: combo, + cells: (4,2,1,1) + } + + defctrl: { + fixed_height: 0 + fixed_width: 0 + pid: 0 + } + + + // main panel: + + ctrl: { + id: 800 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,5,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 10, 100, 100, 100, 10, 24, 24, 15, 95, 90, 10) + x_weights: ( 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0) + + y_mins: ( 15, 25, 25, 25, 50, 50, 15) + y_weights: ( 0, 0, 0, 0, 1, 1, 0) + } + } + + defctrl: { + fore_color: (0,0,0) + font: Limerick12 + bevel_width: 0 + bevel_depth: 128 + border: true + border_color: (0,0,0) + transparent: false + sticky: true + }, + + ctrl: { + id: 100 + pid: 800 + type: label + cells: (1,2,6,4) + cell_insets: (0,0,0,0) + fore_color: (255,255,255) + back_color: (41, 41, 41) + style: 2 + font: Limerick12 + }, + + defctrl: { + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,5,0,6) + } + + ctrl: { + id: 101 + pid: 800 + type: button + cells: (1,1,1,1) + text: "form.msn-edit.nav.galaxy" + }, + + ctrl: { + id: 102 + pid: 800 + type: button + cells: (2,1,1,1) + text: "form.msn-edit.nav.system" + }, + + ctrl: { + id: 103 + pid: 800 + type: button + cells: (3,1,1,1) + text: "form.msn-edit.nav.sector" + }, + + defctrl: { + sticky: false, + standard_image: Button17x17_0 + activated_image: Button17x17_1 + transition_image: Button17x17_2 + //font: Verdana, + align: center + sticky: false + margins: (0,0,0,0) + cell_insets: (5,0,0,1) + fixed_width: 19 + fixed_height: 19 + }, + + ctrl: { + id: 110 + pid: 800 + type: button + cells: (5,1,1,1) + text: "+" + }, + + ctrl: { + id: 111 + pid: 800 + type: button + cells: (6,1,1,1) + text: "-" + }, + + defctrl: { + sticky: true + standard_image: Tab17_0 + activated_image: Tab17_1 + transition_image: Tab17_2 + align: left + fixed_width: 0 + fixed_height: 0 + cell_insets: (0,2,0,6) + margins: (10,10,0,0) + }, + + ctrl: { + id: 401 + pid: 800 + type: button + cells: (8,1,1,1) + text: "form.msn-edit.nav.system" + } + + ctrl: { + id: 403 + pid: 800 + type: button + cells: (8,2,1,1) + text: "form.msn-edit.nav.sector" + } + + ctrl: { + id: 405 + pid: 800 + type: button + cells: (8,3,1,1) + text: "form.msn-edit.nav.starship" + } + + defctrl: { + cell_insets: (2,0,0,6) + } + + ctrl: { + id: 402 + pid: 800 + type: button + cells: (9,1,1,1) + text: "form.msn-edit.nav.planet" + } + + ctrl: { + id: 404 + pid: 800 + type: button + cells: (9,2,1,1) + text: "form.msn-edit.nav.station" + } + + ctrl: { + id: 406 + pid: 800 + type: button + cells: (9,3,1,1) + text: "form.msn-edit.nav.fighter" + } + + defctrl: { + sticky: false, + back_color: ( 41, 41, 41), + fore_color: (255, 255, 255), + font: Verdana + + scroll_bar: 2 + style: 0x02 + transparent: false + + cell_insets: (0,0,5,0) + }, + + ctrl: { + id: 801 + pid: 800 + type: list + cells: (8,4,2,1) + show_headings: true + + column: { + title: Name + width: 167 + align: left + sort: 0 + } + } + + ctrl: { + id: 802 + pid: 800 + type: list + cells: (8,5,2,1) + show_headings: false + + column: { + title: Name, + width: 70, + align: left, + sort: 0, + color: ( 53, 159, 67) + }, + + column: { + title: Value, + width: 92, + align: left, + sort: 0, + color: (255, 255, 255) + } + } + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + pid: 0 + fixed_height: 19 + fixed_width: 0 + } + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (3,6,1,1) + } + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,6,1,1), + } +} diff --git a/data/content/Screens/MsnElemDlg.frm b/data/content/Screens/MsnElemDlg.frm new file mode 100644 index 0000000..d8434ce --- /dev/null +++ b/data/content/Screens/MsnElemDlg.frm @@ -0,0 +1,494 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnElemDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,600,450) + back_color: (0,0,0) + fore_color: (255,255,255) + font: Limerick12 + + texture: "Message.pcx" + margins: (50,40,48,40) + + layout: { + x_mins: (20, 100, 100, 100, 20) + x_weights: ( 0, 1, 1, 1, 0) + + y_mins: (44, 30, 100, 10, 35) + y_weights: ( 0, 0, 1, 0, 0) + } + + defctrl: { + base_color: ( 92, 92, 92) + back_color: ( 41, 41, 41) + fore_color: (255, 255, 255) + bevel_width: 0 + border: true + border_color: (192, 192, 192) + align: left + font: Verdana + transparent: true + style: 0x02 + } + + ctrl: { + id: 10 + type: label + text: "form.msn-elem.title" + cells: (1,1,3,1) + font: Limerick12 + align: center + } + + ctrl: { + id: 100 + type: panel + cells: (1,2,3,1) + transparent: true + + layout: { + x_mins: (80, 100, 20, 90, 100) + x_weights: ( 0, 1, 0, 0, 1) + + y_mins: (25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25) + y_weights: ( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1) + } + } + + defctrl: { + font: Verdana + transparent: true + pid: 100 + } + + ctrl: { + id: 101, + type: label, + cells: (0,0,1,1) + text: "form.msn-elem.name", + }, + + ctrl: { + id: 102 + type: label + cells: (0,1,1,1) + text: "form.msn-elem.class", + }, + + ctrl: { + id: 103 + type: label + cells: (0,2,1,1) + text: "form.msn-elem.design" + }, + + ctrl: { + id: 113 + type: label + cells: (0,3,1,1) + text: "form.msn-elem.skin" + }, + + ctrl: { + id: 104 + type: label + cells: (0,4,1,1) + text: "form.msn-elem.size" + }, + + ctrl: { + id: 105, + type: label, + cells: (0,5,1,1) + text: "form.msn-elem.iff", + }, + + ctrl: { + id: 107, + type: label, + cells: (0,6,1,1) + text: "form.msn-elem.role", + }, + + ctrl: { + id: 108, + type: label, + cells: (0,7,1,1) + text: "form.msn-elem.sector", + }, + + ctrl: { + id: 109, + type: label, + cells: (0,8,1,1) + text: "form.msn-elem.location", + }, + + ctrl: { + id: 110, + type: label, + cells: (0,9,1,1) + text: "form.msn-elem.heading", + }, + + ctrl: { + id: 111, + type: label, + cells: (0,10,1,1) + text: "form.msn-elem.hold-time", + }, + + ctrl: { + id: 112, + type: label, + cells: (0,11,1,1) + text: "form.msn-elem.intel", + }, + + + // right column: + ctrl: { + id: 121, + type: label, + cells: (3,0,1,1) + text: "form.msn-elem.player", + }, + + ctrl: { + id: 121, + type: label, + cells: (3,1,1,1) + text: "form.msn-elem.alert", + }, + + ctrl: { + id: 122, + type: label, + cells: (3,2,1,1) + text: "form.msn-elem.playable", + }, + + ctrl: { + id: 123, + type: label, + cells: (3,3,1,1) + text: "form.msn-elem.command-ai", + }, + + ctrl: { + id: 124, + type: label, + cells: (3,4,1,1) + text: "form.msn-elem.respawns", + }, + + ctrl: { + id: 125, + type: label, + cells: (3,5,1,1) + text: "form.msn-elem.commander", + }, + + ctrl: { + id: 126, + type: label, + cells: (3,6,1,1) + text: "form.msn-elem.carrier", + }, + + ctrl: { + id: 127, + type: label, + cells: (3,7,1,1) + text: "form.msn-elem.squadron", + }, + + ctrl: { + id: 129, + type: label, + cells: (3,8,1,1) + text: "form.msn-elem.loadout", + }, + + ctrl: { + id: 130, + type: label, + cells: (3,9,1,1) + text: "form.msn-elem.objective", + }, + + ctrl: { + id: 131, + type: label, + cells: (3,10,1,1) + text: "form.msn-elem.target", + }, + + defctrl: { + font: Verdana, + style: 0x02, + scroll_bar: 0, + active_color: ( 62, 106, 151) + back_color: ( 41, 41, 41), + border_color: (192, 192, 192), + transparent: false + simple: true + border: true + single_line: true + fixed_height: 18 + bevel_width: 3 + }, + + ctrl: { + id: 201, + type: edit, + cells: (1,0,1,1) + text: "", + }, + + ctrl: { + id: 202, + type: combo, + cells: (1,1,1,1) + }, + + ctrl: { + id: 203, + type: combo, + cells: (1,2,1,1) + }, + + ctrl: { + id: 213, + type: combo, + cells: (1,3,1,1) + }, + + ctrl: { + id: 204, + type: edit, + cells: (1,4,1,1) + text: "1", + }, + + ctrl: { + id: 205, + type: edit, + cells: (1,5,1,1) + text: "", + }, + + ctrl: { + id: 206, + type: combo, + cells: (1,6,1,1) + }, + + ctrl: { + id: 207, + type: combo, + cells: (1,7,1,1) + }, + + ctrl: { + id: 28 + type: panel + transparent: true + cells: (1,8,1,1) + layout: { + x_mins: (20, 5, 20, 5, 20) + x_weights: ( 1, 0, 1, 0, 1) + + y_mins: (25) + y_weights: ( 1) + } + } + + ctrl: { + id: 208 + pid: 28 + type: edit, + cells: (0,0,1,1) + text: "0", // X + }, + + ctrl: { + id: 209 + pid: 28 + type: edit, + cells: (2,0,1,1) + text: "0", // Y + }, + + ctrl: { + id: 210 + pid: 28 + type: edit, + cells: (4,0,1,1) + text: "0", // Z + }, + + ctrl: { + id: 211, + type: combo, + cells: (1,9,1,1) + + item: "form.msn-elem.north", + item: "form.msn-elem.east", + item: "form.msn-elem.south", + item: "form.msn-elem.west", + }, + + ctrl: { + id: 212, + type: edit, + cells: (1,10,1,1) + text: "", + }, + + ctrl: { + id: 229, + type: combo, + cells: (1,11,1,1) + }, + + // right column: + defctrl: { + active_color: (250, 250, 100), + back_color: ( 92, 92, 92), + active: true, + border: false, + + fixed_width: 16 + fixed_height: 16 + + standard_image: Checkbox_0 + activated_image: Checkbox_2 + transition_image: Checkbox_1 + sticky: true + } + + ctrl: { + id: 221, + type: button, + bevel_style: checkbox, + cells: (4,0,1,1) + }, + + ctrl: { + id: 222, + type: button, + bevel_style: checkbox, + cells: (4,1,1,1) + }, + + ctrl: { + id: 223, + type: button, + bevel_style: checkbox, + cells: (4,2,1,1) + }, + + ctrl: { + id: 224, + type: button, + bevel_style: checkbox, + cells: (4,3,1,1) + }, + + defctrl: { + active_color: ( 62, 106, 151) + back_color: ( 41, 41, 41), + border_color: (192, 192, 192), + border: true, + fixed_width: 0 + fixed_height: 18 + + standard_image: "" + activated_image: "" + transition_image: "" + sticky: false + }, + + ctrl: { + id: 225, + type: edit, + cells: (4,4,1,1) + text: "0", + }, + + ctrl: { + id: 226, + type: combo, + cells: (4,5,1,1) + }, + + ctrl: { + id: 227, + type: combo, + cells: (4,6,1,1) + }, + + ctrl: { + id: 228, + type: combo, + cells: (4,7,1,1) + }, + + ctrl: { + id: 230, + type: combo, + cells: (4,8,1,1) + }, + + ctrl: { + id: 231, + type: combo, + cells: (4,9,1,1) + }, + + ctrl: { + id: 232, + type: combo, + cells: (4,10,1,1) + }, + + + + + defctrl: { + align: left, + font: Limerick12, + fore_color: (0,0,0), + standard_image: Button17_0, + activated_image: Button17_1, + transition_image: Button17_2, + bevel_width: 6, + margins: (3,18,0,0) + cell_insets: (10,0,0,0) + pid: 0 + fixed_height: 19 + fixed_width: 0 + } + + ctrl: { + id: 1, + type: button, + text: "form.apply", + cells: (2,4,1,1) + } + + ctrl: { + id: 2, + type: button, + text: "form.cancel", + cells: (3,4,1,1), + } +} diff --git a/data/content/Screens/MsnEventDlg.frm b/data/content/Screens/MsnEventDlg.frm new file mode 100644 index 0000000..3485bcd --- /dev/null +++ b/data/content/Screens/MsnEventDlg.frm @@ -0,0 +1,326 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnElemDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,600,450) + back_color: (0,0,0) + fore_color: (255,255,255) + font: Limerick12 + + texture: "Message.pcx" + margins: (50,40,48,40) + + layout: { + x_mins: (20, 100, 100, 100, 20) + x_weights: ( 0, 1, 1, 1, 0) + + y_mins: (44, 30, 100, 10, 35) + y_weights: ( 0, 0, 1, 0, 0) + } + + defctrl: { + active_color: ( 62, 106, 151) + base_color: ( 92, 92, 92) + back_color: ( 41, 41, 41) + fore_color: (255, 255, 255) + bevel_width: 0 + border: true + border_color: (192, 192, 192) + align: left + font: Verdana + transparent: true + style: 0x02 + } + + ctrl: { + id: 10 + type: label + text: "form.msn-event.title" + cells: (1,1,3,1) + font: Limerick12 + align: center + } + + ctrl: { + id: 100 + type: panel + cells: (1,2,3,1) + transparent: true + + layout: { + x_mins: (80, 100, 30, 90, 100) + x_weights: ( 0, 1, 0, 0, 1) + + y_mins: (25, 25, 25, 25, 25, 25, 25, 25, 25, 25) + y_weights: ( 0, 0, 0, 0, 0, 0, 0, 0, 0, 1) + } + } + + defctrl: { + font: Verdana + transparent: true + pid: 100 + } + + ctrl: { + id: 101, + type: label, + cells: (0,0,1,1) + text: "form.msn-event.identifier", + }, + + ctrl: { + id: 102, + type: label, + cells: (0,1,1,1) + text: "form.msn-event.time", + }, + + ctrl: { + id: 103, + type: label, + cells: (0,2,1,1) + text: "form.msn-event.delay", + }, + + ctrl: { + id: 104, + type: label, + cells: (0,3,1,1) + text: "form.msn-event.action", + }, + + ctrl: { + id: 105, + type: label, + cells: (0,4,1,1) + text: "form.msn-event.ship", + }, + + ctrl: { + id: 106, + type: label, + cells: (0,5,1,1) + text: "form.msn-event.source", + }, + + ctrl: { + id: 107, + type: label, + cells: (0,6,1,1) + text: "form.msn-event.target", + }, + + ctrl: { + id: 108, + type: label, + cells: (0,7,1,1) + text: "form.msn-event.parameter", + }, + + ctrl: { + id: 109, + type: label, + cells: (0,8,1,1) + text: "form.msn-event.sound", + }, + + ctrl: { + id: 110, + type: label, + cells: (0,9,1,1) + text: "form.msn-event.message", + }, + + + // right column: + ctrl: { + id: 120, + type: label, + cells: (3,1,1,1) + text: "form.msn-event.chance", + }, + + ctrl: { + id: 121, + type: label, + cells: (3,3,1,1) + text: "form.msn-event.trigger", + }, + + ctrl: { + id: 122, + type: label, + cells: (3,4,1,1) + text: "form.msn-event.ship", + }, + + ctrl: { + id: 123, + type: label, + cells: (3,5,1,1) + text: "form.msn-event.target", + }, + + ctrl: { + id: 124, + type: label, + cells: (3,6,1,1) + text: "form.msn-event.parameter", + }, + + ctrl: { + id: 201, + type: label, + cells: (1,0,1,1) + text: "", + }, + + defctrl: { + font: Verdana, + style: 0x02, + scroll_bar: 0, + active_color: ( 62, 106, 151) + back_color: ( 41, 41, 41) + border_color: (192, 192, 192) + transparent: false + simple: true + border: true + single_line: true + fixed_height: 18 + bevel_width: 3 + }, + + ctrl: { + id: 202, + type: edit, + cells: (1,1,1,1) + }, + + ctrl: { + id: 203, + type: edit, + cells: (1,2,1,1) + }, + + ctrl: { + id: 204, + type: combo, + cells: (1,3,1,1) + }, + + ctrl: { + id: 205, + type: combo, + cells: (1,4,1,1) + }, + + ctrl: { + id: 206, + type: combo, + cells: (1,5,1,1) + }, + + ctrl: { + id: 207, + type: combo, + cells: (1,6,1,1) + }, + + ctrl: { + id: 208, + type: edit, + cells: (1,7,1,1) + }, + + ctrl: { + id: 209, + type: edit, + cells: (1,8,1,1) + }, + + ctrl: { + id: 210, + type: edit, + cells: (1,9,4,1) + cell_insets: (0,0,0,15) + fixed_height: 0 + }, + + defctrl: { + active: true, + active_color: ( 62, 106, 151) + back_color: ( 41, 41, 41) + border_color: (192, 192, 192) + border: true, + sticky: true, + }, + + // right column: + ctrl: { + id: 220, + type: edit, + cells: (4,1,1,1) + }, + + ctrl: { + id: 221, + type: combo, + cells: (4,3,1,1) + }, + + ctrl: { + id: 222, + type: combo, + cells: (4,4,1,1) + }, + + ctrl: { + id: 223, + type: combo, + cells: (4,5,1,1) + }, + + ctrl: { + id: 224, + type: edit, + cells: (4,6,1,1) + }, + + + defctrl: { + align: left, + font: Limerick12, + fore_color: (0,0,0), + standard_image: Button17_0, + activated_image: Button17_1, + transition_image: Button17_2, + bevel_width: 6, + margins: (3,18,0,0) + cell_insets: (10,0,0,0) + pid: 0 + fixed_height: 19 + fixed_width: 0 + } + + ctrl: { + id: 1, + type: button, + text: "form.apply", + cells: (2,4,1,1) + } + + ctrl: { + id: 2, + type: button, + text: "form.cancel", + cells: (3,4,1,1), + } +} diff --git a/data/content/Screens/MsnNavDlg.frm b/data/content/Screens/MsnNavDlg.frm new file mode 100644 index 0000000..37cf2e9 --- /dev/null +++ b/data/content/Screens/MsnNavDlg.frm @@ -0,0 +1,477 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnNavDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 10, 90, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,4,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.mission.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + // tabs: + + ctrl: { + id: 999 + type: panel + transparent: true + cells: (1,4,4,1) + cell_insets: (0,0,0,0) + hide_partial: false + + layout: { + x_mins: (80, 80, 80, 80, 5) + x_weights: ( 1, 1, 1, 1, 15) + + y_mins: (24), + y_weights: ( 0) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0), + cell_insets: (0,4,0,0) + }, + + ctrl: { + id: 900 + pid: 999 + type: button + text: "form.mission.tab.situation" + cells: (0,0,1,1) + } + + ctrl: { + id: 901 + pid: 999 + type: button + text: "form.mission.tab.package" + cells: (1,0,1,1) + } + + ctrl: { + id: 902 + pid: 999 + type: button + text: "form.mission.tab.navigation" + cells: (2,0,1,1) + } + + ctrl: { + id: 903 + pid: 999 + type: button + text: "form.mission.tab.loadout" + cells: (3,0,1,1) + } + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,4,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 60, 100, 60, 100, 20) + x_weights: ( 0, 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 15, 15, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + }, + + ctrl: { + id: 200 + pid: 700 + type: label + cells: (1,1,2,1) + text: "", // title goes here + fore_color: (255, 255, 128) + font: Limerick12 + }, + + ctrl: { + id: 201 + pid: 700 + type: label + cells: (1,2,1,1) + text: "form.mission.system" + }, + + ctrl: { + id: 202 + pid: 700 + type: label + cells: (2,2,1,1) + text: "" // system goes here + }, + + ctrl: { + id: 203 + pid: 700 + type: label + cells: (1,3,1,1) + text: "form.mission.sector" + }, + + ctrl: { + id: 204 + pid: 700 + type: label + cells: (2,3,1,1) + text: "" // sector goes here + }, + + + ctrl: { + id: 206 + pid: 700 + type: label + cells: (4,1,1,1) + text: "" // timestamp + align: right + }, + + + // main panel: + + ctrl: { + id: 800 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,5,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 10, 100, 100, 100, 10, 24, 24, 15, 95, 90, 10) + x_weights: ( 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0) + + y_mins: ( 15, 25, 25, 20, 50, 50, 15) + y_weights: ( 0, 0, 0, 0, 1, 1, 0) + } + } + + defctrl: { + fore_color: (0,0,0) + font: Limerick12 + bevel_width: 0 + bevel_depth: 128 + border: true + border_color: (0,0,0) + transparent: false + sticky: true + }, + + ctrl: { + id: 100 + pid: 800 + type: label + cells: (1,2,6,4) + fore_color: (255,255,255) + back_color: (41, 41, 41) + style: 2 + font: Limerick12 + }, + + defctrl: { + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,5,0,6) + } + + ctrl: { + id: 101 + pid: 800 + type: button + cells: (1,1,1,1) + text: "form.mission.nav.galaxy" + }, + + ctrl: { + id: 102 + pid: 800 + type: button + cells: (2,1,1,1) + text: "form.mission.nav.system" + }, + + ctrl: { + id: 103 + pid: 800 + type: button + cells: (3,1,1,1) + text: "form.mission.nav.sector" + }, + + defctrl: { + sticky: false, + standard_image: Button17x17_0 + activated_image: Button17x17_1 + transition_image: Button17x17_2 + //font: Verdana, + align: center + sticky: false + margins: (0,0,0,0) + cell_insets: (5,0,0,1) + fixed_width: 19 + fixed_height: 19 + }, + + ctrl: { + id: 110 + pid: 800 + type: button + cells: (5,1,1,1) + text: "+" + }, + + ctrl: { + id: 111 + pid: 800 + type: button + cells: (6,1,1,1) + text: "-" + }, + + defctrl: { + sticky: true + standard_image: Tab17_0 + activated_image: Tab17_1 + transition_image: Tab17_2 + align: left + fixed_width: 0 + fixed_height: 0 + cell_insets: (0,2,0,6) + margins: (10,10,0,0) + }, + + ctrl: { + id: 401 + pid: 800 + type: button + cells: (8,1,1,1) + text: "form.mission.nav.system" + } + + ctrl: { + id: 403 + pid: 800 + type: button + cells: (8,2,1,1) + text: "form.mission.nav.sector" + } + + ctrl: { + id: 405 + pid: 800 + type: button + cells: (8,3,1,1) + text: "form.mission.nav.starship" + } + + defctrl: { + cell_insets: (2,0,0,6) + } + + ctrl: { + id: 402 + pid: 800 + type: button + cells: (9,1,1,1) + text: "form.mission.nav.planet" + } + + ctrl: { + id: 404 + pid: 800 + type: button + cells: (9,2,1,1) + text: "form.mission.nav.station" + } + + ctrl: { + id: 406 + pid: 800 + type: button + cells: (9,3,1,1) + text: "form.mission.nav.fighter" + } + + defctrl: { + sticky: false, + back_color: ( 41, 41, 41), + fore_color: (255, 255, 255), + font: Verdana + + scroll_bar: 2 + style: 0x02 + transparent: false + + cell_insets: (0,0,5,0) + }, + + ctrl: { + id: 801 + pid: 800 + type: list + cells: (8,4,2,1) + show_headings: true + + column: { + title: Name + width: 167 + align: left + sort: 0 + } + } + + ctrl: { + id: 802 + pid: 800 + type: list + cells: (8,5,2,1) + show_headings: false + + column: { + title: Name, + width: 70, + align: left, + sort: 0, + color: ( 53, 159, 67) + }, + + column: { + title: Value, + width: 92, + align: left, + sort: 0, + color: (255, 255, 255) + } + } + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + }, + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (3,6,1,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,6,1,1), + }, + +} diff --git a/data/content/Screens/MsnObjDlg.frm b/data/content/Screens/MsnObjDlg.frm new file mode 100644 index 0000000..f76c713 --- /dev/null +++ b/data/content/Screens/MsnObjDlg.frm @@ -0,0 +1,352 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnObjDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 10, 90, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,4,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.mission.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + // tabs: + + ctrl: { + id: 999 + type: panel + transparent: true + cells: (1,4,4,1) + cell_insets: (0,0,0,0) + hide_partial: false + + layout: { + x_mins: (80, 80, 80, 80, 5) + x_weights: ( 1, 1, 1, 1, 15) + + y_mins: (24), + y_weights: ( 0) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0), + cell_insets: (0,4,0,0) + }, + + ctrl: { + id: 900 + pid: 999 + type: button + text: "form.mission.tab.situation" + cells: (0,0,1,1) + } + + ctrl: { + id: 901 + pid: 999 + type: button + text: "form.mission.tab.package" + cells: (1,0,1,1) + } + + ctrl: { + id: 902 + pid: 999 + type: button + text: "form.mission.tab.navigation" + cells: (2,0,1,1) + } + + ctrl: { + id: 903 + pid: 999 + type: button + text: "form.mission.tab.loadout" + cells: (3,0,1,1) + } + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,4,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 60, 100, 60, 100, 20) + x_weights: ( 0, 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 15, 15, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + }, + + ctrl: { + id: 200 + pid: 700 + type: label + cells: (1,1,2,1) + text: "", // title goes here + fore_color: (255, 255, 128) + font: Limerick12 + }, + + ctrl: { + id: 201 + pid: 700 + type: label + cells: (1,2,1,1) + text: "form.mission.system" + }, + + ctrl: { + id: 202 + pid: 700 + type: label + cells: (2,2,1,1) + text: "" // system goes here + }, + + ctrl: { + id: 203 + pid: 700 + type: label + cells: (1,3,1,1) + text: "form.mission.sector" + }, + + ctrl: { + id: 204 + pid: 700 + type: label + cells: (2,3,1,1) + text: "" // sector goes here + }, + + + ctrl: { + id: 206 + pid: 700 + type: label + cells: (4,1,1,1) + text: "" // timestamp + align: right + }, + + + // main panel: + + ctrl: { + id: 800 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,5,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 20, 100, 10, 100, 20) + x_weights: ( 0, 3, 0, 2, 0) + + y_mins: ( 10, 20, 100, 20, 60, 20) + y_weights: ( 0, 0, 2, 0, 1, 0) + } + } + + ctrl: { + id: 300 + pid: 800 + type: label + cells: (3,2,1,2) + font: Limerick12 + transparent: true + }, + + ctrl: { + id: 301 + pid: 800 + type: label + cells: (3,4,1,1) + text: "" // Player Description + align: center + single_line: true + font: Limerick12 + }, + + ctrl: { + id: 302 + pid: 800 + type: combo + cells: (3,4,1,1) + cell_insets: (20,20,24,0) + + style: 0x02 + scroll_bar: 0 + back_color: ( 41, 41, 41) + border_color: (192, 192, 192) + transparent: false + simple: true + border: true + single_line: true + fixed_height: 18 + bevel_width: 3 + } + + + ctrl: { + id: 100 + pid: 800 + type: label + cells: (1,3,1,1) + text: "form.mission.objectives" + font: Limerick12 + }, + + ctrl: { + id: 400 + pid: 800 + type: label + cells: (1,4,1,1) + text: "" // objective goes here + font: Verdana + }, + + + ctrl: { + id: 101 + pid: 800 + type: label + cells: (1,1,1,1) + text: "form.mission.situation" + font: Limerick12 + }, + + ctrl: { + id: 401 + pid: 800 + type: label + cells: (1,2,1,1) + text: "" // sitrep goes here + font: Verdana + }, + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + }, + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (3,6,1,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,6,1,1), + }, + +} diff --git a/data/content/Screens/MsnPkgDlg.frm b/data/content/Screens/MsnPkgDlg.frm new file mode 100644 index 0000000..fa015d5 --- /dev/null +++ b/data/content/Screens/MsnPkgDlg.frm @@ -0,0 +1,466 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnPkgDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 10, 90, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,4,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.mission.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + // tabs: + + ctrl: { + id: 999 + type: panel + transparent: true + cells: (1,4,4,1) + cell_insets: (0,0,0,0) + hide_partial: false + + layout: { + x_mins: (80, 80, 80, 80, 5) + x_weights: ( 1, 1, 1, 1, 15) + + y_mins: (24), + y_weights: ( 0) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0), + cell_insets: (0,4,0,0) + }, + + ctrl: { + id: 900 + pid: 999 + type: button + text: "form.mission.tab.situation" + cells: (0,0,1,1) + } + + ctrl: { + id: 901 + pid: 999 + type: button + text: "form.mission.tab.package" + cells: (1,0,1,1) + } + + ctrl: { + id: 902 + pid: 999 + type: button + text: "form.mission.tab.navigation" + cells: (2,0,1,1) + } + + ctrl: { + id: 903 + pid: 999 + type: button + text: "form.mission.tab.loadout" + cells: (3,0,1,1) + } + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,4,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 60, 100, 60, 100, 20) + x_weights: ( 0, 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 15, 15, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + }, + + ctrl: { + id: 200 + pid: 700 + type: label + cells: (1,1,2,1) + text: "", // title goes here + fore_color: (255, 255, 128) + font: Limerick12 + }, + + ctrl: { + id: 201 + pid: 700 + type: label + cells: (1,2,1,1) + text: "form.mission.system" + }, + + ctrl: { + id: 202 + pid: 700 + type: label + cells: (2,2,1,1) + text: "" // system goes here + }, + + ctrl: { + id: 203 + pid: 700 + type: label + cells: (1,3,1,1) + text: "form.mission.sector" + }, + + ctrl: { + id: 204 + pid: 700 + type: label + cells: (2,3,1,1) + text: "" // sector goes here + }, + + + ctrl: { + id: 206 + pid: 700 + type: label + cells: (4,1,1,1) + text: "" // timestamp + align: right + }, + + + // main panel: + + ctrl: { + id: 800 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,5,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 20, 100, 10, 100, 20) + x_weights: ( 0, 2, 0, 1, 0) + + y_mins: ( 10, 20, 60, 10, 20, 60, 20) + y_weights: ( 0, 0, 1, 0, 0, 1, 0) + } + } + + defctrl: { + fore_color: (255, 255, 255), + font: Limerick12, + bevel_width: 0, + bevel_depth: 128, + border: true, + border_color: (0,0,0), + transparent: true + }, + + ctrl: { + id: 120 + pid: 800 + type: label, + cells: (1,1,1,1) + text: "form.mission.element" + }, + + ctrl: { + id: 320 + pid: 800 + type: list, + cells: (1,2,1,1) + font: Verdana + + back_color: (41,41,41), + transparent: false, + + style: 0x02, + item_style: 0x00, + selected_style: 0x02, + scroll_bar: 2, + leading: 2, + show_headings: true, + + column: { + title: PKG, + width: 50, + align: center, + sort: 0 }, + + column: { + title: CALLSIGN, + width: 90, + align: left, + sort: 0 }, + + column: { + title: ROLE, + width: 82, + align: left, + sort: 0 }, + + column: { + title: TYPE, + width: 60, + align: left, + sort: 0 }, + } + + ctrl: { + id: 130 + pid: 800 + type: label + cells: (1,4,1,1) + text: "form.mission.nav-plan" + }, + + ctrl: { + id: 330 + pid: 800 + type: list, + cells: (1,5,1,1) + font: Verdana + back_color: (41,41,41), + transparent: false, + + style: 0x02, + item_style: 0x00, + selected_style: 0x00, + scroll_bar: 2, + leading: 2, + show_headings: true, + + column: { + title: "NO.", + width: 40, + align: center, + sort: 0 }, + + column: { + title: ACTION, + width: 70, + align: left, + sort: 0 }, + + column: { + title: SECTOR, + width: 62, + align: left, + sort: 0 }, + + column: { + title: DIST, + width: 60, + align: right, + sort: 0 }, + + column: { + title: SPEED, + width: 50, + align: right, + sort: 0 }, + }, + + + ctrl: { + id: 150 + pid: 800 + type: label + cells: (3,1,1,1) + text: "form.mission.threats" + }, + + defctrl: { + font: Verdana + } + + ctrl: { + id: 9999 + pid: 800 + type: panel + transparent: true + + cells: (3,2,1,3), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 0) + x_weights: ( 1) + + y_mins: ( 20, 20, 20, 20, 20, 20, 20, 20) + y_weights: ( 0, 0, 0, 0, 0, 0, 0, 0) + } + } + + + ctrl: { + id: 250 + pid: 9999 + type: label + cells: (0,0,1,1) + text: "form.mission.suspected" + }, + + ctrl: { + id: 251, + pid: 9999 + type: label + cells: (0,2,1,1) + }, + + ctrl: { + id: 252, + pid: 9999 + type: label + cells: (0,3,1,1) + }, + + ctrl: { + id: 253, + pid: 9999 + type: label + cells: (0,4,1,1) + }, + + ctrl: { + id: 254, + pid: 9999 + type: label + cells: (0,5,1,1) + }, + + ctrl: { + id: 255, + pid: 9999 + type: label + cells: (0,6,1,1) + } + + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + } + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (3,6,1,1) + } + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,6,1,1), + } +} diff --git a/data/content/Screens/MsnSelectDlg.frm b/data/content/Screens/MsnSelectDlg.frm new file mode 100644 index 0000000..7dc53a9 --- /dev/null +++ b/data/content/Screens/MsnSelectDlg.frm @@ -0,0 +1,241 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnSelectDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 80, 80, 10, 100, 100, 100, 10), + x_weights: ( 0, 1, 1, 0, 3, 3, 3, 0), + + y_mins: (28, 25, 20, 52, 60, 45), + y_weights: ( 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame3a + cells: (1,3,4,3), + cell_insets: (0,0,0,10), + margins: (48,80,48,48) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame3b + cells: (5,3,2,3), + cell_insets: (0,0,0,10), + margins: (80,48,48,48) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.msn-select.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,4,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // main panel: + + ctrl: { + id: 300 + type: panel + transparent: true + + cells: (1,3,6,3) + cell_insets: (10,10,14,54) + hide_partial: false + + layout: { + x_mins: (50, 50, 50, 20, 50, 50, 50) + x_weights: ( 1, 1, 1, 0, 1, 1, 1) + + y_mins: (25, 100, 5, 25, 100, 10, 25) + y_weights: ( 0, 1, 0, 0, 2, 0, 0) + } + } + + + defctrl: { + fore_color: (255,255,255) + back_color: (0,0,0) + font: Limerick12 + bevel_width: 0 + + align: left + transparent: true + }, + + ctrl: { + id: 101 + pid: 300 + type: label + cells: (0,0,3,1) + text: "form.msn-select.campaign" + style: 0x0040, + }, + + ctrl: { + id: 102, + pid: 300 + type: label + cells: (0,3,3,1) + text: "form.msn-select.mission", + style: 0x0040, + }, + + ctrl: { + id: 102 + pid: 300 + type: label + cells: (4,3,3,1) + text: "form.msn-select.description" + style: 0x0040 + }, + + defctrl: { + active_color: (192, 192, 192) + fore_color: (255, 255, 255) + back_color: ( 61, 61, 61) + bevel_width: 0 + texture: Panel + margins: (12,12,12,0) + + align: left + + font: Verdana + simple: true + text_align: left + transparent: false + style: 0x02 + scroll_bar: 2 + }, + + ctrl: { + id: 203 + pid: 300 + type: list, + cells: (0,1,3,1) + + column: { + title: Campaigns, + width: 202, + align: left, + sort: 0 } + }, + + ctrl: { + id: 202 + pid: 300 + type: list + cells: (0,4,3,1) + + column: { + title: Missions, + width: 202, + align: left, + sort: 0 } + }, + + ctrl: { + id: 200 + pid: 300 + type: text + cells: (4,4,3,1) + }, + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + fixed_height: 19 + cell_insets: (5,5,0,0) + margins: (3,18,0,0) + }, + + ctrl: { + id: 301 + pid: 300 + type: button + cells: (0,6,1,1) + text: "form.msn-select.new" + }, + + ctrl: { + id: 302 + pid: 300 + type: button + cells: (1,6,1,1) + text: "form.msn-select.edit" + }, + + ctrl: { + id: 303 + pid: 300 + type: button + cells: (2,6,1,1) + text: "form.msn-select.delete" + }, + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + fixed_height: 19 + }, + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (5,5,1,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (6,5,1,1), + }, +} + diff --git a/data/content/Screens/MsnWepDlg.frm b/data/content/Screens/MsnWepDlg.frm new file mode 100644 index 0000000..1e4c695 --- /dev/null +++ b/data/content/Screens/MsnWepDlg.frm @@ -0,0 +1,486 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MsnWepDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 10, 90, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9990 + type: background + texture: Frame4a + cells: (1,3,4,1), + cell_insets: (0,0,0,0), + margins: (2,2,16,16) + hide_partial: false + } + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,4,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,4,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.mission.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + // tabs: + + ctrl: { + id: 999 + type: panel + transparent: true + cells: (1,4,4,1) + cell_insets: (0,0,0,0) + hide_partial: false + + layout: { + x_mins: (80, 80, 80, 80, 5) + x_weights: ( 1, 1, 1, 1, 15) + + y_mins: (24), + y_weights: ( 0) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0), + cell_insets: (0,4,0,0) + }, + + ctrl: { + id: 900 + pid: 999 + type: button + text: "form.mission.tab.situation" + cells: (0,0,1,1) + } + + ctrl: { + id: 901 + pid: 999 + type: button + text: "form.mission.tab.package" + cells: (1,0,1,1) + } + + ctrl: { + id: 902 + pid: 999 + type: button + text: "form.mission.tab.navigation" + cells: (2,0,1,1) + } + + ctrl: { + id: 903 + pid: 999 + type: button + text: "form.mission.tab.loadout" + cells: (3,0,1,1) + } + + // info panel: + + ctrl: { + id: 700 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,3,4,1), + cell_insets: (10,10,12,10) + + layout: { + x_mins: ( 20, 60, 100, 60, 100, 20) + x_weights: ( 0, 0, 1, 0, 1, 0) + + y_mins: ( 0, 20, 15, 15, 0) + y_weights: ( 1, 0, 0, 0, 1) + } + } + + defctrl: { + align: left + bevel_width: 0 + font: Verdana + fore_color: (255, 255, 255) + standard_image: "" + activated_image: "" + transparent: true + margins: (0,0,0,0) + cell_insets: (0,0,0,0) + text_insets: (1,1,1,1) + }, + + ctrl: { + id: 200 + pid: 700 + type: label + cells: (1,1,2,1) + text: "", // title goes here + fore_color: (255, 255, 128) + font: Limerick12 + }, + + ctrl: { + id: 201 + pid: 700 + type: label + cells: (1,2,1,1) + text: "form.mission.system" + }, + + ctrl: { + id: 202 + pid: 700 + type: label + cells: (2,2,1,1) + text: "" // system goes here + }, + + ctrl: { + id: 203 + pid: 700 + type: label + cells: (1,3,1,1) + text: "form.mission.sector" + }, + + ctrl: { + id: 204 + pid: 700 + type: label + cells: (2,3,1,1) + text: "" // sector goes here + }, + + + ctrl: { + id: 206 + pid: 700 + type: label + cells: (4,1,1,1) + text: "" // timestamp + align: right + }, + + + // main panel: + + ctrl: { + id: 800 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (1,5,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 20, 80, 120, 30, 30, 30, 30, 5, 30, 30, 30, 30, 10, 20) + x_weights: ( 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 2, 0) + + y_mins: ( 15, 20, 20, 20, 30, 15, 20, 20,20,20,20, 20,20,20,20, 20) + y_weights: ( 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) + } + } + + + defctrl: { + pid: 800 + transparent: true + font: Limerick12 + } + + ctrl: { + id: 604 + type: list + cells: (3,2,9,3) + font: Verdana + + back_color: (41,41,41) + transparent: false + + style: 0x02 + item_style: 0x00 + selected_style: 0x02 + scroll_bar: 2 + leading: 2 + show_headings: true + + column: { + title: "form.mission.loadout.name", + width: 160, + align: left, + sort: 1, + }, + + column: { + title: "form.mission.loadout.weight", + width: 72, + align: right, + sort: 1, + }, + }, + + ctrl: { id: 90 type: label cells: (3,1,9,1) text: "form.mission.standard-loads" } + ctrl: { id: 91 type: label cells: (1,1,1,1) text: "form.mission.element" } + ctrl: { id: 601 type: label cells: (2,1,1,1) } + ctrl: { id: 92 type: label cells: (1,2,1,1) text: "form.mission.type" } + ctrl: { id: 602 type: label cells: (2,2,1,1) } + ctrl: { id: 93 type: label cells: (1,3,1,1) text: "form.mission.weight" } + ctrl: { id: 603 type: label cells: (2,3,1,1) } + ctrl: { id: 94 type: label cells: (1,6,2,1) text: "form.mission.custom-loads" } + + defctrl: { font: Verdana align: left }, + + ctrl: { id: 401 type: label cells: ( 3,6,1,1) } + ctrl: { id: 402 type: label cells: ( 4,6,1,1) } + ctrl: { id: 403 type: label cells: ( 5,6,1,1) } + ctrl: { id: 404 type: label cells: ( 6,6,1,1) } + + ctrl: { id: 405 type: label cells: ( 8,6,1,1) } + ctrl: { id: 406 type: label cells: ( 9,6,1,1) } + ctrl: { id: 407 type: label cells: (10,6,1,1) } + ctrl: { id: 408 type: label cells: (11,6,1,1) } + + defctrl: { transparent: true align: left }, + + ctrl: { + id: 500 + type: label + cells: (1,7,2,1) + text: "Weapon 1" + } + + ctrl: { + id: 510 + type: label + cells: (1,8,2,1) + text: "Weapon 2" + } + + ctrl: { + id: 520 + type: label + cells: (1,9,2,1) + text: "Weapon 3" + } + + ctrl: { + id: 530 + type: label + cells: (1,10,2,1) + text: "Weapon 4" + } + + ctrl: { + id: 540 + type: label + cells: (1,11,2,1) + text: "Weapon 5" + } + + ctrl: { + id: 550 + type: label + cells: (1,12,2,1) + text: "Weapon 6" + } + + ctrl: { + id: 560 + type: label + cells: (1,13,2,1) + text: "Weapon 7" + } + + ctrl: { + id: 570 + type: label + cells: (1,14,2,1) + text: "Weapon 8" + } + + defctrl: { + transparent: false + align: center + standard_image: Button17x17_0 + activated_image: Button17x17_1 + transition_image: Button17x17_2 + fixed_width: 19 + fixed_height: 19 + } + + ctrl: { id: 501 type: button cells: ( 3,7,1,1) picture: "LED0.pcx" } + ctrl: { id: 502 type: button cells: ( 4,7,1,1) picture: "LED1.pcx" } + ctrl: { id: 503 type: button cells: ( 5,7,1,1) } + ctrl: { id: 504 type: button cells: ( 6,7,1,1) } + + ctrl: { id: 505 type: button cells: ( 8,7,1,1) } + ctrl: { id: 506 type: button cells: ( 9,7,1,1) } + ctrl: { id: 507 type: button cells: (10,7,1,1) } + ctrl: { id: 508 type: button cells: (11,7,1,1) } + + ctrl: { id: 511 type: button cells: ( 3,8,1,1) } + ctrl: { id: 512 type: button cells: ( 4,8,1,1) } + ctrl: { id: 513 type: button cells: ( 5,8,1,1) } + ctrl: { id: 514 type: button cells: ( 6,8,1,1) } + + ctrl: { id: 515 type: button cells: ( 8,8,1,1) } + ctrl: { id: 516 type: button cells: ( 9,8,1,1) } + ctrl: { id: 517 type: button cells: (10,8,1,1) } + ctrl: { id: 518 type: button cells: (11,8,1,1) } + + ctrl: { id: 521 type: button cells: ( 3,9,1,1) } + ctrl: { id: 522 type: button cells: ( 4,9,1,1) } + ctrl: { id: 523 type: button cells: ( 5,9,1,1) } + ctrl: { id: 524 type: button cells: ( 6,9,1,1) } + + ctrl: { id: 525 type: button cells: ( 8,9,1,1) } + ctrl: { id: 526 type: button cells: ( 9,9,1,1) } + ctrl: { id: 527 type: button cells: (10,9,1,1) } + ctrl: { id: 528 type: button cells: (11,9,1,1) } + + ctrl: { id: 531 type: button cells: ( 3,10,1,1) } + ctrl: { id: 532 type: button cells: ( 4,10,1,1) } + ctrl: { id: 533 type: button cells: ( 5,10,1,1) } + ctrl: { id: 534 type: button cells: ( 6,10,1,1) } + + ctrl: { id: 535 type: button cells: ( 8,10,1,1) } + ctrl: { id: 536 type: button cells: ( 9,10,1,1) } + ctrl: { id: 537 type: button cells: (10,10,1,1) } + ctrl: { id: 538 type: button cells: (11,10,1,1) } + + ctrl: { id: 541 type: button cells: ( 3,11,1,1) } + ctrl: { id: 542 type: button cells: ( 4,11,1,1) } + ctrl: { id: 543 type: button cells: ( 5,11,1,1) } + ctrl: { id: 544 type: button cells: ( 6,11,1,1) } + + ctrl: { id: 545 type: button cells: ( 8,11,1,1) } + ctrl: { id: 546 type: button cells: ( 9,11,1,1) } + ctrl: { id: 547 type: button cells: (10,11,1,1) } + ctrl: { id: 548 type: button cells: (11,11,1,1) } + + ctrl: { id: 551 type: button cells: ( 3,12,1,1) } + ctrl: { id: 552 type: button cells: ( 4,12,1,1) } + ctrl: { id: 553 type: button cells: ( 5,12,1,1) } + ctrl: { id: 554 type: button cells: ( 6,12,1,1) } + + ctrl: { id: 555 type: button cells: ( 8,12,1,1) } + ctrl: { id: 556 type: button cells: ( 9,12,1,1) } + ctrl: { id: 557 type: button cells: (10,12,1,1) } + ctrl: { id: 558 type: button cells: (11,12,1,1) } + + ctrl: { id: 561 type: button cells: ( 3,13,1,1) } + ctrl: { id: 562 type: button cells: ( 4,13,1,1) } + ctrl: { id: 563 type: button cells: ( 5,13,1,1) } + ctrl: { id: 564 type: button cells: ( 6,13,1,1) } + + ctrl: { id: 565 type: button cells: ( 8,13,1,1) } + ctrl: { id: 566 type: button cells: ( 9,13,1,1) } + ctrl: { id: 567 type: button cells: (10,13,1,1) } + ctrl: { id: 568 type: button cells: (11,13,1,1) } + + ctrl: { id: 571 type: button cells: ( 3,14,1,1) } + ctrl: { id: 572 type: button cells: ( 4,14,1,1) } + ctrl: { id: 573 type: button cells: ( 5,14,1,1) } + ctrl: { id: 574 type: button cells: ( 6,14,1,1) } + + ctrl: { id: 575 type: button cells: ( 8,14,1,1) } + ctrl: { id: 576 type: button cells: ( 9,14,1,1) } + ctrl: { id: 577 type: button cells: (10,14,1,1) } + ctrl: { id: 578 type: button cells: (11,14,1,1) } + + + + // ok and cancel buttons: + + defctrl: { + pid: 0 + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + fixed_width: 0 + fixed_height: 19 + } + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (3,6,1,1) + } + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,6,1,1), + } +} diff --git a/data/content/Screens/NavDlg.frm b/data/content/Screens/NavDlg.frm new file mode 100644 index 0000000..87ffb36 --- /dev/null +++ b/data/content/Screens/NavDlg.frm @@ -0,0 +1,396 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: NavDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 400, 20, 200, 10) + x_weights: ( 0, 1, 0, 0, 0) + + y_mins: (28, 30, 10, 100, 25, 15) + y_weights: ( 0, 0, 0, 1, 0, 0) + }, + + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.nav.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // main panels: + + ctrl: { + id: 800 + type: panel + transparent: true + + cells: (1,3,1,2) + cell_insets: (0,0,0,0) + hide_partial: false + + layout: { + x_mins: (100, 100, 100, 10, 24, 24) + x_weights: ( 0, 0, 0, 1, 0, 0) + + y_mins: (25, 325, 15, 75) + y_weights: ( 0, 1, 0, 0) + } + } + + ctrl: { + id: 600 + pid: 800 + type: panel + transparent: false + + texture: Panel + margins: (12,12,12,0), + + cells: (0,3,6,1) + cell_insets: (0,0,0,0) + hide_partial: false + + layout: { + x_mins: (10, 90, 90, 90, 90, 10) + x_weights: ( 0, 0, 1, 0, 1, 0) + + y_mins: (70) + y_weights: ( 1) + } + } + + ctrl: { + id: 850 + type: panel + transparent: false + + texture: Frame2 + margins: (60,40,40,40), + + cells: (3,3,1,1) + cell_insets: (0,0,0,0) + hide_partial: false + + layout: { + x_mins: (100, 100) + x_weights: ( 0, 0) + + y_mins: (30, 23, 23, 23, 15, 50, 50, 50, 15) + y_weights: ( 0, 0, 0, 0, 0, 1, 1, 0, 0) + } + } + + defctrl: { + fore_color: (0,0,0) + font: Limerick12 + bevel_width: 0 + bevel_depth: 128 + border: true + border_color: (0,0,0) + transparent: false + sticky: true + }, + + ctrl: { + id: 100 + pid: 800 + type: label + cells: (0,1,6,1) + fore_color: (255,255,255) + back_color: (41, 41, 41) + + texture: Panel + margins: (12,12,12,0), + }, + + defctrl: { + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,5,0,6) + } + + ctrl: { + id: 101 + pid: 800 + type: button + cells: (0,0,1,1) + text: "form.nav.galaxy" + }, + + ctrl: { + id: 102 + pid: 800 + type: button + cells: (1,0,1,1) + text: "form.nav.system" + }, + + ctrl: { + id: 103 + pid: 800 + type: button + cells: (2,0,1,1) + text: "form.nav.sector" + }, + + defctrl: { + sticky: false, + standard_image: Button17x17_0 + activated_image: Button17x17_1 + transition_image: Button17x17_2 + align: center + sticky: false + margins: (0,0,0,0) + cell_insets: (5,0,0,1) + fixed_width: 19 + fixed_height: 19 + }, + + ctrl: { + id: 110 + pid: 800 + type: button + cells: (4,0,1,1) + text: "+" + }, + + ctrl: { + id: 111 + pid: 800 + type: button + cells: (5,0,1,1) + text: "-" + }, + + defctrl: { + sticky: true + standard_image: Tab17_0 + activated_image: Tab17_1 + transition_image: Tab17_2 + align: left + fixed_width: 0 + fixed_height: 19 + cell_insets: (5,2,0,0) + margins: (10,10,0,0) + }, + + ctrl: { + id: 401 + pid: 850 + type: button + cells: (0,1,1,1) + text: "form.nav.system" + } + + ctrl: { + id: 403 + pid: 850 + type: button + cells: (0,2,1,1) + text: "form.nav.sector" + } + + ctrl: { + id: 405 + pid: 850 + type: button + cells: (0,3,1,1) + text: "form.nav.starship" + } + + defctrl: { + cell_insets: (2,5,0,0) + } + + ctrl: { + id: 402 + pid: 850 + type: button + cells: (1,1,1,1) + text: "form.nav.planet" + } + + ctrl: { + id: 404 + pid: 850 + type: button + cells: (1,2,1,1) + text: "form.nav.station" + } + + ctrl: { + id: 406 + pid: 850 + type: button + cells: (1,3,1,1) + text: "form.nav.fighter" + } + + defctrl: { + sticky: false, + back_color: ( 41, 41, 41), + fore_color: (255, 255, 255), + font: Verdana + fixed_width: 0 + fixed_height: 0 + + scroll_bar: 2 + style: 0 + transparent: false + + cell_insets: (5,5,10,0) + }, + + + defctrl: { + back_color: ( 41, 41, 41), + fore_color: ( 53, 159, 67), + font: "Verdana", + transparent: true + }, + + ctrl: { + id: 601 + pid: 600 + type: label + cells: (1,0,1,1) + text: "form.nav.location" + }, + + ctrl: { + id: 602 + pid: 600 + type: label + cells: (3,0,1,1) + text: "form.nav.destination" + }, + + defctrl: { + standard_image: "", + activated_image: "", + transition_image: "", + fore_color: (255, 255, 255) + }, + + ctrl: { + id: 701 + pid: 600 + type: label + cells: (2,0,1,1) + }, + + ctrl: { + id: 702 + pid: 600 + type: label + cells: (4,0,1,1) + }, + + defctrl: { + transparent: false + }, + + ctrl: { + id: 801 + pid: 850 + type: list + cells: (0,5,2,1) + show_headings: true + + texture: Panel + margins: (12,12,12,0), + + column: { + title: Name + width: 167 + align: left + sort: 0 + } + } + + ctrl: { + id: 802 + pid: 850 + type: list + cells: (0,6,2,1) + show_headings: false + + texture: Panel + margins: (12,12,12,0), + + column: { + title: Name, + width: 70, + align: left, + sort: 0, + color: ( 53, 159, 67) + }, + + column: { + title: Value, + width: 92, + align: left, + sort: 0, + color: (255, 255, 255) + } + } + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (5,5,5,0) + fixed_height: 19 + }, + + ctrl: { + id: 1 + pid: 850 + type: button + text: "form.commit" + cells: (0,7,2,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.close" + cells: (3,4,1,1), + }, + +} diff --git a/data/content/Screens/NetAddrDlg.frm b/data/content/Screens/NetAddrDlg.frm new file mode 100644 index 0000000..46ec9f4 --- /dev/null +++ b/data/content/Screens/NetAddrDlg.frm @@ -0,0 +1,145 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: NetAddrDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,440,280), + back_color: (0,0,0), + fore_color: (255,255,255), + font: Limerick12, + + texture: "Message.pcx", + margins: (50,40,48,40), + + layout: { + x_mins: (30, 100, 100, 100, 30), + x_weights: ( 0, 0, 1, 1, 0), + + y_mins: (44, 30, 25, 25, 25, 25, 10, 35), + y_weights: ( 0, 1, 0, 0, 0, 0, 2, 0) + }, + + defctrl: { + base_color: ( 92, 92, 92) + back_color: ( 41, 41, 41) + fore_color: (255, 255, 255) + bevel_width: 0 + bevel_depth: 128 + border: true + border_color: (192, 192, 192) + align: left + font: Verdana + transparent: true + style: 0x02 + } + + ctrl: { + id: 100 + type: label + text: "form.net.addr.title" + cells: (1,1,3,1) + font: Limerick12 + align: center + } + + defctrl: { + font: Verdana + transparent: true + style: 0 + }, + + + ctrl: { + id: 110 + type: label + cells: (1,2,1,1) + text: "form.net.name" + }, + + ctrl: { + id: 111 + type: label + cells: (1,3,1,1) + text: "form.net.server" + }, + + ctrl: { + id: 112, + type: label, + cells: (1,4,1,1) + text: "form.net.port" + }, + + ctrl: { + id: 113 + type: label + cells: (1,5,1,1) + text: "form.net.password" + }, + + defctrl: { + back_color: (41, 41, 41) + style: 0x02 + scroll_bar: 0 + transparent: false + fixed_height: 18 + }, + + ctrl: { + id: 200 + type: edit + cells: (2,2,2,1) + }, + + ctrl: { + id: 201, + type: edit, + cells: (2,3,2,1) + }, + + ctrl: { + id: 202, + type: edit, + cells: (2,4,2,1) + }, + + ctrl: { + id: 203, + type: edit, + cells: (2,5,2,1) + }, + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (10,0,0,0) + fixed_height: 19 + } + + ctrl: { + id: 1, + type: button, + text: "form.ok" + cells: (2,7,1,1) + } + + ctrl: { + id: 2, + type: button, + text: "form.cancel" + cells: (3,7,1,1), + } +} diff --git a/data/content/Screens/NetClientDlg.frm b/data/content/Screens/NetClientDlg.frm new file mode 100644 index 0000000..8e3a617 --- /dev/null +++ b/data/content/Screens/NetClientDlg.frm @@ -0,0 +1,205 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: NetClientDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 50, 100, 100, 100, 100, 100, 50, 10) + x_weights: ( 0, 1, 1, 1, 1, 1, 1, 1, 0) + + y_mins: (28, 25, 20, 42, 5, 30, 60, 50, 45) + y_weights: ( 0, 0, 0, 0, 0, 0, 1, 0, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame3a + cells: (1,3,4,6), + cell_insets: (0,0,0,10), + margins: (48,80,48,48) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame3b + cells: (5,3,3,6), + cell_insets: (0,0,0,10), + margins: (80,48,48,48) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.net.client.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // main panel: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,0) + fixed_height: 19 + }, + + ctrl: { + id: 101 + type: button + cells: (2,5,1,1) + text: "form.net.client.add" + }, + + ctrl: { + id: 102, + type: button, + cells: (3,5,1,1) + text: "form.net.client.delete", + }, + + ctrl: { + id: 210, + type: label, + cells: (4,5,3,1) + transparent: true, + font: Verdana + }, + + ctrl: { + id: 301, + type: button, + cells: (2,7,2,1) + text: "form.net.client.local" + }, + + ctrl: { + id: 302, + type: button, + cells: (5,7,1,1) + cell_insets: (10,0,0,0) + text: "form.net.client.host" + }, + + ctrl: { + id: 303, + type: button, + cells: (6,7,1,1) + cell_insets: (10,0,0,0) + text: "form.net.client.join" + }, + + ctrl: { + id: 200, + type: list, + cells: (2,6,5,1) + cell_insets: (0,0,0,10) + + fore_color: (255,255,255) + back_color: ( 61, 61, 61) + bevel_width: 0 + fixed_height: 0 + texture: Panel + margins: (12,12,12,0) + + font: Verdana, + style: 0x02, + scroll_bar: 2, + show_headings: true, + + column: { + title: "form.net.client.server", + width: 177, + align: left, + sort: 0 }, + + column: { + title: "form.net.client.type", + width: 85, + align: center, + sort: 0 }, + + column: { + title: "form.net.client.password", + width: 85, + align: center, + sort: 0 }, + + column: { + title: "form.net.client.status", + width: 65, + align: center, + sort: 0 }, + + column: { + title: "form.net.client.players", + width: 65, + align: center, + sort: 0 }, + + column: { + title: "form.net.client.ping", + width: 65, + align: center, + sort: 0 }, + }, + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (50,5,0,0) + fixed_height: 19 + }, + + ctrl: { + id: 2 + pid: 0 + type: button + text: "form.close" + cells: (6,8,2,1), + }, + +} diff --git a/data/content/Screens/NetLobbyDlg.frm b/data/content/Screens/NetLobbyDlg.frm new file mode 100644 index 0000000..accc2b7 --- /dev/null +++ b/data/content/Screens/NetLobbyDlg.frm @@ -0,0 +1,218 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: NetLobbyDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 150, 100, 50, 100, 100, 10) + x_weights: ( 0, 1, 1, 1, 1, 1, 0) + + y_mins: (28, 25, 20, 20, 20, 25, 50, 25, 50, 25, 45) + y_weights: ( 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame3a + cells: (1,3,3,8), + cell_insets: (0,0,0,10), + margins: (48,80,48,48) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame3b + cells: (4,3,2,8), + cell_insets: (0,0,0,10), + margins: (80,48,48,48) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.net.lobby.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // main panel: + + defctrl: { + font: Limerick12 + fore_color: (255,255,255) + back_color: ( 41, 41, 41) + cell_insets: (10,10,0,0) + transparent: true + style: 0x40 + } + + ctrl: { + id: 101 + type: label + cells: (1,4,2,1) + text: "form.net.lobby.missions" + } + + ctrl: { + id: 102 + type: label + cells: (1,7,1,1) + text: "form.net.lobby.players" + } + + ctrl: { + id: 103 + type: label + cells: (2,7,3,1) + text: "form.net.lobby.chat" + } + + + defctrl: { + font: Verdana + transparent: false + style: 0x02 + cell_insets: (10,10,0,5) + texture: Panel + margins: (12,12,12,0) + + border_color: (192, 192, 192) + active_color: ( 92, 92, 92) + show_headings: true + simple: true + text_align: left + fixed_height: 0 + scroll_bar: 2 + } + + ctrl: { + id: 200, + type: combo, + cells: (1,5,2,1) + fixed_height: 18 + }, + + ctrl: { + id: 201, + type: list, + cells: (1,6,2,1) + + column: { + title: "form.net.lobby.missions", + width: 100, + align: left, + sort: 3 }, // sort never + }, + + ctrl: { + id: 202, + type: label, + cells: (3,5,3,2) + scroll_bar: 0, + text: "" // description + }, + + ctrl: { + id: 210, + type: list, + cells: (1,8,1,2) + + column: { + title: "form.net.lobby.host", + width: 40, + align: center, + sort: 3 }, // sort never + + column: { + title: "form.net.lobby.player", + width: 100, + align: left, + sort: 3 }, // sort never + }, + + ctrl: { + id: 211, + type: list, + cells: (2,8,4,1) + + column: { + title: "form.net.lobby.name", + width: 100, + align: left, + sort: 0 }, + + column: { + title: "form.net.lobby.message", + width: 250, + align: left, + sort: 0 }, + }, + + ctrl: { + id: 212, + type: edit, + cells: (2,9,4,1) + scroll_bar: 0 + fixed_height: 18 + }, + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (5,5,0,0) + fixed_height: 19 + fixed_width: 0 + pid: 0 + }, + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (4,10,1,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (5,10,1,1) + }, + +} diff --git a/data/content/Screens/NetPassDlg.frm b/data/content/Screens/NetPassDlg.frm new file mode 100644 index 0000000..1efd130 --- /dev/null +++ b/data/content/Screens/NetPassDlg.frm @@ -0,0 +1,118 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: NetPassDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,440,280), + back_color: (0,0,0), + fore_color: (255,255,255), + font: Limerick12, + + texture: "Message.pcx", + margins: (50,40,48,40), + + layout: { + x_mins: (30, 100, 100, 100, 30), + x_weights: ( 0, 0, 1, 1, 0), + + y_mins: (44, 30, 25, 25, 25, 25, 10, 35), + y_weights: ( 0, 1, 0, 0, 0, 0, 2, 0) + }, + + defctrl: { + base_color: ( 92, 92, 92) + back_color: ( 41, 41, 41) + fore_color: (255, 255, 255) + bevel_width: 0 + bevel_depth: 128 + border: true + border_color: (192, 192, 192) + align: left + font: Verdana + transparent: true + style: 0x02 + } + + ctrl: { + id: 100 + type: label + text: "form.net.pass.title" + cells: (1,1,3,1) + font: Limerick12 + align: center + } + + defctrl: { + font: Verdana + transparent: true + style: 0 + }, + ctrl: { + id: 101, + type: label, + cells: (1,3,1,1) + text: "form.net.server", + }, + + ctrl: { + id: 102, + type: label, + cells: (1,4,1,1) + text: "form.net.password", + }, + + ctrl: { + id: 110, + type: label, + cells: (2,3,2,1) + text: "" + }, + + defctrl: { + back_color: (41, 41, 41) + style: 0x02 + scroll_bar: 0 + transparent: false + }, + + ctrl: { + id: 200, + type: edit, + cells: (2,4,2,1) + fixed_height: 18 + }, + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (10,0,0,0) + fixed_height: 19 + } + + ctrl: { + id: 1, + type: button, + text: "form.ok" + cells: (2,7,1,1) + } + + ctrl: { + id: 2, + type: button, + text: "form.cancel" + cells: (3,7,1,1), + } +} diff --git a/data/content/Screens/NetServerDlg.frm b/data/content/Screens/NetServerDlg.frm new file mode 100644 index 0000000..b376989 --- /dev/null +++ b/data/content/Screens/NetServerDlg.frm @@ -0,0 +1,198 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: NetAddrDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + rect: (0,0,440,380), + back_color: (0,0,0), + fore_color: (255,255,255), + font: Limerick12, + + texture: "Message.pcx", + margins: (50,40,48,40), + + layout: { + x_mins: (30, 150, 100, 100, 30), + x_weights: ( 0, 0, 1, 1, 0), + + y_mins: (44, 30, 25, 25, 25, 25, 25, 25, 25, 25, 10, 35), + y_weights: ( 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0) + }, + + defctrl: { + base_color: ( 92, 92, 92) + back_color: ( 41, 41, 41) + fore_color: (255, 255, 255) + bevel_width: 0 + bevel_depth: 128 + border: true + border_color: (192, 192, 192) + align: left + font: Verdana + transparent: true + style: 0x02 + } + + ctrl: { + id: 100 + type: label + text: "form.net.server.title" + cells: (1,1,3,1) + font: Limerick12 + align: center + } + + defctrl: { + font: Verdana + transparent: true + style: 0 + }, + + + ctrl: { + id: 110, + type: label, + cells: (1,2,1,1) + text: "form.net.server.name", + }, + + ctrl: { + id: 111, + type: label, + cells: (1,3,1,1) + text: "form.net.server.type", + }, + + ctrl: { + id: 112, + type: label, + cells: (1,4,1,1) + text: "form.net.server.game-port", + }, + + ctrl: { + id: 113, + type: label, + cells: (1,5,1,1) + text: "form.net.server.admin-port", + }, + + ctrl: { + id: 114, + type: label, + cells: (1,7,1,1) + text: "form.net.server.game-pass", + }, + + ctrl: { + id: 115, + type: label, + cells: (1,8,1,1) + text: "form.net.server.admin-name", + }, + + ctrl: { + id: 116, + type: label, + cells: (1,9,1,1) + text: "form.net.server.admin-pass", + }, + + defctrl: { + back_color: (41, 41, 41), + style: 0x02, + scroll_bar: 0, + + active_color: ( 92, 92, 92), + back_color: ( 41, 41, 41), + base_color: ( 92, 92, 92), + border_color: (192, 192, 192), + + border: true + simple: true + transparent: false + bevel_width: 3 + text_align: left + fixed_height: 18 + }, + + ctrl: { + id: 200, + type: edit, + cells: (2,2,2,1) + }, + + ctrl: { + id: 201, + type: combo, + cells: (2,3,2,1) + + item: "form.net.server.lan", + item: "form.net.server.private", + item: "form.net.server.public", + }, + + ctrl: { + id: 202, + type: edit, + cells: (2,4,2,1) + }, + + ctrl: { + id: 203, + type: edit, + cells: (2,5,2,1) + }, + + ctrl: { + id: 204, + type: edit, + cells: (2,7,2,1) + }, + + ctrl: { + id: 205, + type: edit, + cells: (2,8,2,1) + }, + + ctrl: { + id: 206, + type: edit, + cells: (2,9,2,1) + }, + + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (10,0,0,0) + fixed_height: 19 + } + + ctrl: { + id: 1, + type: button, + text: "form.accept" + cells: (2,11,1,1) + } + + ctrl: { + id: 2, + type: button, + text: "form.cancel" + cells: (3,11,1,1), + } +} diff --git a/data/content/Screens/NetUnitDlg.frm b/data/content/Screens/NetUnitDlg.frm new file mode 100644 index 0000000..d62db1d --- /dev/null +++ b/data/content/Screens/NetUnitDlg.frm @@ -0,0 +1,286 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: NetUnitDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 150, 60, 90, 100, 100, 10) + x_weights: ( 0, 1, 1, 1, 1, 1, 0) + + y_mins: (28, 25, 20, 20, 20, 15, 25, 25, 20, 25, 50, 25, 45) + y_weights: ( 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 0, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame3a + cells: (1,3,3,10), + cell_insets: (0,0,0,10), + margins: (48,80,48,48) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame3b + cells: (4,3,2,10), + cell_insets: (0,0,0,10), + margins: (80,48,48,48) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.net.unit.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // main panel: + + defctrl: { + font: Limerick12 + fore_color: (255,255,255) + back_color: ( 41, 41, 41) + cell_insets: (10,10,0,0) + transparent: true + style: 0x40 + } + + ctrl: { + id: 101 + type: label + cells: (1,4,1,1) + text: "form.net.unit.players" + } + + ctrl: { + id: 102 + type: label + cells: (3,4,3,1) + text: "form.net.unit.unit-mapping" + } + + ctrl: { + id: 103 + type: label + cells: (1,9,3,1) + text: "form.net.unit.chat" + } + + + defctrl: { + font: Verdana + transparent: false + style: 0x02 + cell_insets: (10,10,0,5) + texture: Panel + margins: (12,12,12,0) + + fore_color: (255,255,255), + border_color: (192, 192, 192) + active_color: ( 92, 92, 92) + show_headings: true + simple: true + text_align: left + fixed_height: 0 + scroll_bar: 2 + } + + ctrl: { + id: 201, + type: list, + cells: (1,5,1,4) + show_headings: true + + column: { + title: PLAYER, + width: 132, + align: left, + sort: 3 }, // sort never + }, + + ctrl: { + id: 202, + type: list, + cells: (3,5,3,4) + show_headings: true, + + column: { + title: "PLAYER", + width: 120, + align: left, + sort: 3 }, // sort never + + column: { + title: "UNIT", + width: 115, + align: left, + sort: 3 }, // sort never + + column: { + title: "SHIP TYPE", + width: 115, + align: left, + sort: 3 }, // sort never + + column: { + title: "ROLE", + width: 120, + align: left, + sort: 3 }, // sort never + + column: { + title: "TEAM", + width: 51, + align: left, + sort: 3 }, // sort never + }, + + ctrl: { + id: 211, + type: list, + cells: (1,10,5,1) + show_headings: true, + + column: { + title: NAME, + width: 130, + align: left, + sort: 0 }, + + column: { + title: "CHAT MESSAGE", + width: 629, + align: left, + sort: 0 }, + }, + + ctrl: { + id: 212, + type: edit, + cells: (1,11,5,1) + scroll_bar: 0, + transparent: false, + }, + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (5,5,0,0) + fixed_height: 19 + fixed_width: 0 + cell_insets: (5,5,0,0) + }, + + ctrl: { + id: 206, + type: button, + cells: (2,5,1,1) + text: "form.net.unit.select-unit" + cell_insets: (5,5,20,0) + }, + + ctrl: { + id: 203, + type: button, + cells: (2,6,1,1) + text: "form.net.unit.map-unit", + }, + + ctrl: { + id: 204, + type: button, + cells: (2,7,1,1) + text: "form.net.unit.unmap-unit", + }, + + ctrl: { + id: 205, + type: button, + cells: (2,8,1,1) + cell_insets: (5,5,20,0) + text: "form.net.unit.ban-player", + }, + + defctrl: { + font: Verdana, + fore_color: (255, 255, 255), + back_color: ( 61, 61, 59), + transparent: true, + style: 0x02, + scroll_bar: 2, + standard_image: "", + activated_image: "", + transition_image: "", + }, + + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (5,5,0,0) + fixed_height: 19 + fixed_width: 0 + pid: 0 + }, + + ctrl: { + id: 1 + type: button + text: "form.accept" + cells: (4,12,1,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (5,12,1,1) + }, + +} + + diff --git a/data/content/Screens/OptDlg.frm b/data/content/Screens/OptDlg.frm new file mode 100644 index 0000000..1500663 --- /dev/null +++ b/data/content/Screens/OptDlg.frm @@ -0,0 +1,400 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: MenuDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 20, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,3,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + }, + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,3,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + }, + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.options.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // tabs: + + ctrl: { + id: 900 + type: panel + transparent: true + cells: (1,3,4,1) + layout: { + x_mins: (100, 100, 100, 100, 100, 0), + x_weights: (0.2, 0.2, 0.2, 0.2, 0.2, 1), + + y_mins: (24), + y_weights: ( 1) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0), + cell_insets: (0,4,0,0) + }, + + ctrl: { + id: 901 + pid: 900 + type: button + text: "form.options.tab.video" + cells: (0,0,1,1) + } + + ctrl: { + id: 902 + pid: 900 + type: button + text: "form.options.tab.audio" + cells: (1,0,1,1) + } + + ctrl: { + id: 903 + pid: 900 + type: button + text: "form.options.tab.controls" + cells: (2,0,1,1) + } + + ctrl: { + id: 904 + pid: 900 + type: button + text: "form.options.tab.gameplay" + cells: (3,0,1,1) + } + + ctrl: { + id: 905 + pid: 900 + type: button + text: "form.options.tab.mods" + cells: (4,0,1,1) + } + + // main panel: + + ctrl: { + id: 300 + type: panel + transparent: false //true + + texture: Panel + margins: (12,12,12,0), + + cells: (1,4,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 20, 100, 100, 20, 100, 100, 20) + x_weights: (0.2, 0.3, 0.3, 0.2, 0.3, 0.3, 0.2) + + y_mins: ( 20, 30, 30, 30, 30, 30, 30, 30, 30, 30, 20) + y_weights: (0.3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.7) + } + } + + defctrl: { + font: Verdana + fore_color: (255, 255, 255) + + standard_image: "" + activated_image: "" + sticky: false + + active_color: ( 92, 92, 92) + back_color: ( 41, 41, 41) + base_color: ( 92, 92, 92) + border_color: (192, 192, 192) + + border: true + simple: true + bevel_width: 3 + text_align: left + transparent: true + } + + ctrl: { + id: 101 + pid: 300 + type: label + text: "form.gameplay.flight-model" + cells: (1,1,1,1) + } + + ctrl: { + id: 111 + pid: 300 + type: label + text: "form.gameplay.flying-start" + cells: (1,2,1,1) + } + + ctrl: { + id: 102 + pid: 300 + type: label + text: "form.gameplay.landings" + cells: (1,3,1,1) + } + + ctrl: { + id: 103 + pid: 300 + type: label + text: "form.gameplay.ai-difficulty" + cells: (1,4,1,1) + } + + ctrl: { + id: 104 + pid: 300 + type: label + text: "form.gameplay.hud-mode" + cells: (1,5,1,1) + } + + ctrl: { + id: 105 + pid: 300 + type: label + text: "form.gameplay.hud-color" + cells: (1,6,1,1) + } + + ctrl: { + id: 106 + pid: 300 + type: label + text: "form.gameplay.friendly-fire" + cells: (1,7,1,1) + } + + ctrl: { + id: 107 + pid: 300 + type: label + text: "form.gameplay.ref-grid" + cells: (1,8,1,1) + } + + ctrl: { + id: 108 + pid: 300 + type: label + text: "form.gameplay.gunsight" + cells: (1,9,1,1) + } + + ctrl: { + id: 500 + pid: 300 + type: label + cells: (4,1,2,8) + } + + defctrl: { + cell_insets: (0,0,0,10) + transparent: false + } + + ctrl: { + id: 201 + pid: 300 + type: combo + cells: (2,1,1,1) + + item: "form.gameplay.standard" + item: "form.gameplay.relaxed" + item: "form.gameplay.arcade" + + alt: "form.gameplay.flight-model.alt" + } + + ctrl: { + id: 211 + pid: 300 + type: combo + cells: (2,2,1,1) + + item: "form.gameplay.disabled" + item: "form.gameplay.enabled" + + alt: "form.gameplay.flying-start.alt" + } + + ctrl: { + id: 202 + pid: 300 + type: combo + cells: (2,3,1,1) + + item: "form.gameplay.standard" + item: "form.gameplay.easier" + + alt: "form.gameplay.landings.alt" + } + + ctrl: { + id: 203 + pid: 300 + type: combo + cells: (2,4,1,1) + + item: "form.gameplay.ace" + item: "form.gameplay.veteran" + item: "form.gameplay.rookie" + + alt: "form.gameplay.ai-difficulty.alt" + } + + ctrl: { + id: 204 + pid: 300 + type: combo + cells: (2,5,1,1) + + item: "form.gameplay.standard" + item: "form.gameplay.simplified" + + alt: "form.gameplay.hud-mode.alt" + } + + ctrl: { + id: 205 + pid: 300 + type: combo + cells: (2,6,1,1) + + item: "form.gameplay.green" + item: "form.gameplay.blue" + item: "form.gameplay.orange" + item: "form.gameplay.black" + + alt: "form.gameplay.hud-color.alt" + } + + ctrl: { + id: 206 + pid: 300 + type: combo + cells: (2,7,1,1) + + item: "form.gameplay.none" + item: "form.gameplay.25" + item: "form.gameplay.50" + item: "form.gameplay.75" + item: "form.gameplay.full" + + alt: "form.gameplay.friendly-fire.alt" + } + + ctrl: { + id: 207 + pid: 300 + type: combo + cells: (2,8,1,1) + + item: "form.gameplay.disabled" + item: "form.gameplay.enabled" + + alt: "form.gameplay.ref-grid.alt" + } + + ctrl: { + id: 208 + pid: 300 + type: combo + cells: (2,9,1,1) + + item: "form.gameplay.standard-lcos", + item: "form.gameplay.lead-diamond", + + alt: "form.gameplay.gunsight.alt" + } + + // buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + } + + ctrl: { + id: 1 + type: button + text: "form.apply" + cells: (3,5,1,1) + } + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,5,1,1) + } +} diff --git a/data/content/Screens/PlayerDlg.frm b/data/content/Screens/PlayerDlg.frm new file mode 100644 index 0000000..6324053 --- /dev/null +++ b/data/content/Screens/PlayerDlg.frm @@ -0,0 +1,690 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: PlayerDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 80, 80, 10, 100, 100, 100, 10), + x_weights: ( 0, 0.1, 0.1, 0, 0.3, 0.3, 0.3, 0), + + y_mins: (28, 25, 20, 42, 60, 45), + y_weights: ( 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame3a + cells: (1,3,4,3), + cell_insets: (0,0,0,10), + margins: (48,80,48,48) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame3b + cells: (5,3,2,3), + cell_insets: (0,0,0,10), + margins: (80,48,48,48) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.logbook.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,4,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + defctrl: { + base_color: (191, 191, 184) + back_color: ( 88, 88, 88) + fore_color: (0,0,0) + font: Limerick12 + bevel_width: 0 + + align: left + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + }, + + ctrl: { + id: 101, + type: button, + cells: (1,3,1,1) + cell_insets: (10,3,17,6) + text: "form.logbook.create-player" + }, + + ctrl: { + id: 102, + type: button, + cells: (2,3,1,1) + cell_insets: (3,10,17,6) + text: "form.logbook.delete-player", + } + + ctrl: { + id: 601, + type: label, + cells: (4,3,1,1) + cell_insets: (2,10,17,0) + text: "form.logbook.player-stats" + fore_color: (255,255,255) + back_color: (32,32,32) + style: 0x40 + transparent: true + } + + defctrl: { + font: Verdana, + fore_color: (255,255,255), + standard_image: "", + activated_image: "", + transition_image: "", + transparent: true, + }, + + ctrl: { + id: 200 + type: list + cells: (1,4,2,2) + cell_insets: (10,10,0,54) + font: Verdana + style: 0 + scroll_bar: 2 + show_headings: false + transparent: false + + texture: Panel + margins: (12,12,16,4) + + column: { + title: "Name", + width: 182, + align: left, + sort: 0 }, + } + + ctrl: { + id: 600 + type: background + cells: (4,4,3,2) + cell_insets: (0,10,0,54) + transparent: false + texture: Panel + margins: (12,12,16,4) + + layout: { + x_mins: ( 8, 80, 100, 20, 30, 100, 15) + x_weights: ( 0, 0, 3, 1, 0, 3, 0) + + y_mins: (20, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 65, 75) + y_weights: ( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1) + } + } + + ctrl: { + id: 103 + pid: 600 + type: label + cells: (1,1,1,1) + text: "form.logbook.name" + }, + + ctrl: { + id: 104, + pid: 600 + type: label, + cells: (1,2,1,1) + text: "form.logbook.password" + }, + + ctrl: { + id: 105 + pid: 600 + type: label + cells: (1,3,1,1) + text: "form.logbook.squadron" + }, + + ctrl: { + id: 106 + pid: 600 + type: label + cells: (1,4,1,1) + text: "form.logbook.signature" + }, + + ctrl: { + id: 107 + pid: 600 + type: label + cells: (1,5,1,1) + text: "form.logbook.created" + } + + ctrl: { + id: 109 + pid: 600 + type: label + cells: (1,6,1,1) + text: "form.logbook.flight-time" + }, + + ctrl: { + id: 110 + pid: 600 + type: label + cells: (1,7,1,1) + text: "form.logbook.missions" + }, + + ctrl: { + id: 111 + pid: 600 + type: label + cells: (1,8,1,1) + text: "form.logbook.kills" + } + + ctrl: { + id: 112 + pid: 600 + type: label + cells: (1,9,1,1) + text: "form.logbook.losses" + } + + ctrl: { + id: 113 + pid: 600 + type: label + cells: (1,10,1,1) + text: "form.logbook.points" + } + + ctrl: { + id: 108 + pid: 600 + type: label + cells: (1,11,1,1) + text: "form.logbook.rank" + } + + ctrl: { + id: 125 + pid: 600 + type: label + cells: (1,13,1,1) + cell_insets: (0,0,0,5) + text: "form.logbook.medals" + } + + defctrl: { + style: 0x02, + scroll_bar: 0, + single_line: true, + back_color: ( 41, 41, 41), + border_color: ( 92, 92, 92), + single_line: true, + transparent: false + cell_insets: (0,0,0,5) + }, + + ctrl: { + id: 201, + pid: 600 + type: edit, + cells: (2,1,1,1) + }, + + ctrl: { + id: 202, + pid: 600 + type: edit, + cells: (2,2,1,1) + password: "*", + }, + + ctrl: { + id: 203, // squad + pid: 600 + type: edit, + cells: (2,3,1,1) + }, + + ctrl: { + id: 204, // sig + pid: 600 + type: edit, + cells: (2,4,1,1) + }, + + ctrl: { + id: 205, // create date + pid: 600 + type: label, + cells: (2,5,1,1) + }, + + ctrl: { + id: 207, // flight time + pid: 600 + type: label, + cells: (2,6,1,1) + }, + + ctrl: { + id: 208, // missions + pid: 600 + type: label, + cells: (2,7,1,1) + }, + + ctrl: { + id: 209, // kills + pid: 600 + type: label, + cells: (2,8,1,1) + }, + + ctrl: { + id: 210, // losses + pid: 600 + type: label, + cells: (2,9,1,1) + }, + + ctrl: { + id: 211, // points + pid: 600 + type: label, + cells: (2,10,1,1) + }, + + // rank name and insignia: + + ctrl: { + id: 206, + pid: 600 + type: label, + cells: (2,11,1,1) + align: center, + transparent: true, + border: false, + }, + + ctrl: { + id: 220, + pid: 600 + type: image, + cells: (2,12,1,1) + align: center + transparent: true + border: false + style: 0 + }, + + // medal ribbon insignia: + + ctrl: { + id: 330 + pid: 600 + type: label + transparent: true + cells: (2,13,4,1) + + layout: { + x_mins: (85, 85, 85, 85, 85, 0), + x_weights: ( 1, 1, 1, 1, 1, 5), + + y_mins: (24, 24, 24, 0), + y_weights: ( 1, 1, 1, 5) + } + } + + defctrl: { + align: center + transparent: true + border: false + style: 0 + fixed_width: 82 + fixed_height: 21 + } + + ctrl: { + id: 230, + pid: 330 + type: image, + cells: (0,0,1,1) + }, + + ctrl: { + id: 231 + pid: 330 + type: image + cells: (1,0,1,1) + } + + ctrl: { + id: 232, + pid: 330 + type: image + cells: (2,0,1,1) + }, + + ctrl: { + id: 233, + pid: 330 + type: image + cells: (3,0,1,1) + }, + + ctrl: { + id: 234, + pid: 330 + type: image + cells: (4,0,1,1) + }, + + ctrl: { + id: 235, + pid: 330 + type: image + cells: (0,1,1,1) + }, + + ctrl: { + id: 236, + pid: 330 + type: image + cells: (1,1,1,1) + }, + + ctrl: { + id: 237, + pid: 330 + type: image + cells: (2,1,1,1) + }, + + ctrl: { + id: 238, + pid: 330 + type: image + cells: (3,1,1,1) + }, + + ctrl: { + id: 239, + pid: 330 + type: image + cells: (4,1,1,1) + }, + + ctrl: { + id: 240, + pid: 330 + type: image + cells: (0,2,1,1) + }, + + ctrl: { + id: 241, + pid: 330 + type: image + cells: (1,2,1,1) + }, + + ctrl: { + id: 242, + pid: 330 + type: image + cells: (2,2,1,1) + }, + + ctrl: { + id: 243, + pid: 330 + type: image + cells: (3,2,1,1) + }, + + ctrl: { + id: 244, + pid: 330 + type: image + cells: (4,2,1,1) + }, + + // chat macro entries: + + defctrl: { + align: left + transparent: false + border: true + style: 2 // white frame + fixed_width: 0 + fixed_height: 0 + } + + ctrl: { + id: 301, + pid: 600 + type: edit, + cells: (5,2,1,1) + }, + + ctrl: { + id: 302, + pid: 600 + type: edit, + cells: (5,3,1,1) + }, + + ctrl: { + id: 303, + pid: 600 + type: edit, + cells: (5,4,1,1) + }, + + ctrl: { + id: 304, + pid: 600 + type: edit, + cells: (5,5,1,1) + }, + + ctrl: { + id: 305, + pid: 600 + type: edit, + cells: (5,6,1,1) + }, + + ctrl: { + id: 306, + pid: 600 + type: edit, + cells: (5,7,1,1) + }, + + ctrl: { + id: 307, + pid: 600 + type: edit, + cells: (5,8,1,1) + }, + + ctrl: { + id: 308, + pid: 600 + type: edit, + cells: (5,9,1,1) + }, + + ctrl: { + id: 309, + pid: 600 + type: edit, + cells: (5,10,1,1) + }, + + ctrl: { + id: 300, + pid: 600 + type: edit, + cells: (5,11,1,1) + }, + + defctrl: { transparent: true }, + + ctrl: { + id: 444 + pid: 600 + type: label + cells: (4,1,2,1) + text: "form.logbook.chat-macros", + }, + + ctrl: { + id: 401, + pid: 600 + type: label, + cells: (4,2,1,1) + text: "1", + }, + + ctrl: { + id: 402, + pid: 600 + type: label, + cells: (4,3,1,1) + text: "2", + }, + + ctrl: { + id: 403, + pid: 600 + type: label, + cells: (4,4,1,1) + text: "3", + }, + + ctrl: { + id: 404, + pid: 600 + type: label, + cells: (4,5,1,1) + text: "4", + }, + + ctrl: { + id: 405, + pid: 600 + type: label, + cells: (4,6,1,1) + text: "5", + }, + + ctrl: { + id: 406, + pid: 600 + type: label, + cells: (4,7,1,1) + text: "6", + }, + + ctrl: { + id: 407, + pid: 600 + type: label, + cells: (4,8,1,1) + text: "7", + }, + + ctrl: { + id: 408, + pid: 600 + type: label, + cells: (4,9,1,1) + text: "8", + }, + + ctrl: { + id: 409, + pid: 600 + type: label, + cells: (4,10,1,1) + text: "9", + }, + + ctrl: { + id: 400, + pid: 600 + type: label, + cells: (4,11,1,1) + text: "0", + }, + + // apply and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + }, + + ctrl: { + id: 1 + type: button + text: "form.save" + cells: (5,5,1,1) + }, + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (6,5,1,1), + }, +} + diff --git a/data/content/Screens/TacRefDlg.frm b/data/content/Screens/TacRefDlg.frm new file mode 100644 index 0000000..0e3a47a --- /dev/null +++ b/data/content/Screens/TacRefDlg.frm @@ -0,0 +1,211 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: TacRefDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 80, 80, 10, 100, 30, 100, 10) + x_weights: ( 0, 1, 1, 0, 3, 0, 3, 0) + + y_mins: (28, 25, 20, 42, 90, 10, 90, 45) + y_weights: ( 0, 0, 0, 0, 3, 1, 2, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame3a + cells: (1,3,4,5), + cell_insets: (0,0,0,10), + margins: (48,80,48,48) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame3b + cells: (5,3,2,5), + cell_insets: (0,0,0,10), + margins: (80,48,48,48) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.tac-ref.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + }, + + + // main panel: + + defctrl: { + base_color: (191, 191, 184) + back_color: ( 88, 88, 88) + fore_color: (0,0,0) + font: Limerick12 + bevel_width: 0 + + align: left + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + }, + + ctrl: { + id: 101, + type: button, + cells: (1,3,1,1) + cell_insets: (10,3,17,6) + text: "form.tac-ref.ships" + sticky: true + fixed_height: 19 + }, + + ctrl: { + id: 102, + type: button, + cells: (2,3,1,1) + cell_insets: (3,10,17,6) + text: "form.tac-ref.weapons", + sticky: true + fixed_height: 19 + } + + ctrl: { + id: 301, + type: label, + cells: (4,3,1,1) + cell_insets: (2,10,17,0) + text: "form.tac-ref.name" + fore_color: (255,255,255) + back_color: (32,32,32) + style: 0x40 + transparent: true + } + + + defctrl: { + fore_color: (255,255,255), + standard_image: "", + activated_image: "", + transition_image: "", + + font: Verdana + style: 0 + scroll_bar: 0 + show_headings: false + transparent: false + + texture: Panel + margins: (12,12,16,4) + }, + + ctrl: { + id: 200 + type: list + cells: (1,4,2,3) + cell_insets: (10,10,0,10) + scroll_bar: 2 + selected_style: 2 + + column: { + title: "Name", + width: 182, + align: left, + sort: 0 }, + } + + + ctrl: { + id: 400 + type: label + cells: (4,4,3,2) + cell_insets: (0,10,0,10) + } + + ctrl: { + id: 401 + type: label + cells: (4,4,3,2) + cell_insets: (0,10,0,10) + transparent: true + } + + ctrl: { + id: 410 + type: label + cells: (4,6,3,1) + cell_insets: (0,10,0,10) + } + + ctrl: { + id: 402 + type: text + cells: (4,6,1,1) + cell_insets: (0,10,0,10) + transparent: true + + text: "Item stats go here..." + } + + ctrl: { + id: 403 + type: text + cells: (5,6,2,1) + cell_insets: (0,10,0,10) + transparent: true + + text: "Item description goes here..." + } + + + // ok and cancel buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + transparent: false + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + } + + ctrl: { + id: 1 + type: button + text: "form.close" + cells: (6,7,1,1) + } +} diff --git a/data/content/Screens/VidDlg.frm b/data/content/Screens/VidDlg.frm new file mode 100644 index 0000000..62530d5 --- /dev/null +++ b/data/content/Screens/VidDlg.frm @@ -0,0 +1,423 @@ +FORM + +// +--------------------------------------------------------------------+ +// Project: Starshatter 5.0 +// File: VidDlg.frm +// +// Destroyer Studios LLC +// Copyright © 1997-2007. All Rights Reserved. +// +--------------------------------------------------------------------+ + +form: { + back_color: ( 0, 0, 0), + fore_color: (255, 255, 255), + + texture: "Frame1.pcx", + margins: (1,1,64,8), + + layout: { + x_mins: (10, 100, 20, 100, 100, 10), + x_weights: ( 0, 0.2, 0.4, 0.2, 0.2, 0), + + y_mins: (28, 30, 20, 24, 60, 45), + y_weights: ( 0, 0, 0, 0, 1, 0) + }, + + // background images: + + ctrl: { + id: 9991, + type: background, + texture: Frame2a, + cells: (1,3,2,3), + cell_insets: (0,0,0,10), + margins: (2,32,40,32) + hide_partial: false + } + + ctrl: { + id: 9992, + type: background, + texture: Frame2b, + cells: (3,3,2,3), + cell_insets: (0,0,0,10), + margins: (0,40,40,32) + hide_partial: false + } + + // title: + + ctrl: { + id: 10, + type: label, + text: "form.options.title", + align: left, + font: Limerick18, + fore_color: (255,255,255), + transparent: true, + cells: (1,1,3,1) + cell_insets: (0,0,0,0) + hide_partial: false + } + + // tabs: + + ctrl: { + id: 900 + type: panel + transparent: true + cells: (1,3,4,1) + hide_partial: false + + layout: { + x_mins: (100, 100, 100, 100, 100, 0), + x_weights: (0.2, 0.2, 0.2, 0.2, 0.2, 1), + + y_mins: (24), + y_weights: ( 1) + } + } + + defctrl: { + align: left, + font: Limerick12, + fore_color: (255, 255, 255), + standard_image: BlueTab_0, + activated_image: BlueTab_1, + sticky: true, + bevel_width: 6, + margins: (8,8,0,0), + cell_insets: (0,4,0,0) + }, + + ctrl: { + id: 901 + pid: 900 + type: button + text: "form.options.tab.video" + cells: (0,0,1,1) + } + + ctrl: { + id: 902 + pid: 900 + type: button + text: "form.options.tab.audio" + cells: (1,0,1,1) + } + + ctrl: { + id: 903 + pid: 900 + type: button + text: "form.options.tab.controls" + cells: (2,0,1,1) + } + + ctrl: { + id: 904 + pid: 900 + type: button + text: "form.options.tab.gameplay" + cells: (3,0,1,1) + } + + ctrl: { + id: 905 + pid: 900 + type: button + text: "form.options.tab.mods" + cells: (4,0,1,1) + } + + // main panel: + + ctrl: { + id: 300 + type: panel + transparent: false //true + + texture: Panel + margins: (12,12,12,0), + + cells: (1,4,4,2) + cell_insets: (10,10,12,54) + + layout: { + x_mins: ( 20, 100, 100, 20, 100, 100, 20) + x_weights: ( 2, 3, 3, 2, 3, 3, 2) + + y_mins: ( 20, 25, 25, 25, 25, 25, 25, 25, 25, 20) + y_weights: ( 3, 0, 0, 0, 0, 0, 0, 0, 0, 7) + } + } + + defctrl: { + fore_color: (255,255,255) + font: Verdana, + standard_image: "" + activated_image: "" + align: left + sticky: false + transparent: true + pid: 300 + }, + + ctrl: { + id: 101 + type: label + text: "form.video.mode" + cells: (1,1,1,1) + }, + + ctrl: { + id: 104 + type: label + text: "form.video.max-texture" + cells: (1,2,1,1) + }, + + ctrl: { + id: 122 + type: label + text: "form.video.shadows" + cells: (1,3,1,1) + }, + + ctrl: { + id: 123 + type: label + text: "form.video.specular-maps" + cells: (1,4,1,1) + }, + + ctrl: { + id: 124 + type: label + text: "form.video.bump-maps" + cells: (1,5,1,1) + }, + + ctrl: { + id: 105 + type: label + text: "form.video.terrain-detail" + cells: (1,7,1,1) + }, + + ctrl: { + id: 106 + type: label + text: "form.video.terrain-texture" + cells: (1,8,1,1) + }, + + + ctrl: { + id: 111 + type: label + text: "form.video.lens-flare" + cells: (4,1,1,1) + }, + + ctrl: { + id: 112 + type: label + text: "form.video.corona" + cells: (4,2,1,1) + }, + + ctrl: { + id: 113 + type: label + text: "form.video.nebula" + cells: (4,3,1,1) + }, + + ctrl: { + id: 114 + type: label + text: "form.video.space-dust" + cells: (4,4,1,1) + }, + + ctrl: { + id: 115 + type: label + text: "form.video.gamma-level" + cells: (4,7,1,1) + }, + + + defctrl: { + back_color: ( 41, 41, 41) + border_color: (192, 192, 192) + active_color: ( 92, 92, 92) + + cell_insets: (0,0,0,5) + font: Verdana + simple: true + bevel_width: 3 + text_align: left + transparent: false + }, + + + ctrl: { + id: 203 + type: combo + cells: (2,1,1,1) + + item: "800 x 600 x 8" + item: "800 x 600 x 16" + item: "800 x 600 x 32" + } + + ctrl: { + id: 204 + type: combo + cells: (2,2,1,1) + + item: "64 x 64" + item: "128 x 128" + item: "256 x 256" + item: "512 x 512" + item: "1024 x 1024" + item: "2048 x 2048" + item: "4096 x 4096" + } + + ctrl: { + id: 222 + type: combo + cells: (2,3,1,1) + + item: "form.disable" + item: "form.enable" + } + + ctrl: { + id: 223 + type: combo + cells: (2,4,1,1) + + item: "form.disable" + item: "form.enable" + } + + ctrl: { + id: 224 + type: combo + cells: (2,5,1,1) + + item: "form.disable" + item: "form.enable" + } + + ctrl: { + id: 205 + type: combo + cells: (2,7,1,1) + + item: "form.video.low" + item: "form.video.medium" + item: "form.video.high" + } + + ctrl: { + id: 206 + type: combo + cells: (2,8,1,1) + + item: "form.disable" + item: "form.enable" + } + + ctrl: { + id: 211 + type: combo + cells: (5,1,1,1) + + item: "form.disable" + item: "form.enable" + } + + ctrl: { + id: 212 + type: combo + cells: (5,2,1,1) + + item: "form.disable" + item: "form.enable" + } + + ctrl: { + id: 213 + type: combo + cells: (5,3,1,1) + + item: "form.disable" + item: "form.enable" + } + + ctrl: { + id: 214 + type: combo + cells: (5,4,1,1) + + item: "form.video.none" + item: "form.video.some" + item: "form.video.lots" + } + + ctrl: { + id: 215 + type: slider + cells: (5,7,1,1) + cell_insets: (0,0,0,16) + + active_color: (250, 250, 100) + back_color: ( 41, 41, 41) + border: false + active: true + } + + ctrl: { + id: 315 + type: label + cells: (5,8,1,1) + cell_insets: (0,0,0,0) + + texture: gamma_test + margins: (0,0,0,0) + } + + // buttons: + + defctrl: { + align: left + font: Limerick12 + fore_color: (0,0,0) + standard_image: Button17_0 + activated_image: Button17_1 + transition_image: Button17_2 + bevel_width: 6 + margins: (3,18,0,0) + cell_insets: (0,10,0,26) + pid: 0 + } + + ctrl: { + id: 1 + type: button + text: "form.apply" + cells: (3,5,1,1) + } + + ctrl: { + id: 2 + type: button + text: "form.cancel" + cells: (4,5,1,1) + } +} -- cgit v1.1