aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-06-11 18:13:28 -0400
committerlempamo <[email protected]>2017-06-11 18:13:28 -0400
commit98485ebbbca1210fdc0d4b81008802481cd62c17 (patch)
tree4a99b00c13801b459ab636458f1af141f2c9fde8 /TimeHACK.Main/TitleScreen.cs
parent9f1be00ea3ae4a4353fa7cba059c25f34aef0e1a (diff)
downloadhistacom2-98485ebbbca1210fdc0d4b81008802481cd62c17.tar.gz
histacom2-98485ebbbca1210fdc0d4b81008802481cd62c17.tar.bz2
histacom2-98485ebbbca1210fdc0d4b81008802481cd62c17.zip
moved fonts
Diffstat (limited to 'TimeHACK.Main/TitleScreen.cs')
-rw-r--r--TimeHACK.Main/TitleScreen.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/TimeHACK.Main/TitleScreen.cs b/TimeHACK.Main/TitleScreen.cs
index bf6e145..aa48592 100644
--- a/TimeHACK.Main/TitleScreen.cs
+++ b/TimeHACK.Main/TitleScreen.cs
@@ -128,8 +128,10 @@ namespace TimeHACK
gameversion.Text = "TimeHACK " + Program.gameID;
// Initialize Font
- pfc.AddFontFile(AppDomain.CurrentDomain.BaseDirectory + "\\LeviWindows.ttf");
- pfc.AddFontFile(AppDomain.CurrentDomain.BaseDirectory + "\\windows_command_prompt.ttf");
+ File.WriteAllBytes(Data + "\\LeviWindows.ttf", Resources.LeviWindows);
+ File.WriteAllBytes(Data + "\\windows_command_prompt.ttf", Resources.windows_command_prompt);
+ pfc.AddFontFile(Data + "\\LeviWindows.ttf");
+ pfc.AddFontFile(Data + "\\windows_command_prompt.ttf");
gameversion.Font = new Font(pfc.Families[0], 16F, FontStyle.Bold, GraphicsUnit.Point, (0));
// Start the VM Mode timer