3 years agoVersion 1.9 1.9
Andy Wilkinson []
Version 1.9

3 years agoModule: Add a maxTransmitDistance set to OnStart to handle EVA Kerbals. Also remove the 'N/A' set for UImaxTransmitDistance because that's not really ever relevant.
Andy Wilkinson []
Module: Add a maxTransmitDistance set to OnStart to handle EVA Kerbals. Also remove the 'N/A' set for UImaxTransmitDistance because that's not really ever relevant.

3 years agoARFlightController: Renamed connectionTextures->toolbarTexturse to more aptly summarize its purpose.
Andy Wilkinson []
ARFlightController: Renamed connectionTextures->toolbarTexturse to more aptly summarize its purpose.

3 years agoCalculate maxTransmitDistance during OnLoad to avoid the Sqrt every time it's called.
Andy Wilkinson []
Calculate maxTransmitDistance during OnLoad to avoid the Sqrt every time it's called.

3 years agoMerge branch 'PrettyLinesDev2'
Andy Wilkinson []
Merge branch 'PrettyLinesDev2'

3 years agoARFlightController: Sped up the network resolution checks to about 60 Hz.
Andy Wilkinson []
ARFlightController: Sped up the network resolution checks to about 60 Hz.

3 years agoAntennaRelay: Formalized the circular network check to check for circles of arbitrary length.
Andy Wilkinson []
AntennaRelay: Formalized the circular network check to check for circles of arbitrary length.

3 years agoRelayDatabase: Clear database on game load.
Andy Wilkinson []
RelayDatabase: Clear database on game load.

3 years agoARMapRenderer: Do not null-set relay because we are no longer looping. Bail out and log whenever target relays or their vessels are null and the target relay isn't KerbinDirect.
Andy Wilkinson []
ARMapRenderer: Do not null-set relay because we are no longer looping. Bail out and log whenever target relays or their vessels are null and the target relay isn't KerbinDirect.

3 years agoARMapRenderer: Minor logging tweaks
Andy Wilkinson []
ARMapRenderer: Minor logging tweaks

3 years agoAntennaRelay: Log when encountering a null vessel in FlightGlobals.
Andy Wilkinson []
AntennaRelay: Log when encountering a null vessel in FlightGlobals.

3 years agoRelayDatabase: Added some default logging when clearing the cache, and removed the now-extraneous CheckedVesselsTable.
Andy Wilkinson []
RelayDatabase: Added some default logging when clearing the cache, and removed the now-extraneous CheckedVesselsTable.

3 years agoProtoAntennaRelay: Actually log anytime the vesselRef is null.
Andy Wilkinson []
ProtoAntennaRelay: Actually log anytime the vesselRef is null.

3 years agoProtoAntennaRelay: Tweaked error logging when vessel will return null.
Andy Wilkinson []
ProtoAntennaRelay: Tweaked error logging when vessel will return null.

3 years agoModuleLimitedDataTransmitter: Added error log if vessel will return null.
Andy Wilkinson []
ModuleLimitedDataTransmitter: Added error log if vessel will return null.

3 years agoAntennaRelay: Removed an offending 'break', and cleaned up some debug messages.
toadicus []
AntennaRelay: Removed an offending 'break', and cleaned up some debug messages.

3 years agoSince we already know Vessels' best relay, try avoiding the inner loop entirely.
toadicus []
Since we already know Vessels' best relay, try avoiding the inner loop entirely.

3 years agoAntennaRelay: Got rid of search delay here because we handle it in FlightController now.
toadicus []
AntennaRelay: Got rid of search delay here because we handle it in FlightController now.

3 years agoFlightController: Changed the delay, protected->private, and added some logging and null checks.
toadicus []
FlightController: Changed the delay, protected->private, and added some logging and null checks.

3 years agoOne more pooled stringbuilder.
toadicus []
One more pooled stringbuilder.

3 years agoGenerally chnaged to use pooled string builder.
toadicus []
Generally chnaged to use pooled string builder.

3 years agoSome XML comments
toadicus []
Some XML comments

3 years agoModuleLimitedDataTransmitter: Changed TransmitData to apparently work now.
toadicus []
ModuleLimitedDataTransmitter: Changed TransmitData to apparently work now.

3 years agoPrivatized public resources.
toadicus []
Privatized public resources.

