Skip to content

Commit f9a79e6

Browse files
committed
Minor formatting fixes
1 parent a5bbe8d commit f9a79e6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

OpenKh.Game/Field/BbsMap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public BbsMap(GraphicsDevice graphics, string filePath)
3737
new Vector3(currentInfo.RotationX, currentInfo.RotationY, currentInfo.RotationZ),
3838
new Vector3(currentInfo.ScaleX, currentInfo.ScaleY, currentInfo.ScaleZ));
3939
pmpEntity.DifferentMatrix = pmp.hasDifferentMatrix[pmoIndex];
40-
40+
4141
var pParser = new PmoParser(pmp.PmoList[pmoIndex], 100.0f);
4242
var textures = new List<Tim2KingdomTexture>();
4343

OpenKh.Game/Field/Kh2Field.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private void LoadAreaData(int world, int area)
148148
// we want to avoid to load entities that can be potentially not used.
149149
}
150150

151-
private void LoadMsg(int world) => _kernel.DataContent
151+
private void LoadMsg(int world) => _kernel.DataContent
152152
.FileOpen($"msg/{_kernel.Language}/{Constants.WorldIds[world]}.bar")
153153
.Using(stream => Bar.Read(stream))
154154
.ForEntry(x => x.Type == Bar.EntryType.List, stream =>
@@ -247,7 +247,7 @@ public void SetActorPosition(int actorId, float x, float y, float z, float rotat
247247
{
248248
var actor = _actorIds[actorId];
249249
actor.Position = new n.Vector3(x, y, z);
250-
actor.Rotation = new n.Vector3(0, (float)(rotation * Math.PI / 180) , 0);
250+
actor.Rotation = new n.Vector3(0, (float)(rotation * Math.PI / 180), 0);
251251
}
252252

253253
public void SetActorAnimation(int actorId, string path)
@@ -424,7 +424,7 @@ private void DrawSubtitle(byte[] data)
424424

425425
_messageDrawContext.GlobalScale = 1.0f;
426426
_messageDrawContext.WidthMultiplier = 1.2f;
427-
_messageDrawContext.x = (_messageDrawContext.WindowWidth - _messageDrawContext.Width) / 2f;
427+
_messageDrawContext.x = (_messageDrawContext.WindowWidth - _messageDrawContext.Width) / 2f;
428428
_messageDrawContext.y = 350;
429429
_messageDrawContext.IgnoreDraw = false;
430430
_messageRenderer.Draw(_messageDrawContext, data);

OpenKh.Tests.Engine/Kh2EventTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public void InterpolateCameraTest(float time, float eyex, float eyey, float eyez
231231
Assert.Equal(0f, actualRoll, 0);
232232
Assert.Equal(48.41f, actualFov, 0);
233233
}
234-
234+
235235
[Theory]
236236
[InlineData(122, -123.61f, -122.43f)]
237237
[InlineData(140, -123.68f, -122.80f)]

0 commit comments

Comments
 (0)