--- a/hedgewars/hwLibrary.pas Mon Jul 01 22:49:28 2013 +0200
+++ b/hedgewars/hwLibrary.pas Tue Jul 02 23:49:41 2013 +0200
@@ -41,6 +41,11 @@
versionStr^:= cVersionString;
end;
+function HW_versionString: PChar; cdecl; export;
+begin
+ exit(cVersionString + '-r' + cRevisionString + ' (' + cHashString + ')');
+end;
+
// equivalent to esc+y; when closeFrontend = true the game exits after memory cleanup
procedure HW_terminate(closeFrontend: boolean); cdecl; export;
begin
@@ -118,6 +123,7 @@
GenLandPreview,
LoadLocaleWrapper,
HW_versionInfo,
+ HW_versionString,
HW_terminate,
HW_getNumberOfWeapons,
HW_getMaxNumberOfHogs,