diff --git a/.gitignore b/.gitignore index 7c56519..519f0de 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ sf-ship-ed-settings.json ENG.ini npm-debug.log* desktop.ini +*.zip diff --git a/release/changes.log b/release/changes.log index 71e3243..3cd0d2f 100644 --- a/release/changes.log +++ b/release/changes.log @@ -2,7 +2,13 @@ ______________________________________________________________________________ editor version 2.7.3 (starsector 0.8.1a) [Trylobot] FEATURES -- add/remove built-in wings from ships +- SHIP / BUILT-IN WINGS EDITING MODE ADDED + press "1" (ship mode), "D" (load), "N" (built-in wings submodule) + +OTHER +- skeleton code / boilerplate necessary for Skin editing has been added, + but this mode doesn't do anything yet (so don't get too excited if you see it in the menus) +- heavy code maintenance / cleanup / refactoring ______________________________________________________________________________ editor version 2.7.2 (starsector 0.8.1a) [Trylobot] diff --git a/src/TEditor.type.bmx b/src/TEditor.type.bmx index cf01238..661942f 100644 --- a/src/TEditor.type.bmx +++ b/src/TEditor.type.bmx @@ -255,6 +255,7 @@ Type TEditor Else TCSVLoader.Load( dir+file, "id", stock_wing_stats ) EndIf + stock_wing_stats.Remove("") ' omit this, it is likely a spacer from the raw file data Local row:TMap For Local id$ = EachIn stock_wing_stats.Keys() 'scan all rows for multiselect values and save association to variant diff --git a/src/TModalSetBuiltInWings.type.bmx b/src/TModalSetBuiltInWings.type.bmx index 5fe5f0e..b401cd0 100644 --- a/src/TModalSetBuiltInWings.type.bmx +++ b/src/TModalSetBuiltInWings.type.bmx @@ -122,7 +122,7 @@ Type TModalSetBuiltInWings Extends TSubroutine '--------------------------------------------------------- ' show how many of each wing are currently equipped to this ship Local has_wings_count% = data.count_builtin_wings( wing_id ) - Local has_wings_count_display$ = "" + Local has_wings_count_display$ = " " If has_wings_count > 0 has_wings_count_display = "x" + has_wings_count EndIf