diff options
| author | lempamo <[email protected]> | 2017-06-11 22:14:55 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-06-11 22:14:55 +0000 |
| commit | 7c059ef7abe5d226c0477cee9cf23c70c2b76a4e (patch) | |
| tree | 4a99b00c13801b459ab636458f1af141f2c9fde8 /TimeHACK.Main/TitleScreen.cs | |
| parent | 4b20ee479f2101b691e2254de3228ce9e60c6377 (diff) | |
| parent | 98485ebbbca1210fdc0d4b81008802481cd62c17 (diff) | |
| download | histacom2-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.cs | 6 |
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 |
