Skip to content

Commit

Permalink
Fixes for #54.
Browse files Browse the repository at this point in the history
Namespace changes.
Updated version prior to release.
  • Loading branch information
midspace committed Mar 17, 2016
1 parent ac852cc commit 820e7f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Main/SEToolbox/SEToolbox/Interop/SpaceEngineersConsts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static Version GetSEVersion()
{
try
{
return new Version(Sandbox.Common.MyFinalBuildConstants.APP_VERSION_STRING.ToString().Replace("_", "."));
return new Version(VRage.Game.MyFinalBuildConstants.APP_VERSION_STRING.ToString().Replace("_", "."));
}
catch
{
Expand All @@ -75,7 +75,7 @@ public static int GetSEVersionInt()
try
{
// Use of Sandbox.Common.MyFinalBuildConstants.APP_VERSION causes the Compiler to hard code in the value from the assembly at the time of compile.
return Int32.Parse(Sandbox.Common.MyFinalBuildConstants.APP_VERSION_STRING.ToString().Replace("_", ""));
return Int32.Parse(VRage.Game.MyFinalBuildConstants.APP_VERSION_STRING.ToString().Replace("_", ""));
}
catch
{
Expand Down
2 changes: 1 addition & 1 deletion Main/SEToolbox/SEToolbox/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@
// First 3 numbers to match the current Space Engineers release.
// http://forums.keenswh.com/post/about-change-log-6578819
// Forth number to indicate my own build of SEToolbox to match. Remember to reset it back to 1 every time there is a new release of SpaceEngineers.
[assembly: AssemblyFileVersion("01.125.001.1")]
[assembly: AssemblyFileVersion("01.126.003.1")]

2 changes: 1 addition & 1 deletion Main/SEToolbox/SEToolboxSetup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">

<Product Id="*" Name="!(loc.ApplicationTitle)" Language="1033" Version="01.125.001.1" Manufacturer="!(loc.ManufacturerName)" UpgradeCode="87c8aa64-1a84-4767-ae17-a4b6b6ee1b89">
<Product Id="*" Name="!(loc.ApplicationTitle)" Language="1033" Version="01.126.003.1" Manufacturer="!(loc.ManufacturerName)" UpgradeCode="87c8aa64-1a84-4767-ae17-a4b6b6ee1b89">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<Media Id="1" Cabinet="SEToolbox.cab" EmbedCab="yes" />

Expand Down
4 changes: 2 additions & 2 deletions Main/SEToolbox/ToolboxTest/TypeLoaderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void LoadOthe3r()
[TestMethod]
public void FindType()
{
Type ivms = typeof(Sandbox.ModAPI.IMyVoxelMaps);
Type ivms = typeof(VRage.Game.ModAPI.IMyVoxelMaps);

var binPath = @"D:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin";

Expand Down Expand Up @@ -86,7 +86,7 @@ public void FindType()
var types = ass.GetTypes();

var myVoxelMapsType = types.Where(p => ivms.IsAssignableFrom(p)).First();
var myVoxelMaps = Activator.CreateInstance(myVoxelMapsType) as Sandbox.ModAPI.IMyVoxelMaps;
var myVoxelMaps = Activator.CreateInstance(myVoxelMapsType) as VRage.Game.ModAPI.IMyVoxelMaps;

//5BCAC68007431E61367F5B2CF24E2D6F.5217D2CFAB7CCD6299A3F53DAEE1DEB1
//public static 6922E99EC72C10627AA239B8167BF7DC A109856086C45CF523B23AFCDDB82F43(byte[] 06D95B424FC4150954FF019440A547AE)
Expand Down

0 comments on commit 820e7f9

Please sign in to comment.