Add version define in config.cpp

Vanilla commit:

75ff017b53
This commit is contained in:
ebaydayz
2016-08-27 10:09:55 -04:00
parent f2c39e0038
commit 3f27bef1e3
4 changed files with 5 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ class CfgWorlds {
access = 3;
worldId = 4;
cutscenes[] = {"DayZModIntro1"};
description = "DayZ Epoch 1.0.6";
description = DayZVersion;
icon = "";
worldName = "\ca\chernarus\chernarus.wrp";
pictureMap = "";

View File

@@ -229,7 +229,7 @@ class RscDisplayMain : RscStandardDisplay
class DAYZ_Version : CA_Version
{
idc = -1;
text = "DayZ Epoch 1.0.6";
text = DayZVersion;
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
};
delete CA_TitleMainMenu;

View File

@@ -1,4 +1,5 @@
#include "Configs\basicDefines.hpp"
#include "\z\addons\dayz_code\version.hpp"
#include "Configs\CfgNonAIVehicles.hpp" //Axeman lights
class CfgPatches
@@ -49,7 +50,7 @@ class CfgMods
hidePicture = 0;
hideName = 0;
action = "http://www.dayzepoch.com";
version = "DayZ Epoch 1.0.6";
version = DayZVersion;
hiveVersion = 0.96;
//requiredAddons[] = {"Chernarus"}; // No need to load for other maps
};

View File

@@ -0,0 +1 @@
#define DayZVersion "DayZ Epoch 1.0.6"