diff --git a/Dungeons/App.config b/Dungeons/App.config index 6543c5a..2f0b13d 100644 --- a/Dungeons/App.config +++ b/Dungeons/App.config @@ -6,7 +6,7 @@ - + diff --git a/Dungeons/Dungeons.csproj b/Dungeons/Dungeons.csproj index a4dce03..42c8030 100644 --- a/Dungeons/Dungeons.csproj +++ b/Dungeons/Dungeons.csproj @@ -8,7 +8,7 @@ WinExe Dungeons Dungeons - v4.8 + v4.8.1 latest 512 true diff --git a/Dungeons/MapForm.Designer.cs b/Dungeons/MapForm.Designer.cs index d6439bf..d90c38e 100644 --- a/Dungeons/MapForm.Designer.cs +++ b/Dungeons/MapForm.Designer.cs @@ -203,6 +203,7 @@ private void InitializeComponent() this.mapPictureBox.TabIndex = 1; this.mapPictureBox.TabStop = false; this.mapPictureBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.MapPictureBox_MouseDown); + this.mapPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; // // MapForm // diff --git a/Dungeons/MapForm.cs b/Dungeons/MapForm.cs index bfbb3aa..8528acf 100644 --- a/Dungeons/MapForm.cs +++ b/Dungeons/MapForm.cs @@ -182,7 +182,7 @@ private void UpdateMap() if (MapReader.IsValidInGameMap(bmp)) { FloorSize = floorSize; - mapPictureBox.Size = mapSize; + mapPictureBox.Size = LogicalToDeviceUnits(mapSize); timer.Start(); if (mapPictureBox.Image != null) mapPictureBox.Image.Dispose(); diff --git a/Dungeons/Properties/AssemblyInfo.cs b/Dungeons/Properties/AssemblyInfo.cs index be965f5..623394b 100644 --- a/Dungeons/Properties/AssemblyInfo.cs +++ b/Dungeons/Properties/AssemblyInfo.cs @@ -27,5 +27,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.3.2.0")] +[assembly: AssemblyVersion("3.3.3.0")] [assembly: AssemblyDescription("Augmented dungeoneering.")] diff --git a/Dungeons/Properties/Resources.Designer.cs b/Dungeons/Properties/Resources.Designer.cs index b40355c..cb3a341 100644 --- a/Dungeons/Properties/Resources.Designer.cs +++ b/Dungeons/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace Dungeons.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { diff --git a/Dungeons/Properties/Settings.Designer.cs b/Dungeons/Properties/Settings.Designer.cs index 8cbec58..d207bb6 100644 --- a/Dungeons/Properties/Settings.Designer.cs +++ b/Dungeons/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace Dungeons.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.7.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));