aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-06-11 22:14:55 +0000
committerGitHub <[email protected]>2017-06-11 22:14:55 +0000
commit7c059ef7abe5d226c0477cee9cf23c70c2b76a4e (patch)
tree4a99b00c13801b459ab636458f1af141f2c9fde8 /TimeHACK.Main/TitleScreen.cs
parent4b20ee479f2101b691e2254de3228ce9e60c6377 (diff)
parent98485ebbbca1210fdc0d4b81008802481cd62c17 (diff)
downloadhistacom2-7c059ef7abe5d226c0477cee9cf23c70c2b76a4e.tar.gz
histacom2-7c059ef7abe5d226c0477cee9cf23c70c2b76a4e.tar.bz2
histacom2-7c059ef7abe5d226c0477cee9cf23c70c2b76a4e.zip
Merge pull request #92 from lempamo/master
fonts moved
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