aboutsummaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
authorCameron Cawley2018-11-13 18:48:54 +0000
committerDavid Turner2018-11-16 09:14:37 +0000
commit8c6f9e5116dc6f46e166d8a32f9a9b905ea8634c (patch)
tree8212c47cd101e98fadbc1f17baa319bfaf81f5ee /dists
parentcf1d0354fe399a21068a59d210becc0cbc162e8e (diff)
downloadscummvm-rg350-8c6f9e5116dc6f46e166d8a32f9a9b905ea8634c.tar.gz
scummvm-rg350-8c6f9e5116dc6f46e166d8a32f9a9b905ea8634c.tar.bz2
scummvm-rg350-8c6f9e5116dc6f46e166d8a32f9a9b905ea8634c.zip
WIN32: Retrieve the version information for the resource script from base/internal_version.h
Diffstat (limited to 'dists')
-rw-r--r--dists/scummvm.rc10
-rw-r--r--dists/scummvm.rc.in115
2 files changed, 6 insertions, 119 deletions
diff --git a/dists/scummvm.rc b/dists/scummvm.rc
index e7e0a927c1..9153c1676c 100644
--- a/dists/scummvm.rc
+++ b/dists/scummvm.rc
@@ -4,6 +4,8 @@
#include "config.h"
#endif
+#include "base/internal_version.h"
+
#define FILE 256
#define IDI_ICON 1001
#define IDI_COUNT 1002
@@ -79,8 +81,8 @@ pred.dic FILE "dists/pred.dic"
#endif
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,1,0,0
- PRODUCTVERSION 2,1,0,0
+ FILEVERSION SCUMMVM_VER_MAJOR,SCUMMVM_VER_MINOR,SCUMMVM_VER_PATCH,0
+ PRODUCTVERSION SCUMMVM_VER_MAJOR,SCUMMVM_VER_MINOR,SCUMMVM_VER_PATCH,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
@@ -98,13 +100,13 @@ BEGIN
VALUE "Comments", "Look! A three headed monkey (TM)! .. Nice use of the TM!\0"
VALUE "CompanyName", "scummvm.org\0"
VALUE "FileDescription", "http://www.scummvm.org/\0"
- VALUE "FileVersion", "2.1.0git\0"
+ VALUE "FileVersion", SCUMMVM_VERSION "\0"
VALUE "InternalName", "scummvm\0"
VALUE "LegalCopyright", "Copyright © 2001-2018 The ScummVM Team\0"
VALUE "LegalTrademarks", "'SCUMM', and all SCUMM games are a TM of LucasArts. Simon The Sorcerer is a TM of AdventureSoft. Beneath a Steel Sky and Broken Sword are a TM of Revolution. Flight of the Amazon Queen is a TM of John Passfield and Steve Stamatiadis. \0"
VALUE "OriginalFilename", "scummvm.exe\0"
VALUE "ProductName", "ScummVM\0"
- VALUE "ProductVersion", "2.1.0git\0"
+ VALUE "ProductVersion", SCUMMVM_VERSION "\0"
END
END
diff --git a/dists/scummvm.rc.in b/dists/scummvm.rc.in
deleted file mode 100644
index 3d5c21fa93..0000000000
--- a/dists/scummvm.rc.in
+++ /dev/null
@@ -1,115 +0,0 @@
-#include "winresrc.h"
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#define FILE 256
-#define IDI_ICON 1001
-#define IDI_COUNT 1002
-#define ID_GDF_XML __GDF_XML
-
-IDI_ICON ICON DISCARDABLE "icons/scummvm.ico"
-IDI_COUNT ICON DISCARDABLE "icons/count.ico"
-
-ID_GDF_XML DATA "dists/win32/scummvm.gdf.xml"
-
-scummclassic.zip FILE "gui/themes/scummclassic.zip"
-scummmodern.zip FILE "gui/themes/scummmodern.zip"
-#ifdef USE_TRANSLATION
-translations.dat FILE "gui/themes/translations.dat"
-#endif
-#ifdef USE_SDL_NET
-wwwroot.zip FILE "dists/networking/wwwroot.zip"
-#endif
-
-#if ENABLE_ACCESS == STATIC_PLUGIN
-access.dat FILE "dists/engine-data/access.dat"
-#endif
-#if ENABLE_CRYO == STATIC_PLUGIN
-cryo.dat FILE "dists/engine-data/cryo.dat"
-#endif
-#if ENABLE_DRASCULA == STATIC_PLUGIN
-drascula.dat FILE "dists/engine-data/drascula.dat"
-#endif
-#if ENABLE_HUGO == STATIC_PLUGIN
-hugo.dat FILE "dists/engine-data/hugo.dat"
-#endif
-#if ENABLE_KYRA == STATIC_PLUGIN
-kyra.dat FILE "dists/engine-data/kyra.dat"
-#endif
-#if ENABLE_LURE == STATIC_PLUGIN
-lure.dat FILE "dists/engine-data/lure.dat"
-#endif
-#if ENABLE_MORTEVIELLE == STATIC_PLUGIN
-mort.dat FILE "dists/engine-data/mort.dat"
-#endif
-#if ENABLE_NEVERHOOD == STATIC_PLUGIN
-neverhood.dat FILE "dists/engine-data/neverhood.dat"
-#endif
-#if ENABLE_QUEEN == STATIC_PLUGIN
-queen.tbl FILE "dists/engine-data/queen.tbl"
-#endif
-#if ENABLE_SKY == STATIC_PLUGIN
-sky.cpt FILE "dists/engine-data/sky.cpt"
-#endif
-#if ENABLE_SUPERNOVA == STATIC_PLUGIN
-supernova.dat FILE "dists/engine-data/supernova.dat"
-#endif
-#if ENABLE_TEENAGENT == STATIC_PLUGIN
-teenagent.dat FILE "dists/engine-data/teenagent.dat"
-#endif
-#if ENABLE_TITANIC == STATIC_PLUGIN
-titanic.dat FILE "dists/engine-data/titanic.dat"
-#endif
-#if ENABLE_TONY == STATIC_PLUGIN
-tony.dat FILE "dists/engine-data/tony.dat"
-#endif
-#if ENABLE_TOON == STATIC_PLUGIN
-toon.dat FILE "dists/engine-data/toon.dat"
-#endif
-#if ENABLE_WINTERMUTE == STATIC_PLUGIN
-wintermute.zip FILE "dists/engine-data/wintermute.zip"
-#endif
-#if ENABLE_XEEN == STATIC_PLUGIN
-xeen.ccs FILE "dists/engine-data/xeen.ccs"
-#endif
-#if ENABLE_AGI == STATIC_PLUGIN
-pred.dic FILE "dists/pred.dic"
-#endif
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION @VER_MAJOR@,@VER_MINOR@,@VER_PATCH@,0
- PRODUCTVERSION @VER_MAJOR@,@VER_MINOR@,@VER_PATCH@,0
- FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
-#ifdef _DEBUG
- FILEFLAGS VS_FF_DEBUG
-#else
- FILEFLAGS 0
-#endif
- FILEOS VOS_NT_WINDOWS32
- FILETYPE VFT_APP
- FILESUBTYPE VFT2_UNKNOWN
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904b0" // US English, Unicode
- BEGIN
- VALUE "Comments", "Look! A three headed monkey (TM)! .. Nice use of the TM!\0"
- VALUE "CompanyName", "scummvm.org\0"
- VALUE "FileDescription", "http://www.scummvm.org/\0"
- VALUE "FileVersion", "@VERSION@\0"
- VALUE "InternalName", "scummvm\0"
- VALUE "LegalCopyright", "Copyright © 2001-2018 The ScummVM Team\0"
- VALUE "LegalTrademarks", "'SCUMM', and all SCUMM games are a TM of LucasArts. Simon The Sorcerer is a TM of AdventureSoft. Beneath a Steel Sky and Broken Sword are a TM of Revolution. Flight of the Amazon Queen is a TM of John Passfield and Steve Stamatiadis. \0"
- VALUE "OriginalFilename", "scummvm.exe\0"
- VALUE "ProductName", "ScummVM\0"
- VALUE "ProductVersion", "@VERSION@\0"
- END
- END
-
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1200 // US English, Unicode
- END
-END