From b9d581cf5f7c1439f391d3f4906308f9e40d8012 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Thu, 20 Jul 2006 10:10:23 +0000 Subject: Added a resource script to let both Dev-Cpp and Code::Blocks share the same binary icon and version infos. --- ChangeLog | 3 +++ The Mana World.dev | 17 +++++++++++++---- src/tmw.rc | 34 ++++++++++++++++++++++++++++++++++ tmw.cbp | 5 +++++ 4 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 src/tmw.rc 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 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 // 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 @@