Skip to content

Commit

Permalink
Update to 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
godarklight committed Dec 28, 2018
1 parent 2bb55ee commit 9ff6c1b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Client/Utilities/CompatibilityChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ internal class CompatibilityChecker : MonoBehaviour
public static bool IsCompatible()
{
const int compatibleMajor = 1;
const int compatibleMinor = 5;
const int compatibleRevision = 1;
const int compatibleMinor = 6;
const int compatibleRevision = 0;
return (Versioning.version_major == compatibleMajor) && (Versioning.version_minor == compatibleMinor) && (Versioning.Revision == compatibleRevision);

/*-----------------------------------------------*\
Expand Down
15 changes: 12 additions & 3 deletions Common/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ public class Common
//Split messages into 8kb chunks to higher priority messages have more injection points into the TCP stream.
public const int SPLIT_MESSAGE_LENGTH = 8192;
//Bump this every time there is a network change (Basically, if MessageWriter or MessageReader is touched).
public const int PROTOCOL_VERSION = 47;
public const int PROTOCOL_VERSION = 48;
//Program version. This is written in the build scripts.
public const string PROGRAM_VERSION = "Custom";
//Mod control version - The last version to add parts
public const string MODCONTROL_VERSION = "1.5";
public const string MODCONTROL_VERSION = "1.6";
//Compression threshold
public const int COMPRESSION_THRESHOLD = 4096;

Expand Down Expand Up @@ -454,7 +454,16 @@ public static List<string> GetStockParts()
"roverBody.v2",
"probeCoreSphere.v2",
"solidBooster.v2",
"solidBooster.sm.v2"
"solidBooster.sm.v2",
// 1.6 parts
"rocketNoseCone.v2",
"mk2LanderCabin.v2",
"liquidEngineMini.v2",
"liquidEngine3.v2",
"liquidEngine2-2.v2",
"Size3To2Adapter.v2",
"stackBiCoupler.v2",
"stackTriCoupler.v2"
};
return stockPartList;
//MAKE SURE TO CHANGE Common.MODCONTROL_VERSION
Expand Down

0 comments on commit 9ff6c1b

Please sign in to comment.