Skip to content

Commit

Permalink
Merge branch develop v10.0.10-220110.1120
Browse files Browse the repository at this point in the history
  • Loading branch information
anoyetta committed Jan 10, 2022
2 parents 44ad7f7 + ac4c200 commit 9f31721
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion source/@MasterVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10.0.9
v10.0.10
4 changes: 2 additions & 2 deletions source/ACT.Hojoring.Common/Version.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Reflection;

[assembly: AssemblyVersion("10.0.0.9")]
[assembly: AssemblyFileVersion("10.0.0.9")]
[assembly: AssemblyVersion("10.0.0.10")]
[assembly: AssemblyFileVersion("10.0.0.10")]
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ public static void RefreshZone()
$"{TimelineConstants.LogSymbol} set VAR['{ZoneID}'] = {zoneID}");
TimelineController.RaiseLog(
$"{TimelineConstants.LogSymbol} set VAR['{ZoneName}'] = {zoneName}");

// ゾーンが変わったならば1BOriginをリセットする
Reset1BSignOrigin();
}
}

Expand Down Expand Up @@ -228,6 +231,19 @@ public static void TryRefresh1BSignOrigin(
}
}

/// <summary>
/// 1B Sign の最小値をリセットする(0xFFFF)
/// </summary>
public static void Reset1BSignOrigin()
{
const int SignInitialValue = 0xFFFF;

TimelineController.RaiseLog(
$"{TimelineConstants.LogSymbol} set VAR['{Origin1B}'] = {SignInitialValue} ({SignInitialValue:X4})");

SetVariable(Origin1B, SignInitialValue, TimelineController.CurrentController?.CurrentZoneName);
}

/// <summary>
/// グローバル変数をセットする
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions source/ACT.XIVLog/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("d504e286-56ec-494f-82cd-fd71aefef606")]
[assembly: AssemblyVersion("2.6.0.1")]
[assembly: AssemblyFileVersion("2.6.0.1")]
[assembly: AssemblyVersion("2.6.0.2")]
[assembly: AssemblyFileVersion("2.6.0.2")]
1 change: 0 additions & 1 deletion source/ACT.XIVLog/VideoCapture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ public void FinishRecording()
dest);

XIVLogPlugin.Instance.EnqueueLogLine(
"00",
$"[XIVLog] The video was saved. {Path.GetFileName(dest)}");
}
}
Expand Down
15 changes: 2 additions & 13 deletions source/ACT.XIVLog/XIVLogPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,7 @@ private void OnLogLineRead(
}

public void EnqueueLogLine(
string logMessageType,
string message,
string zone = null)
string message)
{
if (string.IsNullOrEmpty(Config.Instance.OutputDirectory) &&
!Config.Instance.IsEnabledRecording &&
Expand All @@ -322,16 +320,7 @@ public void EnqueueLogLine(
return;
}

zone ??= this.currentZoneName;

var log = new LogLineEventArgs(
$"[{DateTime.Now:HH:mm:ss.fff}] {logMessageType}:{message}",
int.Parse(logMessageType),
DateTime.Now,
zone,
true);

LogQueue.Enqueue(new XIVLog(false, log));
LogParser.RaiseLog(DateTime.Now, message);
}

/*
Expand Down

0 comments on commit 9f31721

Please sign in to comment.