Modified Init functions to print RPG-X version information

This commit is contained in:
Walter Julius Hennecke 2013-08-24 17:47:17 +02:00
parent 049c0399b9
commit f65df05320
4 changed files with 6 additions and 1 deletions

View File

@ -1167,6 +1167,8 @@ void CG_Init( int32_t serverMessageNum, int32_t serverCommandSequence ) {
const char *s;
int32_t i;
CG_Printf ("This is RPG-X version %s compiled by %s on %s.\n", RPGX_VERSION, RPGX_COMPILEDBY, RPGX_COMPILEDATE);
// clear everything
memset( &cgs, 0, sizeof( cgs ) );
memset( &cg, 0, sizeof( cg ) );

View File

@ -10,7 +10,7 @@
// second version that must match between game and cgame
#define RPGX_VERSION "RPG-X V 2.3 CB 4"
#define RPGX_COMPILEDATE __DATE__ " " __TIME__
#define RPGX_COMPILEDBY "GSIO01"
#define RPGX_COMPILEDBY "Jenkins"
#define GAME_VERSION "RPG-X v" RPGX_VERSION
#define INJURED_MODE_HEALTH 20 //!<For the injured mode health system.

View File

@ -1711,6 +1711,7 @@ void G_InitGame( int levelTime, unsigned int randomSeed, int restart ) {
G_Printf ("------- Game Initialization -------\n");
G_Printf ("gamename: %s\n", GAMEVERSION);
G_Printf ("gamedate: %s\n", __DATE__);
G_Printf ("This is RPG-X version %s compiled by %s on %s.\n", RPGX_VERSION, RPGX_COMPILEDBY, RPGX_COMPILEDATE);
level.overrideCalcLiftTravelDuration = 0;

View File

@ -1966,6 +1966,8 @@ UI_Init
*/
void UI_Init( void ) {
Com_Printf ("This is RPG-X version %s compiled by %s on %s.\n", RPGX_VERSION, RPGX_COMPILEDBY, RPGX_COMPILEDATE);
memset( &uis, 0, sizeof ( uis ) );
/*if ( !uis.playCinematic ) {