Files
firestorm/Gameleap/code/mw4/Code/Buildnum/buildnum.h
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

83 lines
3.3 KiB
C

/* buildnum.h*/
#ifndef BUILDNUM_H
#define BUILDNUM_H
#include "..\buildnum\curver.h"
#ifndef CURRENT_BUILD_FULL
#error "Couldn't set CURRENT_BUILD_FULL"
#endif
// 08/13/99 This was updated to remove a few formats since the build version has changed to support
// the hardware groups build numbering version.
/*--------------------------------------------------------------*/
/* */
/* CHANGING VERSION? */
/* */
/* PLEASE READ! */
/* */
/* The version has BOTH hex and string representations. Take */
/* care that the string version components are PROPERLY */
/* CONVERTED TO HEX and that the hex values are INSERTED INTO */
/* THE CORRECT POSITION in the hex versions. */
/* */
/* Suppose the version was being defined as: */
/* */
/* #define VERSION "9.99.1234" */
/* */
/* The other string preresentations of the version would be: */
/* */
/* #define VER_PRODUCTVERSION_STR "9.99.1234\0" */
/* #define VER_PRODUCTVERSION 9,99,0,1234 */
/* */
/* */
/*--------------------------------------------------------------*/
#define VERSION CURRENT_BUILD_FULL_STRING
#define VER_PRODUCTVERSION_STR CURRENT_BUILD_FULL_STRING "\0"
#define VER_PRODUCTVERSION CURRENT_BUILD_FULL
//
// This version number is used to force a rebuild of the resources because of a code change rather
// than a data change. This is safer to use than bumping a number in the resource.build file
// because coders always to gets of code, but not always gets of content
//
#define VER_CONTENTVERSION 63
// For displaying, or including logic based on the current build
#define VERTYPE_DEBUG_INT 4
#define VERTYPE_ARMOR_INT 3
#define VERTYPE_PROFILE_INT 2
#define VERTYPE_RELEASE_INT 1
#ifdef DEBUG
#define VER_BUILDTYPE_STR "Debug"
#define VER_BUILDTYPE_INT VERTYPE_DEBUG_INT
#else
#ifdef ARMOR
#define VER_BUILDTYPE_STR "Armor"
#define VER_BUILDTYPE_INT VERTYPE_ARMOR_INT
#else
#ifdef PROFILE
#define VER_BUILDTYPE_STR "Profile"
#define VER_BUILDTYPE_INT VERTYPE_PROFILE_INT
#else
#define VER_BUILDTYPE_STR "Release"
#define VER_BUILDTYPE_INT VERTYPE_RELEASE_INT
#endif
#endif
#endif
#define VER_COMPANYNAME_STR "Virtual World Entertainment\0"
#define VER_PRODUCTNAME_STR "Battletech Firestorm\256\0"
#define VER_COPYRIGHT_STR "Copyright @ 2005 Virtual World Entertainment LLC\0"
#define VER_LEGALTRADEMARKS_STR \
"Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0"
#endif // BUILDNUM_H