Skip to content

Commit

Permalink
meows
Browse files Browse the repository at this point in the history
  • Loading branch information
paissaheavyindustries committed Apr 25, 2023
1 parent 4f72bc2 commit 77f4076
Show file tree
Hide file tree
Showing 4 changed files with 597 additions and 215 deletions.
32 changes: 28 additions & 4 deletions WheresMouse/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@

namespace WheresMouse
{

public class Config : IPluginConfiguration
{

public int Version { get; set; } = 0;

public bool Opened { get; set; } = true;

/// <summary>
/// Indicators are enabled
/// </summary>
Expand All @@ -19,6 +21,8 @@ public class Config : IPluginConfiguration
/// </summary>
public bool OnlyShowInCombat { get; set; } = false;

public bool OnlyOnScreen { get; set; } = true;

/// <summary>
/// Draws an indicator circle on the mouse position
/// </summary>
Expand All @@ -37,17 +41,17 @@ public class Config : IPluginConfiguration
/// <summary>
/// Radius of the indicator circle
/// </summary>
public int IndicatorCircleRadius { get; set; } = 100;
public int IndicatorCircleRadius { get; set; } = 50;

/// <summary>
/// Thickness of the cardinal indicator lines
/// </summary>
public int IndicatorCardinalThickness { get; set; } = 20;
public int IndicatorCardinalThickness { get; set; } = 5;

/// <summary>
/// Thickness of the intercardinal (diagonal) indicator lines
/// </summary>
public int IndicatorIntercardinalThickness { get; set; } = 20;
public int IndicatorIntercardinalThickness { get; set; } = 5;

/// <summary>
/// Color of the indicator circle
Expand Down Expand Up @@ -79,6 +83,26 @@ public class Config : IPluginConfiguration
/// </summary>
public float ActiveDecayFactor { get; set; } = 0.9f;

public bool PerEnabled { get; set; } = false;
public bool PerOnlyShowInCombat { get; set; } = false;
public bool PerOnlyOnScreen { get; set; } = true;
public int PerIndicatorThickness { get; set; } = 5;
public Vector4 PerIndicatorColor { get; set; } = new Vector4(1.0f, 1.0f, 0.0f, 0.25f);

public bool OfsEnabled { get; set; } = false;
public bool OfsOnlyShowInCombat { get; set; } = false;
public bool OfsBounce { get; set; } = true;
public bool OfsBlink { get; set; } = true;
public int OfsIndicatorSize { get; set; } = 20;
public Vector4 OfsIndicatorColor { get; set; } = new Vector4(1.0f, 1.0f, 0.0f, 0.5f);

public bool TrailEnabled { get; set; } = false;
public bool TrailOnlyShowInCombat { get; set; } = false;
public int TrailThreshold { get; set; } = 5;
public int TrailTTL { get; set; } = 1000;
public int TrailSize { get; set; } = 3;
public Vector4 TrailColor { get; set; } = new Vector4(1.0f, 1.0f, 0.0f, 1.0f);

}

}
22 changes: 22 additions & 0 deletions WheresMouse/Maustrale.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System.Numerics;

namespace WheresMouse
{

internal class Maustrale
{

public enum StyleEnum
{
Boingo
}

public Vector2 Position { get; set; }
public StyleEnum Style { get; set; }
public Vector4 Color { get; set; }
public double TTL { get; set; }
public double TTLMax { get; set; }

}

}
Loading

0 comments on commit 77f4076

Please sign in to comment.