diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-07-20 10:10:23 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-07-20 10:10:23 +0000 |
commit | b9d581cf5f7c1439f391d3f4906308f9e40d8012 (patch) | |
tree | 75dfaf6dc906754f38e430c750ede54d41b28ec1 | |
parent | 50277d3c253ecba4b15398264c7bf1f0408b3481 (diff) | |
download | mana-b9d581cf5f7c1439f391d3f4906308f9e40d8012.tar.gz mana-b9d581cf5f7c1439f391d3f4906308f9e40d8012.tar.bz2 mana-b9d581cf5f7c1439f391d3f4906308f9e40d8012.tar.xz mana-b9d581cf5f7c1439f391d3f4906308f9e40d8012.zip |
Added a resource script to let both Dev-Cpp and Code::Blocks share the same binary icon and version infos.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | The Mana World.dev | 17 | ||||
-rw-r--r-- | src/tmw.rc | 34 | ||||
-rw-r--r-- | tmw.cbp | 5 |
4 files changed, 55 insertions, 4 deletions
@@ -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
+ }
+}
+
@@ -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"/> |