Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit 79d820b

Browse files
committed
Final tweaks
1 parent 2b7af89 commit 79d820b

File tree

7 files changed

+16
-13
lines changed

7 files changed

+16
-13
lines changed

MicroEngineerProject/MicroEngineer.sln

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.31605.320
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.5.33530.505
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MicroEngineer", "MicroEngineer.csproj", "{2CD77478-E170-4D5C-91CA-0ABB24A30E5A}"
77
EndProject
@@ -11,8 +11,8 @@ Global
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{2CD77478-E170-4D5C-91CA-0ABB24A30E5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{2CD77478-E170-4D5C-91CA-0ABB24A30E5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{2CD77478-E170-4D5C-91CA-0ABB24A30E5A}.Debug|Any CPU.ActiveCfg = Release|Any CPU
15+
{2CD77478-E170-4D5C-91CA-0ABB24A30E5A}.Debug|Any CPU.Build.0 = Release|Any CPU
1616
{2CD77478-E170-4D5C-91CA-0ABB24A30E5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
1717
{2CD77478-E170-4D5C-91CA-0ABB24A30E5A}.Release|Any CPU.Build.0 = Release|Any CPU
1818
EndGlobalSection

MicroEngineerProject/MicroEngineer/Entries/OrbitalEntries.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ public class SemiLatusRectum : OrbitalEntry
346346
{
347347
public SemiLatusRectum()
348348
{
349-
Name = "Semi Latus Rectum";
349+
Name = "Semi Latus Rect";
350350
Description = "Half the length of the chord through one focus, perpendicular to the major axis.";
351351
Category = MicroEntryCategory.Orbital;
352352
IsDefault = false;

MicroEngineerProject/MicroEngineer/Entries/SurfaceEntries.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class AltitudeAsl : SurfaceEntry
3535
{
3636
public AltitudeAsl()
3737
{
38-
Name = "Altitude (Sea Lvl)";
38+
Name = "Altitude (Sea)";
3939
Description = "Shows the vessel's altitude above sea level.";
4040
Category = MicroEntryCategory.Surface;
4141
IsDefault = true;

MicroEngineerProject/MicroEngineer/Entries/TargetEntries.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public DistanceToTarget()
8888
KiloUnit = "km";
8989
MegaUnit = "Mm";
9090
GigaUnit = "Gm";
91-
NumberOfDecimalDigits = 2;
91+
NumberOfDecimalDigits = 0;
9292
Formatting = "N";
9393
}
9494

@@ -440,7 +440,7 @@ public class Target_SemiLatusRectum : TargetEntry
440440
{
441441
public Target_SemiLatusRectum()
442442
{
443-
Name = "Semi Latus Rectum";
443+
Name = "Semi Latus Rect";
444444
Description = "Half the length of the chord through one focus, perpendicular to the major axis.";
445445
Category = MicroEntryCategory.Target;
446446
IsDefault = false;

MicroEngineerProject/MicroEngineer/Entries/VesselEntries.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public class TotalDeltaVASL : VesselEntry
7878
{
7979
public TotalDeltaVASL()
8080
{
81-
Name = "Total ∆v ASL";
81+
Name = "Total ∆v (ASL)";
8282
Description = "Total delta velocity of the vessel At Sea Level.";
8383
Category = MicroEntryCategory.Vessel;
8484
IsDefault = false;
@@ -237,7 +237,7 @@ public StageTWRActual()
237237
Name = "TWR";
238238
Description = "Vessel's Thrust to Weight Ratio.";
239239
Category = MicroEntryCategory.Vessel;
240-
IsDefault = false;
240+
IsDefault = true;
241241
BaseUnit = null;
242242
NumberOfDecimalDigits = 2;
243243
Formatting = "N";

MicroEngineerProject/MicroEngineer/Utilities/Styles.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static class Styles
8181

8282
public static float PoppedOutX = Screen.width * 0.6f;
8383
public static float PoppedOutY = Screen.height * 0.2f;
84-
public static float MainGuiX = Screen.width * 0.8f;
84+
public static float MainGuiX = Screen.width * 0.7f;
8585
public static float MainGuiY = Screen.height * 0.2f;
8686

8787
public static Rect CloseBtnRect = new Rect(Styles.WindowWidth - 23, 6, 16, 16); // TODO check if we need this
@@ -201,7 +201,7 @@ private static void InitializeStyles()
201201

202202
UnitLabelStyle = new GUIStyle(SpaceWarpUISkin.label)
203203
{
204-
fixedWidth = 24,
204+
fixedWidth = 35,
205205
alignment = TextAnchor.MiddleLeft
206206
};
207207
UnitLabelStyle.normal.textColor = _unitColor;
@@ -360,6 +360,8 @@ private static void InitializeStyles()
360360

361361
private static void InitializeTextures()
362362
{
363+
// Icons from https://icons8.com
364+
363365
Settings20Texture = LoadTexture($"{_plugin.SpaceWarpMetadata.ModID}/images/settings-20.png");
364366
Settings15Texture = LoadTexture($"{_plugin.SpaceWarpMetadata.ModID}/images/settings-15.png");
365367
CloseButtonTexture = LoadTexture($"{_plugin.SpaceWarpMetadata.ModID}/images/close-15.png");

Staging/BepInEx/plugins/micro_engineer/swinfo.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"name": "Micro Engineer",
55
"description": "Get in-flight and VAB information about your current vessel",
66
"source": "https://github.com/Micrologist/MicroEngineer",
7-
"version": "0.8.0",
7+
"version": "1.0.0",
8+
"version_check": "https://raw.githubusercontent.com/Falki-git/MicroEngineer/main/Staging/BepInEx/plugins/micro_engineer/swinfo.json",
89
"dependencies": [
910
{
1011
"id": "SpaceWarp",

0 commit comments

Comments
 (0)