Skip to content

Commit

Permalink
v1.5.8.2 show player/torrent local coords separately and show riding …
Browse files Browse the repository at this point in the history
…status
  • Loading branch information
j committed Aug 6, 2024
1 parent 36ed972 commit 77e6f98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,12 @@ void updateMovement()
var pos = _process.getSetLocalCoords();
if (positionPanel.Visibility == Visibility.Visible)
{
var isRiding = _process.isRiding() ? "R" : "";
var posPlayer = _process.getSetPlayerLocalCoords();
var posTorrent = _process.getSetTorrentLocalCoords();
var mapCoords = _process.getMapCoords();
localPos.Text = $"Local: [{pos.Item1:F2} {pos.Item2:F2} {pos.Item3:F2}]";
//localPos.Text = $"Local: [{pos.Item1:F2} {pos.Item2:F2} {pos.Item3:F2}]"; //switches between player and torrent
localPos.Text = $"P: [{posPlayer.Item1:F2} {posPlayer.Item2:F2} {posPlayer.Item3:F2}] T: [{posTorrent.Item1:F2} {posTorrent.Item2:F2} {posTorrent.Item3:F2}] {isRiding}";
var mapRotDeg = mapCoords.Item4 * 180 / Math.PI;
var mapIDstr = TeleportHelper.mapIDString(mapCoords.Item5);
mapPos.Text = $"Map: [{mapCoords.Item1:F2} {mapCoords.Item2:F2} {mapCoords.Item3:F2}] rotation: [{mapRotDeg:F1}°]";
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.8.1")]
[assembly: AssemblyFileVersion("1.5.8.1")]
[assembly: AssemblyVersion("1.5.8.2")]
[assembly: AssemblyFileVersion("1.5.8.2")]
//must include all four parts. parsing a version pads the FRONT with zeroes, in some cases, not the back as you might expect.

0 comments on commit 77e6f98

Please sign in to comment.