summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--The Mana World.dev17
-rw-r--r--src/tmw.rc34
-rw-r--r--tmw.cbp5
4 files changed, 55 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f00e8dde..892e59de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
Updated some docs for the 0.0.20 release.
* NEWS: Added new features of 0.0.20.
* data/items.xml: Added shorts.
+ * src/tmw.rc, The Mana World.dev, tmw.cbp: Added a resource script to
+ let both Dev-Cpp and Code::Blocks share the same binary icon and
+ version infos.
2006-07-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
diff --git a/The Mana World.dev b/The Mana World.dev
index b929434a..f222a04a 100644
--- a/The Mana World.dev
+++ b/The Mana World.dev
@@ -1,7 +1,7 @@
[Project]
FileName=The Mana World.dev
Name=tmw
-UnitCount=229
+UnitCount=230
Type=0
Ver=1
ObjFiles=
@@ -14,7 +14,7 @@ Compiler=
CppCompiler=-DUSE_OPENGL_@@_-Wall_@@_
Linker=-lguichan_@@_-lguichan_sdl_@@_-lguichan_opengl_@@_-lwsock32_@@_-lSDL_image.dll_@@_-lSDL_mixer.dll_@@_-lSDL_net.dll_@@_-lmingw32_@@_-lSDLmain_@@_-lSDL.dll_@@_-lxml2.dll_@@_-lopengl32_@@_-lpng12.dll_@@_-lz.dll_@@_-lphysfs_@@_-lcurl_@@_
IsCpp=1
-Icon=The Mana World.ico
+Icon=
ExeOutput=
ObjectOutput=obj
OverrideOutput=1
@@ -24,10 +24,10 @@ Folders=graphic,graphic/header,graphic/source,gui,gui/header,gui/source,header,n
CommandLine=
UseCustomMakefile=0
CustomMakefile=
-IncludeVersionInfo=1
+IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=0
-CompilerSettings=0010001001000001001001
+CompilerSettings=0010001001000001001101
[VersionInfo]
Major=0
@@ -2347,3 +2347,12 @@ Priority=1000
OverrideBuildCmd=0
BuildCmd=
+[Unit230]
+FileName=src\tmw.rc
+Folder=tmw
+Compile=1
+Link=0
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
diff --git a/src/tmw.rc b/src/tmw.rc
new file mode 100644
index 00000000..31411b61
--- /dev/null
+++ b/src/tmw.rc
@@ -0,0 +1,34 @@
+#include <windows.h> // include for version info constants
+
+
+A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "data/icons/tmw-icon.ico"
+
+//
+// TO CHANGE VERSION INFORMATION, EDIT PROJECT OPTIONS...
+//
+1 VERSIONINFO
+FILEVERSION 0,0,20,0
+PRODUCTVERSION 0,0,20,0
+FILETYPE VFT_APP
+{
+ BLOCK "StringFileInfo"
+ {
+ BLOCK "040904E4"
+ {
+ VALUE "CompanyName", "The Mana World Development Team"
+ VALUE "FileVersion", "0.0.20"
+ 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.20"
+ }
+ }
+ BLOCK "VarFileInfo"
+ {
+ VALUE "Translation", 0x0409, 1252
+ }
+}
+
diff --git a/tmw.cbp b/tmw.cbp
index c2f97452..32064f45 100644
--- a/tmw.cbp
+++ b/tmw.cbp
@@ -1227,6 +1227,11 @@
<Option link="0"/>
<Option target="default"/>
</Unit>
+ <Unit filename="src\tmw.rc">
+ <Option compilerVar="WINDRES"/>
+ <Option objectName="src\tmw.res"/>
+ <Option target="default"/>
+ </Unit>
<Unit filename="src\utils\dtor.h">
<Option compilerVar=""/>
<Option compile="0"/>