diff options
| author | lempamo <[email protected]> | 2017-08-29 14:32:19 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-08-29 14:32:19 -0400 |
| commit | d4d94f85a6424e4d21cecccec21b0e78860431d6 (patch) | |
| tree | 3644ac63218378082e0afa90d4c42d73d6d3980c /Histacom2.Engine/SaveSystem.cs | |
| parent | 7e54d42ed67bf8417a4a479dedce65217adc8309 (diff) | |
| parent | 213861a59ee7cb42816172c38994d93484d129e8 (diff) | |
| download | histacom2-d4d94f85a6424e4d21cecccec21b0e78860431d6.tar.gz histacom2-d4d94f85a6424e4d21cecccec21b0e78860431d6.tar.bz2 histacom2-d4d94f85a6424e4d21cecccec21b0e78860431d6.zip | |
Merge pull request #154 from Alex-TIMEHACK/master
New resizing system + Save troubleshooter fix
Diffstat (limited to 'Histacom2.Engine/SaveSystem.cs')
| -rw-r--r-- | Histacom2.Engine/SaveSystem.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Histacom2.Engine/SaveSystem.cs b/Histacom2.Engine/SaveSystem.cs index 7da916b..b8c619e 100644 --- a/Histacom2.Engine/SaveSystem.cs +++ b/Histacom2.Engine/SaveSystem.cs @@ -28,6 +28,13 @@ namespace Histacom2.Engine public static Theme currentTheme { get; set; } + public static bool IsBinarySave = +#if BINARY_SAVE + true; +#else + false; +#endif + #if BINARY_SAVE private static readonly byte[] magic = Encoding.UTF8.GetBytes("THSv"); private static readonly IOrderedEnumerable<System.Reflection.PropertyInfo> properties = typeof(Save).GetProperties().OrderBy(p => (p.GetCustomAttributes(typeof(OrderAttribute), false).SingleOrDefault() as OrderAttribute).Order); |
