Remove a bunch of cruft from the engine.

Unused textures & fonts, really.
This commit is contained in:
Pieter-Jan Briers
2019-07-30 00:56:51 +02:00
parent 6d377ee1e3
commit be379b2e20
84 changed files with 17 additions and 361 deletions
@@ -70,14 +70,14 @@ namespace Robust.Client.ViewVariables.Instances
var stringified = obj.ToString();
if (type.FullName != stringified)
{
var smallFont = new VectorFont(_resourceCache.GetResource<FontResource>("/Fonts/CALIBRI.TTF"), 10);
//var smallFont = new VectorFont(_resourceCache.GetResource<FontResource>("/Fonts/CALIBRI.TTF"), 10);
// Custom ToString() implementation.
var headBox = new VBoxContainer {SeparationOverride = 0};
headBox.AddChild(new Label {Text = stringified, ClipText = true});
headBox.AddChild(new Label
{
Text = type.FullName,
FontOverride = smallFont,
// FontOverride = smallFont,
FontColorOverride = Color.DarkGray,
ClipText = true
});
@@ -121,9 +121,9 @@ namespace Robust.Client.ViewVariables
return new Label {Text = top, ClipText = true};
}
var smallFont =
new VectorFont(IoCManager.Resolve<IResourceCache>().GetResource<FontResource>("/Fonts/CALIBRI.TTF"),
10);
//var smallFont =
// new VectorFont(IoCManager.Resolve<IResourceCache>().GetResource<FontResource>("/Fonts/CALIBRI.TTF"),
// 10);
// Custom ToString() implementation.
var headBox = new VBoxContainer {SeparationOverride = 0};
@@ -131,7 +131,7 @@ namespace Robust.Client.ViewVariables
headBox.AddChild(new Label
{
Text = bottom,
FontOverride = smallFont,
// FontOverride = smallFont,
FontColorOverride = Color.DarkGray,
ClipText = true
});
@@ -50,11 +50,11 @@ namespace Robust.Client.ViewVariables
};
VBox.AddChild(BottomContainer);
var smallFont = new VectorFont(_resourceCache.GetResource<FontResource>("/Fonts/CALIBRI.TTF"), 10);
//var smallFont = new VectorFont(_resourceCache.GetResource<FontResource>("/Fonts/CALIBRI.TTF"), 10);
_bottomLabel = new Label
{
FontOverride = smallFont,
// FontOverride = smallFont,
FontColorOverride = Color.DarkGray
};
BottomContainer.AddChild(_bottomLabel);