3 years agoARFlightController: Fixed Update to run even if the icons are broken, and fixed the AppLauncher icon to exist in MapView.
toadicus []
ARFlightController: Fixed Update to run even if the icons are broken, and fixed the AppLauncher icon to exist in MapView.

3 years agoReally debug-ify some debug-only code.
Andy Wilkinson []
Really debug-ify some debug-only code.

3 years agoAntennaRelay: Don't quit on exceptions even in debug mode unless we really want to.
Andy Wilkinson []
AntennaRelay: Don't quit on exceptions even in debug mode unless we really want to.

3 years agoRemoved VesselCache.cs because it isn't supposed to be here.
Andy Wilkinson []
Removed VesselCache.cs because it isn't supposed to be here.

3 years agoProbably fixed the flickering lines by only checking one relay per inactive vessel, and by setting BestVesselRelay per vessel in RelayDatabase.
Andy Wilkinson []
Probably fixed the flickering lines by only checking one relay per inactive vessel, and by setting BestVesselRelay per vessel in RelayDatabase.

3 years agoRelayDatabase: Track 'best' relays at Update time.
Andy Wilkinson []
RelayDatabase: Track 'best' relays at Update time.

3 years agoCommitting all this noise even though it's sorta broken.
Andy Wilkinson []
Committing all this noise even though it's sorta broken.

3 years agoRemoved Linq
Andy Wilkinson []
Removed Linq

3 years agoConverted foreach->for throughout. Also flattened the RelayDatabase to exclude part hashing.
toadicus []
Converted foreach->for throughout. Also flattened the RelayDatabase to exclude part hashing.

3 years agoAntennaRelay: Default to KerbinDirect so that if targetRelay doesn't get set for some reason (why?) we will fall back to Kerbin.
toadicus []
AntennaRelay: Default to KerbinDirect so that if targetRelay doesn't get set for some reason (why?) we will fall back to Kerbin.

3 years agoAntennaRelay: Made the debug logging during FindNearestRelay more consistent.
toadicus []
AntennaRelay: Made the debug logging during FindNearestRelay more consistent.

3 years agoAdd XML comment docstrings or disable warnings for all files.
toadicus []
Add XML comment docstrings or disable warnings for all files.

3 years agoARMapRenderer: Move last/thisColor to Class scope to avoid GC, add some basic code tidying.
toadicus []
ARMapRenderer: Move last/thisColor to Class scope to avoid GC, add some basic code tidying.

3 years agoUpdated the copyright year.
toadicus []
Updated the copyright year.

3 years agoAdd debug logging for the new If Nest sections.
toadicus []
Add debug logging for the new If Nest sections.

3 years agoAntennaRelay: Deepened the If Nest to show the closest out-of-range relay when we're out of range of everything.
toadicus []
AntennaRelay: Deepened the If Nest to show the closest out-of-range relay when we're out of range of everything.

3 years agoAntennaRelay: Change update delay to use a single Stopwatch.
toadicus []
AntennaRelay: Change update delay to use a single Stopwatch.

3 years agoProtoAntennaRelay: Make ToString safer.
toadicus []
ProtoAntennaRelay: Make ToString safer.

3 years agoARMapRenderer: Use fewer LineRenderers drawing multi-segment lines when we can.
toadicus []
ARMapRenderer: Use fewer LineRenderers drawing multi-segment lines when we can.

3 years agoRevert "ARMapRenderer: Removed vesselFrameCache because it was never doing any good."
toadicus []
Revert "ARMapRenderer: Removed vesselFrameCache because it was never doing any good."

This reverts commit 0c941dfb7171ef27c234553484b88e8eea12286a.

3 years agoMore comments, mostly.
Andy Wilkinson []
More comments, mostly.

3 years agoMostly comments and scope tweaks, some reorganization.
Andy Wilkinson []
Mostly comments and scope tweaks, some reorganization.

3 years agoCleanup: If->Switch
Andy Wilkinson []
Cleanup: If->Switch

3 years agoQuick changes to overwrite all of Squad's stuff properly again.
Andy Wilkinson []
Quick changes to overwrite all of Squad's stuff properly again.

3 years agoTrying to be a little more consistent about float vs double.
Andy Wilkinson []
Trying to be a little more consistent about float vs double.

3 years agoA bunch more code cleanup.
Andy Wilkinson []
A bunch more code cleanup.

3 years agoA little code cleanup.
Andy Wilkinson []
A little code cleanup.

