summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-12-11 11:13:07 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-12-11 11:13:07 +0000
commitebb1ad118dc2d067ae562cbbd60e6c58e771ea9e (patch)
treea55b9a33e7bf1cef80fb1e73e24209dc803d3e26 /src
parentf7c207f0f37efa802dc3bae34c3b5b57871d42cf (diff)
downloadmana-ebb1ad118dc2d067ae562cbbd60e6c58e771ea9e.tar.gz
mana-ebb1ad118dc2d067ae562cbbd60e6c58e771ea9e.tar.bz2
mana-ebb1ad118dc2d067ae562cbbd60e6c58e771ea9e.tar.xz
mana-ebb1ad118dc2d067ae562cbbd60e6c58e771ea9e.zip
Fixed windows binary version
Diffstat (limited to 'src')
-rw-r--r--src/main.h3
-rw-r--r--src/tmw.rc41
-rw-r--r--src/winver.h6
3 files changed, 22 insertions, 28 deletions
diff --git a/src/main.h b/src/main.h
index 4aa3fc13..91fd8552 100644
--- a/src/main.h
+++ b/src/main.h
@@ -29,8 +29,7 @@
#ifdef HAVE_CONFIG_H
#include "../config.h"
#elif defined WIN32
-#include "../The_Mana_World_private.h"
-#define PACKAGE_VERSION PRODUCT_VERSION
+#include "winver.h"
#endif
#ifndef TMW_DATADIR
diff --git a/src/tmw.rc b/src/tmw.rc
index d3a43b72..ee5f99cd 100644
--- a/src/tmw.rc
+++ b/src/tmw.rc
@@ -1,34 +1,23 @@
#include <windows.h> // include for version info constants
+#include "winver.h"
A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "data/icons/tmw-icon.ico"
-//
-// TO CHANGE VERSION INFORMATION, EDIT PROJECT OPTIONS...
-//
1 VERSIONINFO
-FILEVERSION 0,0,21,1
-PRODUCTVERSION 0,0,21,1
-FILETYPE VFT_APP
-{
- BLOCK "StringFileInfo"
- {
- BLOCK "040904E4"
- {
- VALUE "CompanyName", "The Mana World Development Team"
- VALUE "FileVersion", "0.0.21.1"
- VALUE "FileDescription", "The Mana World"
- VALUE "InternalName", "tmw.exe"
- VALUE "LegalCopyright", "2004-2006 (C)"
- VALUE "LegalTrademarks", ""
- VALUE "OriginalFilename", "tmw.exe"
- VALUE "ProductName", "The Mana World MMORPG"
- VALUE "ProductVersion", "0.0.21.1"
- }
- }
- BLOCK "VarFileInfo"
- {
- VALUE "Translation", 0x0409, 1252
- }
+FILEVERSION VER_MAJOR,VER_MINOR,VER_RELEASE,VER_BUILD
+PRODUCTVERSION VER_MAJOR,VER_MINOR,VER_RELEASE,VER_BUILD
+FILETYPE VFT_APP {
+ BLOCK "StringFileInfo" {
+ BLOCK "040904E4" {
+ VALUE "CompanyName", "The Mana World Development Team"
+ VALUE "FileVersion", PACKAGE_VERSION
+ VALUE "FileDescription", "The Mana World"
+ VALUE "LegalCopyright", "2004-2006 (C)"
+ VALUE "OriginalFilename", "tmw.exe"
+ VALUE "ProductName", "The Mana World MMORPG"
+ VALUE "ProductVersion", PACKAGE_VERSION
+ }
+ }
}
diff --git a/src/winver.h b/src/winver.h
new file mode 100644
index 00000000..12294fd9
--- /dev/null
+++ b/src/winver.h
@@ -0,0 +1,6 @@
+/* VERSION DEFINITIONS */
+#define VER_MAJOR 0
+#define VER_MINOR 0
+#define VER_RELEASE 22
+#define VER_BUILD 0
+#define PACKAGE_VERSION "0.0.22"