VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros | Functions
version.h File Reference

Go to the source code of this file.

Macros

#define DtVrfVersionNumber   "Development_Version"
 
#define PLUGIN_COMPATIBLE_VERSION   "Development_Version"
 
#define DtVrfClassDocsVersion   "5.0.3"
 
#define DATA_INSTALLER_VERSION   "5.0.3"
 
#define MESSAGE_MAJOR_VERSION   51
 
#define MESSAGE_MINOR_VERSION   6
 
#define DtVrfCopyrightYearString   "2023"
 
#define DtVrfCopyrightYearInt   2023
 
#define VRF_RELEASE_NUM   25
 
#define MESSAGE_EXTRA_INFORMATION   1
 
#define DtMessageVersionConstructor(major, minor, extra)   ((major & 0x0000FFFF) << 16) | ((minor & 0x000000FF) << 8) | (extra & 0x000000FF)
 
#define DtMessageMajorVersion(version)   ((version & 0xFFFF0000) >> 16)
 
#define DtMessageMinorVersion(version)   ((version & 0x0000FF00) >> 8)
 
#define DtMessageExtraInformation(version)   (version & 0x000000FF)
 
#define DtMessageVersion   DtMessageVersionConstructor(MESSAGE_MAJOR_VERSION, MESSAGE_MINOR_VERSION, MESSAGE_EXTRA_INFORMATION)
 

Functions

DT_DLL_vrfutil const charDtVrforcesVersion ()
 

Macro Definition Documentation

#define DtVrfVersionNumber   "Development_Version"

Version strings must not contain spaces.

#define PLUGIN_COMPATIBLE_VERSION   "Development_Version"

Indicates which version of VR-Forces this version is binary compatible with, such that plugin code does not need to be recompiled.

#define DtVrfClassDocsVersion   "5.0.3"

Since the doc builds cannot access the nightbus version number, they pull it from here.

#define DATA_INSTALLER_VERSION   "5.0.3"

This is the version that will be added to the windows registry for the data installer to find when installing. In most cases this should match PLUGIN_COMPATIBLE_VERSION.

#define MESSAGE_MAJOR_VERSION   51

When updating major/minor versions of a release, make sure to update these numbers as well Version 5.0 = 51.

#define MESSAGE_MINOR_VERSION   6

VRF5.0.3 = 6.

#define DtVrfCopyrightYearString   "2023"

Copyright date for MAK software.

#define DtVrfCopyrightYearInt   2023
#define VRF_RELEASE_NUM   25

The release number will be unique for each VR-Forces release. The numbers may not be in sequential order. Previous versions are left as comments below for reference. Between versions, "123456789" is used as the release number to indicate that it is not an official release.

#define MESSAGE_EXTRA_INFORMATION   1

Note that messages are assumed to be valid within a major/minor version release. This value should only be changed if, for some reason, that needs to be changed within a maintenance release line.

#define DtMessageVersionConstructor (   major,
  minor,
  extra 
)    ((major & 0x0000FFFF) << 16) | ((minor & 0x000000FF) << 8) | (extra & 0x000000FF)
#define DtMessageMajorVersion (   version)    ((version & 0xFFFF0000) >> 16)
#define DtMessageMinorVersion (   version)    ((version & 0x0000FF00) >> 8)
#define DtMessageExtraInformation (   version)    (version & 0x000000FF)

Function Documentation

DT_DLL_vrfutil const char* DtVrforcesVersion ( )

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)