3 years agoMade things less verbose.
Andy Wilkinson []
Made things less verbose.

3 years agoARFlightController: Optimized a bit, and only search for ConnectionStatus every now and then.
Andy Wilkinson []
ARFlightController: Optimized a bit, and only search for ConnectionStatus every now and then.

3 years agoMade the pretty lines slightly prettier.
Andy Wilkinson []
Made the pretty lines slightly prettier.

3 years agoARMapRenderer: Removed vesselFrameCache because it was never doing any good.
Andy Wilkinson []
ARMapRenderer: Removed vesselFrameCache because it was never doing any good.

3 years agoAdded a Config option for the pretty lines; now cleaning up pretty lines if there's an exception, slowed down updates a bit.
Andy Wilkinson []
Added a Config option for the pretty lines; now cleaning up pretty lines if there's an exception, slowed down updates a bit.

3 years agoMegacommit to make network rendering work right in general.
Andy Wilkinson []
Megacommit to make network rendering work right in general.

3 years agoMove the anti-infinite-recursion gate outside the loop so more relays are available to more relays.
Andy Wilkinson []
Move the anti-infinite-recursion gate outside the loop so more relays are available to more relays.

3 years agoRefigured the whole way target relays are found; mostly works. PrettyLinesDev2_Broken
Andy Wilkinson []
Refigured the whole way target relays are found; mostly works.

3 years agoMore changes to make bad relay detection work. Something's still fighting something.
toadicus []
More changes to make bad relay detection work. Something's still fighting something.

3 years agoTrying to search for bestOccludedRelay.
Andy Wilkinson []
Trying to search for bestOccludedRelay.

3 years agoARMapRenderer: Updated a bit for BadRelayTracking.
Andy Wilkinson []
ARMapRenderer: Updated a bit for BadRelayTracking.

3 years agoMerge branch 'BadRelayTracking' into PrettyLinesDev2
Andy Wilkinson []
Merge branch 'BadRelayTracking' into PrettyLinesDev2

3 years agoFirst pass at storing bestOccludedRelay. BadRelayTracking
Andy Wilkinson []
First pass at storing bestOccludedRelay.

3 years agoRelayDatabase: Use Singleton<T> for readability.
toadicus []
RelayDatabase: Use Singleton<T> for readability.

3 years agoGenerally implemented tracking of nearest valid relay even if out of range.
toadicus []
Generally implemented tracking of nearest valid relay even if out of range.

3 years agoFixed up some firstOccludingBody bits in [Proto]AntennaRelay.
toadicus []
Fixed up some firstOccludingBody bits in [Proto]AntennaRelay.

3 years agoMake and support firstOccludingBody as an interface property of IAntennaRelay.
toadicus []
Make and support firstOccludingBody as an interface property of IAntennaRelay.

Conflicts:
AntennaRelay.cs

3 years agoMapRenderer: Only cleanup if there's something to clean.
toadicus []
MapRenderer: Only cleanup if there's something to clean.

3 years agoFixed up some firstOccludingBody bits in [Proto]AntennaRelay.
toadicus []
Fixed up some firstOccludingBody bits in [Proto]AntennaRelay.

3 years agoARMapRenderer: Clean up line renderers when the map is closed.
toadicus []
ARMapRenderer: Clean up line renderers when the map is closed.

3 years agoMake and support firstOccludingBody as an interface property of IAntennaRelay.
toadicus []
Make and support firstOccludingBody as an interface property of IAntennaRelay.

3 years agoMapRenderer: Tweaked the 3D lineWidth.
toadicus []
MapRenderer: Tweaked the 3D lineWidth.

3 years agoVersion 1.8 1.8
Andy Wilkinson []
Version 1.8

3 years agoGenerally changed GUILayout.Toggle to GUITools.Toggle, because the former apparently sucks.
Andy Wilkinson []
Generally changed GUILayout.Toggle to GUITools.Toggle, because the former apparently sucks.

3 years agocfg: Removed FilterExtensions patch because we're supported properly there now.
Andy Wilkinson []
cfg: Removed FilterExtensions patch because we're supported properly there now.

3 years agoARFlightController: Set Toolbar button to Important when ConnectionStatus is None.
toadicus []
ARFlightController: Set Toolbar button to Important when ConnectionStatus is None.

3 years agoMoved all configuration items to ARConfiguration, because that makes sense.
toadicus []
Moved all configuration items to ARConfiguration, because that makes sense.

