Skip to content
This repository has been archived by the owner on Dec 29, 2024. It is now read-only.

Commit

Permalink
more fronts edits
Browse files Browse the repository at this point in the history
  • Loading branch information
PuroSlavKing committed Nov 17, 2024
1 parent 783780c commit 63f2124
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Content.Client/Access/AccessOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Content.Client.Access;

public sealed class AccessOverlay : Overlay
{
private const string TextFontPath = "/Fonts/_Everwood/medieval.ttf"; // Everwood EDIT
private const string TextFontPath = "/Fonts/_Everwood/supernatural.ttf"; // Everwood EDIT
private const int TextFontSize = 12;

private readonly IEntityManager _entityManager;
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Administration/AdminNameOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public AdminNameOverlay(AdminSystem system, IEntityManager entityManager, IEyeMa
_eyeManager = eyeManager;
_entityLookup = entityLookup;
ZIndex = 200;
_font = new VectorFont(resourceCache.GetResource<FontResource>("/Fonts/_Everwood/medieval.ttf"), 10); // Everwood EDIT
_font = new VectorFont(resourceCache.GetResource<FontResource>("/Fonts/_Everwood/supernatural.ttf"), 10); // Everwood EDIT
}

public override OverlaySpace Space => OverlaySpace.ScreenSpace;
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Fluids/PuddleOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public PuddleOverlay()
IoCManager.InjectDependencies(this);
_debugOverlaySystem = _entitySystemManager.GetEntitySystem<PuddleDebugOverlaySystem>();
var cache = IoCManager.Resolve<IResourceCache>();
_font = new VectorFont(cache.GetResource<FontResource>("/Fonts/_Everwood/medieval.ttf"), 8); // Everwood EDIT
_font = new VectorFont(cache.GetResource<FontResource>("/Fonts/_Everwood/supernatural.ttf"), 8); // Everwood EDIT
}

protected override void Draw(in OverlayDrawArgs args)
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Lobby/LobbyState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private void UpdateLobbyUi()
if (_gameTicker.ServerInfoBlob != null)
Lobby!.ServerInfo.SetInfoBlob(_gameTicker.ServerInfoBlob);

Lobby!.LabelName.SetMarkup("[font=\"FallenAngel\" size=45] Everwood [/font]"); // WD EDIT | Everwood EDIT
Lobby!.LabelName.SetMarkup("[font=\"FallenAngel\" size=45] Everwood [/font]"); // Everwood EDIT
Lobby!.ChangelogLabel.SetMarkup(Loc.GetString("ui-lobby-changelog")); // WD EDIT
}

Expand Down
2 changes: 1 addition & 1 deletion Content.Client/NPC/HTN/HTNOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed class HTNOverlay : Overlay
public HTNOverlay(IEntityManager entManager, IResourceCache resourceCache)
{
_entManager = entManager;
_font = new VectorFont(resourceCache.GetResource<FontResource>("/Fonts/_Everwood/medieval.ttf"), 10); // Everwood EDIT
_font = new VectorFont(resourceCache.GetResource<FontResource>("/Fonts/_Everwood/supernatural.ttf"), 10); // Everwood EDIT
}

protected override void Draw(in OverlayDrawArgs args)
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Parallax/BiomeDebugOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public BiomeDebugOverlay()
_biomes = _entManager.System<BiomeSystem>();
_maps = _entManager.System<SharedMapSystem>();

_font = new VectorFont(_cache.GetResource<FontResource>("/Fonts/_Everwood/medieval.ttf"), 12); // Everwood EDIT
_font = new VectorFont(_cache.GetResource<FontResource>("/Fonts/_Everwood/supernatural.ttf"), 12); // Everwood EDIT
}

protected override bool BeforeDraw(in OverlayDrawArgs args)
Expand Down
6 changes: 3 additions & 3 deletions Content.Client/Popups/PopupUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public override void Initialize()
base.Initialize();
var cache = IoCManager.Resolve<IResourceCache>();

_smallFont = new VectorFont(cache.GetResource<FontResource>("/Fonts/_Everwood/medieval.ttf"), 10);// Everwood EDIT START
_mediumFont = new VectorFont(cache.GetResource<FontResource>("/Fonts/_Everwood/medieval.ttf"), 12);
_largeFont = new VectorFont(cache.GetResource<FontResource>("/Fonts/_Everwood/medieval.ttf"), 14); // Everwood EDIT END
_smallFont = new VectorFont(cache.GetResource<FontResource>("/Fonts/_Everwood/supernatural.ttf"), 10);// Everwood EDIT START
_mediumFont = new VectorFont(cache.GetResource<FontResource>("/Fonts/_Everwood/supernatural.ttf"), 12);
_largeFont = new VectorFont(cache.GetResource<FontResource>("/Fonts/_Everwood/supernatural.ttf"), 14); // Everwood EDIT END
}

public void OnStateEntered(GameplayState state)
Expand Down
8 changes: 4 additions & 4 deletions Content.Client/Wires/UI/WiresMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ public WiresMenu(WiresBoundUserInterface owner)

LayoutContainer.SetAnchorPreset(topContainerWrap, LayoutContainer.LayoutPreset.Wide);

var font = _resourceCache.GetFont("/Fonts/Boxfont-round/Boxfont Round.ttf", 13);
var fontSmall = _resourceCache.GetFont("/Fonts/Boxfont-round/Boxfont Round.ttf", 10);
var font = _resourceCache.GetFont("/Fonts/_Everwood/supernatural.ttf", 13); // Everwood EDIT
var fontSmall = _resourceCache.GetFont("/Fonts/_Everwood/supernatural.ttf", 10); // Everwood EDIT

Button helpButton;
var topRow = new BoxContainer
Expand Down Expand Up @@ -323,7 +323,7 @@ public WireControl(WireColor color, WireLetter letter, bool isCut, bool flip, bo
VerticalAlignment = VAlignment.Bottom,
HorizontalAlignment = HAlignment.Center,
Align = Label.AlignMode.Center,
FontOverride = _resourceCache.GetFont("/Fonts/NotoSansDisplay/NotoSansDisplay-Bold.ttf", 12),
FontOverride = _resourceCache.GetFont("/Fonts/_Everwood/supernatural.ttf", 12), // Everwood EDIT
FontColorOverride = Color.Gray,
ToolTip = letter.Name(),
MouseFilter = MouseFilterMode.Stop
Expand Down Expand Up @@ -568,7 +568,7 @@ public StatusLight(StatusLightData data, IResourceCache resourceCache)
};
}

var font = resourceCache.GetFont("/Fonts/Boxfont-round/Boxfont Round.ttf", 12);
var font = resourceCache.GetFont("/Fonts/_Everwood/supernatural.ttf", 12); // Everwood EDIT

var hBox = new BoxContainer
{
Expand Down

0 comments on commit 63f2124

Please sign in to comment.