--- a/hedgewars/config.inc.in Fri Mar 01 00:58:37 2013 +0100
+++ b/hedgewars/config.inc.in Fri Mar 01 01:05:43 2013 +0100
@@ -23,5 +23,7 @@
*)
const cNetProtoVersion = ${HEDGEWARS_PROTO_VER};
cVersionString = '${HEDGEWARS_VERSION}';
+ cRevisionString = '${revision_number}';
+ cHashString = '${hash_number}';
cLuaLibrary = '${LUA_LIBRARY}';
cDefaultPathPrefix = '${CMAKE_INSTALL_PREFIX}/${SHAREPATH}/Data';
--- a/hedgewars/hwengine.pas Fri Mar 01 00:58:37 2013 +0100
+++ b/hedgewars/hwengine.pas Fri Mar 01 01:05:43 2013 +0100
@@ -339,7 +339,8 @@
parseCommandLine(argc, argv);
{$ENDIF}
initEverything(true);
- WriteLnToConsole('Hedgewars ' + cVersionString + ' engine (network protocol: ' + inttostr(cNetProtoVersion) + ')');
+ WriteLnToConsole('Hedgewars engine ' + cVersionString + '-r' + cRevisionString +
+ ' (' + cHashString + ') with protocol #' + inttostr(cNetProtoVersion));
AddFileLog('Prefix: "' + PathPrefix +'"');
AddFileLog('UserPrefix: "' + UserPathPrefix +'"');