mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 18:05:40 +02:00
Improved mission information at panel
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// This class gathers all global variable
|
||||
|
||||
// Class to hold current game state/mission information
|
||||
|
||||
class CurrentMissionClass
|
||||
{
|
||||
|
||||
@@ -10,7 +11,13 @@ class CurrentMissionClass
|
||||
|
||||
public string ToInfoString()
|
||||
{
|
||||
return this.Mission + " (" + this.Theatre + ") Pause:" + this.Pause;
|
||||
if (this.Mission != "")
|
||||
{
|
||||
return "Mission: " + this.Mission + "(" + this.Theatre + ") Pause:" + this.Pause;
|
||||
} else
|
||||
{
|
||||
return "Mission: Unknown";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -523,9 +523,9 @@
|
||||
//
|
||||
this.con_Button_Reset_Flags.Enabled = false;
|
||||
this.con_Button_Reset_Flags.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.con_Button_Reset_Flags.Location = new System.Drawing.Point(255, 28);
|
||||
this.con_Button_Reset_Flags.Location = new System.Drawing.Point(254, 25);
|
||||
this.con_Button_Reset_Flags.Name = "con_Button_Reset_Flags";
|
||||
this.con_Button_Reset_Flags.Size = new System.Drawing.Size(61, 36);
|
||||
this.con_Button_Reset_Flags.Size = new System.Drawing.Size(61, 40);
|
||||
this.con_Button_Reset_Flags.TabIndex = 26;
|
||||
this.con_Button_Reset_Flags.Text = "Reset error flags";
|
||||
this.con_Button_Reset_Flags.UseVisualStyleBackColor = true;
|
||||
|
||||
Reference in New Issue
Block a user