From f9d0254ec88bc5e9d5f93b9dfc4977d9273bfada Mon Sep 17 00:00:00 2001 From: lempamo Date: Wed, 14 Jun 2017 17:31:28 -0400 Subject: Create README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d0eefea..b4a553c 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ TimeHACK is a C# version of the PC game Histacom, released by 12padams in 2010. Here are some of our goals: * Get TimeHACK to the same playable state that Histacom's in and beyond. * Write a new engine and make an API so that you can easily develop your own applications. +* Get HTML working ## Building TimeHACK is currently being developed in Microsoft Visual Studio 2017. Visual Studio 2015 has also been proven to work. If you are using a different IDE, please do so with caution. We cannot guarantee the stability of other IDEs. -- cgit v1.2.3 From 92f1b7b926777c4ddca622b1983994b39332f68e Mon Sep 17 00:00:00 2001 From: lempamo Date: Wed, 14 Jun 2017 20:12:37 -0400 Subject: quick fix to the fonts --- TimeHACK.Engine/BSODCreator.cs | 2 +- TimeHACK.Engine/WindowManager.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TimeHACK.Engine/BSODCreator.cs b/TimeHACK.Engine/BSODCreator.cs index 271087c..818fad5 100644 --- a/TimeHACK.Engine/BSODCreator.cs +++ b/TimeHACK.Engine/BSODCreator.cs @@ -21,7 +21,7 @@ namespace TimeHACK.Engine public Win9XBSOD throw9XBSOD(bool except, BSODCauses type) { - pfc.AddFontFile(AppDomain.CurrentDomain.BaseDirectory + "\\windows_command_prompt.ttf"); + pfc.AddFontFile(SaveSystem.GameDirectory + "\\Data\\windows_command_prompt.ttf"); Win9XBSOD bsod = new Win9XBSOD(); foreach (Control ctrl in bsod.Controls) { ctrl.Font = new System.Drawing.Font(pfc.Families[0], 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((0))); diff --git a/TimeHACK.Engine/WindowManager.cs b/TimeHACK.Engine/WindowManager.cs index 2d5ef8a..76c7e3d 100644 --- a/TimeHACK.Engine/WindowManager.cs +++ b/TimeHACK.Engine/WindowManager.cs @@ -19,7 +19,7 @@ namespace TimeHACK.Engine app.Width = content.Width + 8; app.Height = content.Height + 26; // Initialize Font - pfc.AddFontFile(AppDomain.CurrentDomain.BaseDirectory + "\\LeviWindows.ttf"); + pfc.AddFontFile(SaveSystem.GameDirectory + "\\LeviWindows.ttf"); Font fnt = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); app.fnt = fnt; app.Title.Font = new Font(pfc.Families[0], 16F, FontStyle.Bold, GraphicsUnit.Point, ((0))); -- cgit v1.2.3