(df7ca4c53) updated doors + merge fix

This commit is contained in:
Joonas Rikkonen
2019-04-29 21:19:40 +03:00
parent 9e8a5046fb
commit 7eb0972d16
6 changed files with 0 additions and 31 deletions
@@ -149,7 +149,6 @@ namespace Barotrauma
character.MemLocalState[i].TransformOutToInside(currentHull.Submarine); character.MemLocalState[i].TransformOutToInside(currentHull.Submarine);
} }
} }
} }
if (character.MemState.Count < 1) return; if (character.MemState.Count < 1) return;
@@ -162,31 +162,6 @@ namespace Barotrauma
} }
} }
/// <summary>
/// Returns the file paths of all files of the given type in the content packages.
/// </summary>
/// <param name="type"></param>
/// <param name="searchAllContentPackages">If true, also returns files in content packages that are installed but not currently selected.</param>
public IEnumerable<string> GetFilesOfType(ContentType type, bool searchAllContentPackages = false)
{
if (searchAllContentPackages)
{
return ContentPackage.GetFilesOfType(ContentPackage.List, type);
}
else
{
return ContentPackage.GetFilesOfType(SelectedPackages, type);
}
}
/// <summary>
/// Returns the file paths of all files of the given type in the currently selected content packages.
/// </summary>
public IEnumerable<string> GetFilesOfType(ContentType type)
{
return ContentPackage.GetFilesOfType(SelectedPackages, type);
}
public void StartServer() public void StartServer()
{ {
string name = "Server"; string name = "Server";
@@ -368,8 +368,6 @@ namespace Barotrauma
default: default:
throw new NotImplementedException(); throw new NotImplementedException();
} }
SwarmBehavior?.Update(deltaTime);
LatchOntoAI?.Update(this, deltaTime); LatchOntoAI?.Update(this, deltaTime);
IsSteeringThroughGap = false; IsSteeringThroughGap = false;
@@ -799,7 +797,6 @@ namespace Barotrauma
{ {
UpdateLimbAttack(deltaTime, AttackingLimb, attackSimPos, distance); UpdateLimbAttack(deltaTime, AttackingLimb, attackSimPos, distance);
} }
return false;
} }
public bool IsSteeringThroughGap { get; private set; } public bool IsSteeringThroughGap { get; private set; }
@@ -733,8 +733,6 @@ namespace Barotrauma
limb.body.ApplyForce(diff * (float)(Math.Sin(WalkPos) * Math.Sqrt(limb.Mass)) * 30.0f * animStrength, maxVelocity: 10.0f); limb.body.ApplyForce(diff * (float)(Math.Sin(WalkPos) * Math.Sqrt(limb.Mass)) * 30.0f * animStrength, maxVelocity: 10.0f);
} }
limb?.body.SmoothRotate(angle, torque, wrapAngle: false);
} }
private void SmoothRotateWithoutWrapping(Limb limb, float angle, Limb referenceLimb, float torque) private void SmoothRotateWithoutWrapping(Limb limb, float angle, Limb referenceLimb, float torque)
Binary file not shown.
Binary file not shown.