Skip to content

Commit

Permalink
1.33
Browse files Browse the repository at this point in the history
KSP 1.0.4 Recompile
Minor bugfixes
ModActions compatibilty
  • Loading branch information
SirDiazo committed Jun 25, 2015
1 parent 6ed64a1 commit 86dd366
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions AGExt/AGExt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\1.0.2 Dev\GameData\Diazo\AGExt\</OutputPath>
<OutputPath>..\..\..\1.0.4 Dev\GameData\Diazo\AGExt\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\1.0.2 Dev\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\..\1.0.4 Dev\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\1.0.2 Dev\KSP_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
<HintPath>..\..\..\1.0.4 Dev\KSP_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -47,7 +47,7 @@
<Reference Include="System.Xml" />
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\1.0.2 Dev\KSP_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>..\..\..\1.0.4 Dev\KSP_Data\Managed\UnityEngine.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions AGExt/CommonMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -675,17 +675,17 @@ public void ActivateActionGroup(int group, bool force, bool forceDir)
//print("cur delay" + curDelay);
if (thisVsl.Parts.Any(p => p.protoModuleCrew.Any() && p.Modules.Contains("ModuleCommand"))) //are we in local control? Kerbal on board on a part with command abilities?
{
Debug.Log("RemoteTech local");
Debug.Log("AGX: RemoteTech local action");
AGXFlight.AGXRemoteTechQueue.Add(new AGXRemoteTechQueueItem(group, actionsList.Find(act => act.group == group).grpName, thisVsl, Planetarium.GetUniversalTime(), force, forceDir, AGXRemoteTechItemState.COUNTDOWN));
}
else if (double.IsInfinity(AGXRemoteTechLinks.RTTimeDelay(thisVsl))) //remotetech returns positive infinity when a vessel is in local control so no delay, note that RT also returns positive infinity when a vessel has no connection so this check has to come second.
{
Debug.Log("RemoteTech infinity");
Debug.Log("AGX: RemoteTech infinity");
AGXFlight.AGXRemoteTechQueue.Add(new AGXRemoteTechQueueItem(group, actionsList.Find(act => act.group == group).grpName, thisVsl, Planetarium.GetUniversalTime(), force, forceDir, AGXRemoteTechItemState.NOCOMMS));
}
else
{
Debug.Log("RemoteTech normal " + AGXRemoteTechLinks.RTTimeDelay(thisVsl));
Debug.Log("AGX: RemoteTech normal " + AGXRemoteTechLinks.RTTimeDelay(thisVsl));
if (AGXFlight.useRT)
{
AGXFlight.AGXRemoteTechQueue.Add(new AGXRemoteTechQueueItem(group, actionsList.Find(act => act.group == group).grpName, thisVsl, Planetarium.GetUniversalTime() + AGXRemoteTechLinks.RTTimeDelay(thisVsl), force, forceDir, AGXRemoteTechItemState.COUNTDOWN));
Expand Down
6 changes: 3 additions & 3 deletions AGExt/Flight.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ public static ConfigNode FlightSaveToFile(ConfigNode origNode)
}
catch (Exception e)
{
print("FlightSaveToFile error " + errLine + " " + e);
print("AGX FlightSaveToFile error " + errLine + " " + e);
return origNode;
}
}
Expand Down Expand Up @@ -1974,7 +1974,7 @@ public void RemoteTechExernalCall(string direction)

catch (Exception e)
{
Debug.Log("Reflection to RT fail " + e);
Debug.Log("AGX: Reflection to RT fail " + e);
}
}
}
Expand Down Expand Up @@ -5022,7 +5022,7 @@ public void DockingEventggg(GameEvents.HostTargetAction<Part, Part> htAct) //doc
//print(vsl1.id + " " + vsl2.id);
if (vsl1 != vsl2) //check to make sure this is not the same vessel docking to itself somehow, both vsl1 and vsl2 would be FG.AC then.
{
print("Old Docking event!");
print("AGX Old Docking event!");
overrideRootChange = true;
if (vsl1 == FlightGlobals.ActiveVessel || vsl2 == FlightGlobals.ActiveVessel) //check to make sure at least one vessel is FG.AC Not sure how a docking event could happen when neither vessel is active but make sure
{
Expand Down
2 changes: 1 addition & 1 deletion AGExt/Instantly.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class AGXMainMenu :PartModule
//abandoned module, no longer needed for key rebinding
public void Start()
{
print("AGExt Ver. 1.32d loaded");
print("AGExt Ver. 1.33 loaded");


}
Expand Down

0 comments on commit 86dd366

Please sign in to comment.