5 years agoVOID_DataValue: Changed VOID_NumValue<T> to make proper use of generic type constraints. Moved refresh timing responsibility to VOID_DataValue<T>.
Andy Wilkinson []
VOID_DataValue: Changed VOID_NumValue<T> to make proper use of generic type constraints. Moved refresh timing responsibility to VOID_DataValue<T>.

5 years agoVOID_CBInfoBrowser: Moved the ocean logic outside of the atmosphere check, just in case.
Andy []
VOID_CBInfoBrowser: Moved the ocean logic outside of the atmosphere check, just in case.

5 years agoVOID_Transfer: Add System.Linq using line.
Andy []
VOID_Transfer: Add System.Linq using line.

5 years agoVOID_Core: Change to use the same Toolbar button for both editor and flight drivers.
Andy []
VOID_Core: Change to use the same Toolbar button for both editor and flight drivers.

5 years agoVOID_CBInfoBrowser: Remove a bunch of commented old code. Make bodies without atmosphere say so.
Andy []
VOID_CBInfoBrowser: Remove a bunch of commented old code. Make bodies without atmosphere say so.

5 years agoSeparate VOIDFlightMaster and VOIDEditorMaster.
Andy []
Separate VOIDFlightMaster and VOIDEditorMaster.

5 years agoVOID_VesselInfo: Changed mass calls to new this SimManager.TryGetLastMass extension.
Andy []
VOID_VesselInfo: Changed mass calls to new this SimManager.TryGetLastMass extension.

5 years agoVOID_EditorCore: Changed KER invocation to use Kerbin surface gravity instead of whatever that constant was.
Andy []
VOID_EditorCore: Changed KER invocation to use Kerbin surface gravity instead of whatever that constant was.

5 years agoVOID_Core: Added Kerbin property to find Kerbin on first access. Changed KER invocation to use current vessel radius instead of surface radius.
Andy []
VOID_Core: Added Kerbin property to find Kerbin on first access. Changed KER invocation to use current vessel radius instead of surface radius.

5 years agoTools: Added this Vessel.Radius() and this SimManager.TryGetLastMass extension methods.
Andy []
Tools: Added this Vessel.Radius() and this SimManager.TryGetLastMass extension methods.