3 years agoAdded .gitattributes.
toadicus []
Added .gitattributes.

3 years agocfg: Fixed misplaced colon in FilterExtensions patch.
Andy Wilkinson []
cfg: Fixed misplaced colon in FilterExtensions patch.

3 years agoVersion 1.7 1.7
Andy Wilkinson []
Version 1.7

3 years agoAntennaRange.cfg: Balance adjustments for the EVA transmitter.
Andy Wilkinson []
AntennaRange.cfg: Balance adjustments for the EVA transmitter.

3 years agoRemoved .dll from version control.
Andy Wilkinson []
Removed .dll from version control.

3 years agoDeply reworking, cfg removal.
Andy Wilkinson []
Deply reworking, cfg removal.

3 years agoDeploy reworking, Windows edition.
Andy Wilkinson []
Deploy reworking, Windows edition.

3 years agoDeploy reworking, round 2.
Andy Wilkinson []
Deploy reworking, round 2.

3 years agoReworking the way deployments are handled.
Andy Wilkinson []
Reworking the way deployments are handled.

3 years agoRelayExtensions: Distance to a planetary body is now reported relative to the idealized surface.
Andy Wilkinson []
RelayExtensions: Distance to a planetary body is now reported relative to the idealized surface.

3 years agoAntennaRange.cfg: Added FilterExtensions patch.
toadicus []
AntennaRange.cfg: Added FilterExtensions patch.

3 years agoVersion 1.6 1.6
Andy Wilkinson []
Version 1.6

3 years agoAntennaRange.cfg: Added EVA_MODULE and EVA_RESOURCE definitions for EVA Kerbal transmitters and electric charge, with an MM patch to avoid duplicating ElectricCharge when TACLS is installed.
toadicus []
AntennaRange.cfg: Added EVA_MODULE and EVA_RESOURCE definitions for EVA Kerbal transmitters and electric charge, with an MM patch to avoid duplicating ElectricCharge when TACLS is installed.

3 years agoModuleLimitedDataTransmitter: Removed some Math.Pow calls for squaring and added some debug logging to the PreTransmit methods.
toadicus []
ModuleLimitedDataTransmitter: Removed some Math.Pow calls for squaring and added some debug logging to the PreTransmit methods.

3 years agoModuleLimitedDataTransmitter: Moved _base field caching from OnLoad to OnAwake, solving an issue with EVA modules.
toadicus []
ModuleLimitedDataTransmitter: Moved _base field caching from OnLoad to OnAwake, solving an issue with EVA modules.

3 years agoRevert "AntennaRelay, ModuleLimitedDataTransmitter: Integrated getLineOfSight methods to detect when LOS is almost lost."
Andy Wilkinson []
Revert "AntennaRelay, ModuleLimitedDataTransmitter: Integrated getLineOfSight methods to detect when LOS is almost lost."

This reverts commit c21f14e55348ccfdcde511eb721f78d09d5e8178.

4 years agoAntennaRelay, ModuleLimitedDataTransmitter: Integrated getLineOfSight methods to detect when LOS is almost lost. ARdev-LOS
toadicus []
AntennaRelay, ModuleLimitedDataTransmitter: Integrated getLineOfSight methods to detect when LOS is almost lost.

4 years agoVersion 1.5 1.5
Andy Wilkinson []
Version 1.5

4 years agoAntennaRange.cfg: Added ModuleScienceContainers to all antennas so probes can stow data, too, probably.
Andy Wilkinson []
AntennaRange.cfg: Added ModuleScienceContainers to all antennas so probes can stow data, too, probably.

4 years agoModuleLimitedDataTransmitter: Added debug messages to TransmitData, and fixed the loop so it actually works now.
Andy Wilkinson []
ModuleLimitedDataTransmitter: Added debug messages to TransmitData, and fixed the loop so it actually works now.

4 years agoModuleScienceContainer: Treat container capacity of 0 as infinity, and accommodate containers which allow repeated subjects.
toadicus []
ModuleScienceContainer: Treat container capacity of 0 as infinity, and accommodate containers which allow repeated subjects.

4 years agoModuleLimitedDataTransmitter: Preliminary work for stashing data passed from experiments when transmission is impossible.
toadicus []
ModuleLimitedDataTransmitter: Preliminary work for stashing data passed from experiments when transmission is impossible.