Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
versionUpdate.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_BUILDNUM   "VERSION_LOCALBUILDNUM"
 
#define VERSION_STRING   "LOCAL_BUILD_STRING"
 
#define VERSION_BUILDUSER   "VERSION_BUILDUSER"
 
#define VERSION_BUILDLOC   "VERSION_BUILDLOC"
 
#define FORMAT   "#define " VERSION_STRING " \"%d\"\n"
 
#define COMMENTS   "// Do not modify this file by hand. Auto-created and\n// Updated by versionUpdate.\n"
 
#define NUMFMT   "#define %s %d\n"
 
#define STRFMT   "#define %s \"%s\"\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 versionUpdate.\n"

Definition at line 37 of file versionUpdate.cpp.

◆ FORMAT

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

Definition at line 36 of file versionUpdate.cpp.

◆ NUMFMT

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

Definition at line 38 of file versionUpdate.cpp.

◆ STRFMT

#define STRFMT   "#define %s \"%s\"\n"

Definition at line 39 of file versionUpdate.cpp.

◆ VERSION_BUILDLOC

#define VERSION_BUILDLOC   "VERSION_BUILDLOC"

Definition at line 35 of file versionUpdate.cpp.

◆ VERSION_BUILDNUM

#define VERSION_BUILDNUM   "VERSION_LOCALBUILDNUM"

Definition at line 32 of file versionUpdate.cpp.

◆ VERSION_BUILDUSER

#define VERSION_BUILDUSER   "VERSION_BUILDUSER"

Definition at line 34 of file versionUpdate.cpp.

◆ VERSION_STRING

#define VERSION_STRING   "LOCAL_BUILD_STRING"

Definition at line 33 of file versionUpdate.cpp.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 24 of file versionUpdate.cpp.

Function Documentation

◆ WinMain()

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

Definition at line 127 of file versionUpdate.cpp.