Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
buildVersionUpdate.cpp File Reference
#include <windows.h>
#include <lmcons.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN
 
#define VERSION_MAJOR   "VERSION_MAJOR"
 
#define VERSION_MINOR   "VERSION_MINOR"
 
#define VERSION_BUILDNUM   "VERSION_BUILDNUM"
 
#define VERSION_STRING   "VERSION_STRING"
 
#define FORMAT   "#define " VERSION_STRING " \"%d.%d.%d\"\n"
 
#define COMMENTS   "// Do not modify this file by hand. Auto-created and\n// Updated by buildVersionUpdate.\n"
 
#define NUMFMT   "#define %s %d\n"
 
#define NUMFMT_MINOR   "#define %s %d ///< This effects the replay version number.\n"
 

Functions

int APIENTRY WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
 

Macro Definition Documentation

◆ COMMENTS

#define COMMENTS   "// Do not modify this file by hand. Auto-created and\n// Updated by buildVersionUpdate.\n"

Definition at line 37 of file buildVersionUpdate.cpp.

◆ FORMAT

#define FORMAT   "#define " VERSION_STRING " \"%d.%d.%d\"\n"

Definition at line 36 of file buildVersionUpdate.cpp.

◆ NUMFMT

#define NUMFMT   "#define %s %d\n"

Definition at line 38 of file buildVersionUpdate.cpp.

◆ NUMFMT_MINOR

#define NUMFMT_MINOR   "#define %s %d ///< This effects the replay version number.\n"

Definition at line 39 of file buildVersionUpdate.cpp.

◆ VERSION_BUILDNUM

#define VERSION_BUILDNUM   "VERSION_BUILDNUM"

Definition at line 34 of file buildVersionUpdate.cpp.

◆ VERSION_MAJOR

#define VERSION_MAJOR   "VERSION_MAJOR"

Definition at line 32 of file buildVersionUpdate.cpp.

◆ VERSION_MINOR

#define VERSION_MINOR   "VERSION_MINOR"

Definition at line 33 of file buildVersionUpdate.cpp.

◆ VERSION_STRING

#define VERSION_STRING   "VERSION_STRING"

Definition at line 35 of file buildVersionUpdate.cpp.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 24 of file buildVersionUpdate.cpp.

Function Documentation

◆ WinMain()

int APIENTRY WinMain ( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow )

Definition at line 111 of file buildVersionUpdate.cpp.