Launcher bugfixes, fixed submarine position syncing, previewing the sub after round ends, wiring bugfix, slower reactor overheat, itemlabel, wifi components
This commit is contained in:
+1
-2
@@ -17,7 +17,6 @@ namespace Launcher
|
||||
{
|
||||
public partial class LauncherMain : Form
|
||||
{
|
||||
public static string ContentPackageFolder = "Data/ContentPackages/";
|
||||
private const string configPath = "config.xml";
|
||||
private Subsurface.GameSettings settings;
|
||||
|
||||
@@ -42,7 +41,7 @@ namespace Launcher
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ContentPackage.LoadAll(LauncherMain.ContentPackageFolder);
|
||||
ContentPackage.LoadAll(ContentPackage.Folder);
|
||||
contentPackageBox.DataSource = ContentPackage.list;
|
||||
|
||||
supportedModes = new List<GraphicsMode>();
|
||||
|
||||
Generated
+3
@@ -102,6 +102,7 @@
|
||||
this.itemList.Name = "itemList";
|
||||
this.itemList.Size = new System.Drawing.Size(255, 134);
|
||||
this.itemList.TabIndex = 8;
|
||||
this.itemList.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.fileList_KeyPress);
|
||||
//
|
||||
// itemButton
|
||||
//
|
||||
@@ -161,6 +162,7 @@
|
||||
this.structureList.Name = "structureList";
|
||||
this.structureList.Size = new System.Drawing.Size(255, 121);
|
||||
this.structureList.TabIndex = 8;
|
||||
this.structureList.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.fileList_KeyPress);
|
||||
//
|
||||
// structureButton
|
||||
//
|
||||
@@ -189,6 +191,7 @@
|
||||
this.jobList.Name = "jobList";
|
||||
this.jobList.Size = new System.Drawing.Size(255, 134);
|
||||
this.jobList.TabIndex = 11;
|
||||
this.jobList.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.fileList_KeyPress);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
|
||||
@@ -142,7 +142,7 @@ namespace Launcher
|
||||
|
||||
OpenFileDialog ofd = new OpenFileDialog();
|
||||
ofd.Filter = "XML files (*.xml)|*.xml;*.XML";
|
||||
//ofd.RestoreDirectory?
|
||||
ofd.RestoreDirectory = true;
|
||||
|
||||
if (ofd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
@@ -253,7 +253,7 @@ namespace Launcher
|
||||
|
||||
private void okButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (selectedPackage!=null) selectedPackage.Save(LauncherMain.ContentPackageFolder);
|
||||
if (selectedPackage!=null) selectedPackage.Save(ContentPackage.Folder);
|
||||
|
||||
this.Close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user