5 years agoadd support for custom drawables and button popup menus (fixes #1)
Maik Schreiber []
add support for custom drawables and button popup menus (fixes #1)

5 years agoMoved ToolbarWrapper to Wrapper, in hopes that subtree merges will be easier.
Andy Wilkinson []
Moved ToolbarWrapper to Wrapper, in hopes that subtree merges will be easier.

5 years agoRemoved old ToolbarButtonWrapper.
Andy Wilkinson []
Removed old ToolbarButtonWrapper.
VOID_Core: Rejiggered toolbar functionality to mesh with the new API-compatible wrapper from blizzy78.
VOID_Core: A bunch of reordering to make method locations a little more sensible hopefully.

5 years agoToolbarWrapper.cs: Changed to VOID namespace.
Andy Wilkinson []
ToolbarWrapper.cs: Changed to VOID namespace.

5 years agoMerged Toolbar's new official wrapper.
Andy Wilkinson []
Merged Toolbar's new official wrapper.

5 years agoVOID_Core: Power consumption will no longer persist when the core is 'powered off'. Thanks to Shad0wCatcher for the bughunting.
Andy []
VOID_Core: Power consumption will no longer persist when the core is 'powered off'. Thanks to Shad0wCatcher for the bughunting.

5 years agoMerge branch 'icon_devel'
Andy []
Merge branch 'icon_devel'

Conflicts:
VOID_Core.cs

5 years agoRemoved old FlightGlobals.Bodies caching, because why?
Andy []
Removed old FlightGlobals.Bodies caching, because why?

5 years agoVOID_Core: Changed to a four-texture icon system and streamlined the icon_devel
Andy []
VOID_Core: Changed to a four-texture icon system and streamlined the
texture assignment.

5 years agoVersion 0.9.20 0.9.20
Andy Wilkinson []
Version 0.9.20

5 years agoVOID_Rendezvous: Hopefully fixed LSL indication to the reference vessel, not the local vessel, consistent with the rest of the panel.
Andy Wilkinson []
VOID_Rendezvous: Hopefully fixed LSL indication to the reference vessel, not the local vessel, consistent with the rest of the panel.

5 years agoTools: Wrapped a findWorldCoM call in a try block to see about troubleshooting a Horrible Problem from what I'm guessing is something entirely unrelated.
Andy Wilkinson []
Tools: Wrapped a findWorldCoM call in a try block to see about troubleshooting a Horrible Problem from what I'm guessing is something entirely unrelated.
VOID_EditorHUD: Added a thrust vector offset indication to help build asymmetrical craft.

5 years agoToolbarButtonWrapper: Added EffectivelyVisible.
Andy Wilkinson []
ToolbarButtonWrapper: Added EffectivelyVisible.
VesselInfo: Added IntakeAir status indication.

5 years agoVOID_HUD.cs: Added Experiment Situation indication to the Biome line.
Andy Wilkinson []
VOID_HUD.cs: Added Experiment Situation indication to the Biome line.

5 years agoTools.cs: Added new ExperimentSituation functions to get the situation for Science.
Andy Wilkinson []
Tools.cs: Added new ExperimentSituation functions to get the situation for Science.

5 years agoToolbarButtonWrapper.cs: Removed extraneous *HandlerType declarations.
Andy Wilkinson []
ToolbarButtonWrapper.cs: Removed extraneous *HandlerType declarations.

5 years agoToolbarButtonWrapper: Added XML comments for the new OnMouse events, and rearranged the file a little bit.
Andy Wilkinson []
ToolbarButtonWrapper: Added XML comments for the new OnMouse events, and rearranged the file a little bit.

5 years agoToolbarButtonWrapper: Added OnMouseEnter and OnMouseLeave for Toolbar version 1.2.1.
Andy Wilkinson []
ToolbarButtonWrapper: Added OnMouseEnter and OnMouseLeave for Toolbar version 1.2.1.

5 years agoVersion 0.9.19 0.9.19
Andy []
Version 0.9.19

5 years agoToolbarButtonWrapper: Added an assignment to this.Button so that it can actually work.
Andy []
ToolbarButtonWrapper: Added an assignment to this.Button so that it can actually work.

5 years agoRemoved extraneous _24x24 from the initial ToolbarButton load.
Andy []
Removed extraneous _24x24 from the initial ToolbarButton load.

5 years agoMerge remote-tracking branch 'origin/toolbarwrapper_static_factory'
Andy []
Merge remote-tracking branch 'origin/toolbarwrapper_static_factory'

Conflicts:
ToolbarButtonWrapper.cs

5 years agoVersion 0.9.18. 0.9.18
Andy []
Version 0.9.18.

5 years agoVOID_Core: Reverted texture paths to omit the _24x24.
Andy []
VOID_Core: Reverted texture paths to omit the _24x24.

5 years agoVOID_Core: Tweaks to the icon style and logic to use the same 24×24px texture for both icons, and to make sure the icon button style is reloaded when the skin is changed.
Andy []
VOID_Core: Tweaks to the icon style and logic to use the same 24×24px texture for both icons, and to make sure the icon button style is reloaded when the skin is changed.

5 years agoTools: Change GetAtt to use the KSP function.
Andy []
Tools: Change GetAtt to use the KSP function.

5 years agoToolbarButtonWrapper: Added IButton.Important.
Andy []
ToolbarButtonWrapper: Added IButton.Important.

5 years agoToolbarButtonWrapper: Changed to a static factory style to keep all of the reflection code in ToolbarButtonWrapper. toolbarwrapper_static_factory
Andy Wilkinson []
ToolbarButtonWrapper: Changed to a static factory style to keep all of the reflection code in ToolbarButtonWrapper.

5 years agoVersion 0.9.17 origin
Andy Wilkinson []
Version 0.9.17

5 years agoVOID_Core: Added Visibility criteria for the Toolbar Buttons.
Andy Wilkinson []
VOID_Core: Added Visibility criteria for the Toolbar Buttons.

5 years agoToolbarButtonWrapper: Added docstrings from Toolbar's IButton interface, with some revisions.
Andy Wilkinson []
ToolbarButtonWrapper: Added docstrings from Toolbar's IButton interface, with some revisions.

5 years agoVersion 0.9.16 0.9.16
Andy Wilkinson []
Version 0.9.16

5 years agoRemoved a couple extraneous usings.
Andy Wilkinson []
Removed a couple extraneous usings.

5 years agoToolbarButtonWrapper: Fleshed out the rest of the IButton interface. toolbar_integration
Andy Wilkinson []
ToolbarButtonWrapper: Fleshed out the rest of the IButton interface.

5 years agoVOID_Core: Made UseToolbarManager a saved value; changed some UI text.
Andy Wilkinson []
VOID_Core: Made UseToolbarManager a saved value; changed some UI text.

5 years agoRevert "ToolbarButtonWrapper: Renamed Destroy to DestroyButton, since that's what it does."
Andy Wilkinson []
Revert "ToolbarButtonWrapper: Renamed Destroy to DestroyButton, since that's what it does."

This reverts commit ae4b7ac1653f2dd2407c92e5a2b5392a2e673fa3.

5 years agoRenamed ToolbarWrapper to ToolbarButtonWrapper.
Andy Wilkinson []
Renamed ToolbarWrapper to ToolbarButtonWrapper.

5 years agoToolbarButtonWrapper: Renamed Destroy to DestroyButton, since that's what it does.
Andy Wilkinson []
ToolbarButtonWrapper: Renamed Destroy to DestroyButton, since that's what it does.

5 years agoVOID_Core: Integrated ToolbarButtonWrapper as an option.
Andy Wilkinson []
VOID_Core: Integrated ToolbarButtonWrapper as an option.

5 years agoToolbarWrapper: New class that anonymously wraps Blizzy's Toolbar.
Andy Wilkinson []
ToolbarWrapper: New class that anonymously wraps Blizzy's Toolbar.

5 years agoVOID_Module: Removed some extra-spammy debug messages.
Andy Wilkinson []
VOID_Module: Removed some extra-spammy debug messages.

5 years agoIntCollection: Removed some stray WriteLine.
Andy Wilkinson []
IntCollection: Removed some stray WriteLine.

5 years agoVOID_Orbital: Fixed erroneous mislabeling of Apoapsis to Periapsis.
Andy Wilkinson []
VOID_Orbital: Fixed erroneous mislabeling of Apoapsis to Periapsis.

5 years agoVOID_DataValue: Removed an extraneous debugging label.
Andy Wilkinson []
VOID_DataValue: Removed an extraneous debugging label.

5 years agoVersion 0.9.15 0.9.15
Andy []
Version 0.9.15

5 years agoVOID_Core: Added GroupBy and Select(First) to eliminate duplicate skins for MechJeb compat.
Andy []
VOID_Core: Added GroupBy and Select(First) to eliminate duplicate skins for MechJeb compat.

5 years agoVOID_SaveValue: Removed two unused assignments.
Andy []
VOID_SaveValue: Removed two unused assignments.

5 years agoChanges throughout to avoid dirtying the cache unnecessarily.
Andy []
Changes throughout to avoid dirtying the cache unnecessarily.

5 years agoVOID_SaveValue: Changed the way the config is dirtied to create a pathway to not dirtying the path when values are equal.
Andy []
VOID_SaveValue: Changed the way the config is dirtied to create a pathway to not dirtying the path when values are equal.

5 years agoVOID_DataLogger: Moved initalization into the ctor.
Andy []
VOID_DataLogger: Moved initalization into the ctor.

5 years agoFixed the VOID icon to not be tiny and ugly.
Andy []
Fixed the VOID icon to not be tiny and ugly.

5 years agoVOID_Module: Added a debug message before loading values so we can see which value is failing to load in exceptional circumstances.
Andy []
VOID_Module: Added a debug message before loading values so we can see which value is failing to load in exceptional circumstances.

5 years agoVOID_Core: Initalize _skinName with defaultSkin in ctor.
Andy []
VOID_Core: Initalize _skinName with defaultSkin in ctor.

5 years agoVOID_Core: Changing Core to save the skin preference as a string instead of an integer, and improving some of the fault detection around it.
Andy Wilkinson []
VOID_Core: Changing Core to save the skin preference as a string instead of an integer, and improving some of the fault detection around it.

5 years agoVOID_Module: Set the skin in DrawGUI per module.
Andy Wilkinson []
VOID_Module: Set the skin in DrawGUI per module.

5 years agoVersion 0.9.14. 0.9.14
Andy Wilkinson []
Version 0.9.14.

5 years agoVOID_Orbital & VOID_SurfAtmo: Cast to ushort for new int version of VOID_DataValue.DoGUIHorizontal(int).
Andy Wilkinson []
VOID_Orbital & VOID_SurfAtmo: Cast to ushort for new int version of VOID_DataValue.DoGUIHorizontal(int).

5 years agoVOID_HUD: Use an index in Core.LabelStyles instead of a local. Why?
Andy Wilkinson []
VOID_HUD: Use an index in Core.LabelStyles instead of a local. Why?

5 years agoVOID_DataValue: Reworked the way DoGUIHorizontal works, particularly the flow around the variable precision version. Use clicks to the label now instead of GUILayout.Button()s.
Andy Wilkinson []
VOID_DataValue: Reworked the way DoGUIHorizontal works, particularly the flow around the variable precision version. Use clicks to the label now instead of GUILayout.Button()s.

5 years agoVOID_Core: Added a few new styles to LabelStyles and used them.
Andy Wilkinson []
VOID_Core: Added a few new styles to LabelStyles and used them.

5 years agoMoved SimManager TryStartSimulation call to Core.Update()
Andy Wilkinson []
Moved SimManager TryStartSimulation call to Core.Update()

5 years agoAdded SimManager.HardReset calls to both Awake()s.
Andy Wilkinson []
Added SimManager.HardReset calls to both Awake()s.

5 years agoVOID_VesselInfo: Cleaned things up by using Engineer.VesselSimulator.
Andy Wilkinson []
VOID_VesselInfo: Cleaned things up by using Engineer.VesselSimulator.

5 years agoVOID_DataValue: Cycle backwards on right click.
Andy Wilkinson []
VOID_DataValue: Cycle backwards on right click.

5 years agoVOID_VesselInfo: A quick fix to avoid an IndexOutOfRangeException when very complicated craft foil VesselSimulator.
Andy Wilkinson []
VOID_VesselInfo: A quick fix to avoid an IndexOutOfRangeException when very complicated craft foil VesselSimulator.

5 years agoVOID_DataValue: Further refinements to the precision adjustments.
Andy Wilkinson []
VOID_DataValue: Further refinements to the precision adjustments.

5 years agoVOID_DataValue: Changed the precision configurable to tweak the units and the decimal position rather than just add more digits after the decimal.
Andy []
VOID_DataValue: Changed the precision configurable to tweak the units and the decimal position rather than just add more digits after the decimal.

5 years agoVOID_SurfAtmo: Converted to use VOID_DataValues.
Andy []
VOID_SurfAtmo: Converted to use VOID_DataValues.

5 years agoVOID_VesselInfo: Minor tweak to the VesselSimulator failsafes.
Andy []
VOID_VesselInfo: Minor tweak to the VesselSimulator failsafes.

5 years agoVOID_VesselInfo: Converted to use VOID_DataValues.
Andy []
VOID_VesselInfo: Converted to use VOID_DataValues.

5 years agoVOID_DataValue: Removed Invoke() call from ctor to avoid "object not set" exceptions. Added a toggle to DoGUIHorizontal(ushort) to disable the precision button.
Andy []
VOID_DataValue: Removed Invoke() call from ctor to avoid "object not set" exceptions. Added a toggle to DoGUIHorizontal(ushort) to disable the precision button.

5 years agoRemoved the csproj because it's too much headache.
Andy []
Removed the csproj because it's too much headache.

5 years agoAdded a command or something to the csproj.
Andy Wilkinson []
Added a command or something to the csproj.

5 years agoVOID_DataValue: Added ValueUnitString() and DoGUIHorizontal() to the interface.
Andy Wilkinson []
VOID_DataValue: Added ValueUnitString() and DoGUIHorizontal() to the interface.

5 years agoMore whitespace fixes.
Andy Wilkinson []
More whitespace fixes.

5 years agoVOID_Orbital: Cleaned up some white space.
Andy Wilkinson []
VOID_Orbital: Cleaned up some white space.

5 years agoMerge branch 'fixing_hud_primary'
Andy Wilkinson []
Merge branch 'fixing_hud_primary'

5 years agoVersion 0.9.13. fixing_hud_primary 0.9.13
Andy Wilkinson []
Version 0.9.13.

5 years agoVOID_HUD: Re-added primary because I'm a loser.
Andy Wilkinson []
VOID_HUD: Re-added primary because I'm a loser.

5 years agoVOID_DataValue: Some extra methods to make floating point ToString methods accessible.
Andy Wilkinson []
VOID_DataValue: Some extra methods to make floating point ToString methods accessible.
VOID_Orbital: Fully(?) integrated VOID_DataValue.

5 years agoIntCollection: Removed VOID_SaveValue interface and members.
Andy []
IntCollection: Removed VOID_SaveValue interface and members.
VOID_DataValue: New interfaces for handling internally-caching, labeled and unitized generic values. Looks to be working!
VOID_Module, VOID_Orbital, et al: Integrating the above.

6 years agoVersion 0.9.12 0.9.12
Andy Wilkinson []
Version 0.9.12

6 years agoIncidental "txt_right" -> "right" changes.
Andy Wilkinson []
Incidental "txt_right" -> "right" changes.

6 years agoVOID_Orbital:
Andy Wilkinson []
VOID_Orbital:
* Added support for rate limiting. Not sure I love this?
* Added configurable precision for some values. The specifics of how this is done need improvement.

6 years agoVOID_Core:
Andy Wilkinson []
VOID_Core:
* Added updateTimer and updatePeriod so we can limit the frequency of updates in supporting modules.
* Changed "txt_right" style to "right".
* Configuration window now hides when the main window is hidden.
VOID_Module:
* Added .lastUpdate for tracking update limiting.

6 years agoMerge branch 'laptop_dev'
Andy []
Merge branch 'laptop_dev'

6 years agoA couple boring housekeeping items.
Andy []
A couple boring housekeeping items.

6 years agoFirst-pass implemention of configurable precision for some values.
Andy []
First-pass implemention of configurable precision for some values.

6 years agoAdded a special case to load for IntCollection. I don't really like this.
Andy []
Added a special case to load for IntCollection. I don't really like this.

6 years agoAdded IntCollection.cs
Andy []
Added IntCollection.cs