diff --git a/BetterTimeWarp.173.version b/BetterTimeWarp.173.version deleted file mode 100644 index d9e4625..0000000 --- a/BetterTimeWarp.173.version +++ /dev/null @@ -1,25 +0,0 @@ -{ - "NAME": "BetterTimeWarpContinued", - "URL": "http://ksp.spacetux.net/avc/BetterTimeWarp", - "DOWNLOAD": "https://github.com/linuxgurugamer/BetterTimeWarpContinued/releases", - "GITHUB": { - "USERNAME": "linuxgurugamer", - "REPOSITORY": "BetterTimeWarpContinued" - }, - "VERSION": { - "MAJOR": 2, - "MINOR": 3, - "PATCH": 11, - "BUILD": 9 - }, - "KSP_VERSION_MIN": { - "MAJOR": 1, - "MINOR": 5, - "PATCH": 1 - }, - "KSP_VERSION_MAX": { - "MAJOR": 1, - "MINOR": 7, - "PATCH": 3 - } -} diff --git a/BetterTimeWarp.sln b/BetterTimeWarp.sln index b1c99bd..ece6b08 100644 --- a/BetterTimeWarp.sln +++ b/BetterTimeWarp.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29905.134 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35312.102 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BetterTimeWarp", "BetterTimeWarp\BetterTimeWarp.csproj", "{4B05E220-5E03-4B86-8896-B407D71F6A99}" EndProject @@ -13,6 +13,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution deploy.bat = deploy.bat disabledjenkins-173.txt = disabledjenkins-173.txt jenkins.txt = jenkins.txt + Readme.md = Readme.md EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BetterTimeWarp-1.7.3", "BetterTimeWarp\BetterTimeWarp-1.7.3.csproj", "{62D14DDB-989F-4A68-B0E1-116205567669}" diff --git a/BetterTimeWarp.version b/BetterTimeWarp.version index ab2e461..32ae526 100644 --- a/BetterTimeWarp.version +++ b/BetterTimeWarp.version @@ -1,6 +1,6 @@ { "NAME": "BetterTimeWarpContinued", - "URL": "http://ksp.spacetux.net/avc/BetterTimeWarp", + "URL": "https://raw.githubusercontent.com/linuxgurugamer/BetterTimeWarpContinued/refs/heads/master/BetterTimeWarp.version", "DOWNLOAD": "https://github.com/linuxgurugamer/BetterTimeWarpContinued/releases", "GITHUB": { "USERNAME": "linuxgurugamer", @@ -10,16 +10,21 @@ "MAJOR": 2, "MINOR": 3, "PATCH": 13, - "BUILD": 0 + "BUILD": 1 }, "KSP_VERSION": { "MAJOR": 1, "MINOR": 12, - "PATCH": 3 + "PATCH": 4 }, "KSP_VERSION_MIN": { "MAJOR": 1, "MINOR": 12, "PATCH": 0 + }, + "KSP_VERSION_MAX": { + "MAJOR": 1, + "MINOR": 12, + "PATCH": 99 } } diff --git a/BetterTimeWarp/BetterTimeWarp.cs b/BetterTimeWarp/BetterTimeWarp.cs index df078cf..2b78bda 100644 --- a/BetterTimeWarp/BetterTimeWarp.cs +++ b/BetterTimeWarp/BetterTimeWarp.cs @@ -37,7 +37,7 @@ public bool UIOpen windowOpen = value; } } - // public ApplicationLauncherButton Button; + ToolbarControl toolbarControl; private bool hasAdded = false; @@ -342,17 +342,17 @@ public void OnGUI() // if only a single icon, then adjustment needed if (y == ICON_BASE + ICON_WIDTH) y += 12; - float f = 20f; + float widthAndHeight = 20f; float scale = 1f; if (GameSettings.UI_SCALE != 1f || GameSettings.UI_SCALE_TIME != 1f) { scale = GameSettings.UI_SCALE * GameSettings.UI_SCALE_TIME; - f *= scale; + widthAndHeight *= scale; } if (buttonContent != null) { - var b = GUI.Toggle(new Rect(scale * y, 0f, f, f), windowOpen, buttonContent, skin.button); + var b = GUI.Toggle(new Rect(scale * y, 0f, widthAndHeight, widthAndHeight), windowOpen, buttonContent, skin.button); if (b != windowOpen) { windowOpen = b; diff --git a/Changelog.txt b/Changelog.txt index dbc7ed9..acb4c94 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -152,4 +152,9 @@ Physics Warp 1, 4, 8, 12 add AUTOSAVE_INTERVAL and AUTOSAVE_SHORT_INTERVAL to settings fix rounding - add new Default CustomWarpRates: Five Warp, Soft Physics Warp, Physics Warp 6-10, Physics Warp 15-30 \ No newline at end of file + add new Default CustomWarpRates: Five Warp, Soft Physics Warp, Physics Warp 6-10, Physics Warp 15-30 + +2.3.13.1 + Updated version file to use github for new version info + Copied webpage to Readme.md file + Minor variable change for better readability \ No newline at end of file diff --git a/GameData/BetterTimeWarp/BetterTimeWarp.version b/GameData/BetterTimeWarp/BetterTimeWarp.version index ab2e461..34de7a5 100644 --- a/GameData/BetterTimeWarp/BetterTimeWarp.version +++ b/GameData/BetterTimeWarp/BetterTimeWarp.version @@ -15,7 +15,7 @@ "KSP_VERSION": { "MAJOR": 1, "MINOR": 12, - "PATCH": 3 + "PATCH": 4 }, "KSP_VERSION_MIN": { "MAJOR": 1, diff --git a/Readme.md b/Readme.md index 431be7f..6ddb42d 100644 --- a/Readme.md +++ b/Readme.md @@ -10,8 +10,68 @@ To install: 2. Done! -Instructions +============================= +This is a continuation of the Better Time Warp mod originally made by @MrHappyFace, who hasn't been around since Sept. 3. The original thread can be found here:http://forum.kerbalspaceprogram.com/index.php?/topic/77565-* -You can access the UI in one of two ways, either by clicking the B button on the toolbar, or , in the flight scene, clicking the down button at the top, right next to the clock (in 1.2.2, it is right now on top of the probe-control icon, will be fixed) +This first post is mostly copied from the original thread -Once the UI is opened,  \ No newline at end of file +Availability + +Download: http://spacedock.info/mod/1162/BetterTimeWarpContinued +Source:https://github.com/linuxgurugamer/BetterTimeWarp +License: GPLv3 +The new version for KSP 1.4.1 has new dependencies + +New Dependencies + +Click Through Blocker +ToolbarController +CKAN has been updated to install the dependencies, if needed. + +Basic GUI: + +http://i.imgur.com/hkJmQxT.png + + + +Advanced GUI with Settings: + +http://i.imgur.com/7DJrzKZ.png + +Gifs: + +Without Lossless Physics Warp: http://gfycat.com/ObedientFlawedArctichare + +With Lossless Physics Warp: http://gfycat.com/DeepSkeletalKoala + +1,000,000x time warp in low orbit: http://gfycat.com/GrandNervousGoldfinch + + + +Better Time Warp is HappyFaceIndustries' first mod, which adds the ability to customize your time warp. + +It has many of the same features as Time Control, and WarpUnlocker, but with a stylish UI and customization features. + +Features: + + + +Customizable physics and regular (On-Rails) warp +Lower-than-1 physics warp can be used to help with laggy, high part ships. It is also pretty good for cinematics +0x time warp can be used to freeze time +Great for ion engines! 1 hour burn completed in 3 minutes at 20x physical warp. +Higher warp settings can be used in lower orbits +Lossless Physics, meaning that you can keep accurate physics simulation even at high physical time warp. Note that strange things can happen when doing that, and is not recommended, see bugs below +Non-Intrusive UI, which can be disabled using F2 +Can be enabled/disabled in the settings file, without uninstalling or deleting +Self regenerating settings file +Persistent time warp selections +Works in space center and tracking station +All planets get the same altitude limits for time warp: 0m for 1-1000, 100,000m for 10,000x, and 2,000,000m for 100,000x + + +Bugs: + +Physics warp below x0.1 or above x100 is kind of buggy +Rarely, if using low (less than 0.1) physics warp on EVA, your kerbal will go flying off at about 7x light speed +More will be added to this list as they are found. diff --git a/disabledjenkins-173.txt b/disabledjenkins-173.txt deleted file mode 100644 index d54332c..0000000 --- a/disabledjenkins-173.txt +++ /dev/null @@ -1,56 +0,0 @@ -# -# This file contains several types of information: -# -# 0 KSP version, if not the current -# 1 Mod install directory, version file to use when building zip file -# 2 Project definitions -# 3 Files to copy, source, dest -# 4 Directory to copy, sourcedir, destdir -# 5 Add ModuleManager to GameData -# 6 Spacedock.info mod id -# 7 Additional folders in the GameData to be included in the final zip -# 8 Additional mods to include, will copy into GameData and will be included in zip - -# Special case if files are in the GameData directory itself -# Special Case: 7:GameData - -# -# All paths are relative to the top git folder of the repo -# -# and must use forward slashes -# - -# 0:KSPVersion -0:1.7.3 - -# 1:GAMEDIR, VERSIONFILE [, GITHUBREPO ] -1:BetterTimeWarp, BetterTimeWarp.173.version - -# 2:PROJNAME, PROJFILE, VERSIONFILE, PLUGINSFOLDER -2:BetterTimeWarp,BetterTimeWarp/BetterTimeWarp-1.7.3.csproj,BetterTimeWarp.173.version,GameData/BetterTimeWarp/Plugins - -# 3:SOURCEFILE, DESTDIR -3:BetterTimeWarp.173.version,GameData/BetterTimeWarp -#3:LICENSE.md,GameData/KerbalHotSeat -#3:README.md,GameData/KerbalHotSeat - -# 4:SOURCDIR, DESTDIR -#4:Textures,GameData/ManeuverQueue/Textures - -# 5:ModuleManager -# 5:ModuleManager - -# 6:mod_id -#6:1272 - -# 7: AdditionalFolders in the GameData, 1 per line -# Special case if files are in the GameData directory itself -# Special Case: 7:GameData -#7:ConnectedLivingSpace - -# 8: AdditionalMods to include -#8:ConnectedLivingSpace - -# -# End of file -# diff --git a/jenkins.txt b/jenkins.txt index 6058362..cf4dd93 100644 --- a/jenkins.txt +++ b/jenkins.txt @@ -31,8 +31,8 @@ # 3:SOURCEFILE, DESTDIR 3:BetterTimeWarp.version,GameData/BetterTimeWarp -#3:LICENSE.md,GameData/KerbalHotSeat -#3:README.md,GameData/KerbalHotSeat +3:License.txt,GameData/BetterTimeWarp +3:Readme.md,GameData/BetterTimeWarp # 4:SOURCDIR, DESTDIR #4:Textures,GameData/ManeuverQueue/Textures