diff options
author | Johannes Schickel | 2011-04-22 00:29:18 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-05-05 20:22:37 +0200 |
commit | 297834017a56140d1a33a4ce642bc9f39f54cf28 (patch) | |
tree | 2c0738c18c00a4296f496347a366f975dc773030 /dists/scummvm.rc | |
parent | 16f1b51e2a98be9c48b51e55d7b73a8ddd0adede (diff) | |
download | scummvm-rg350-297834017a56140d1a33a4ce642bc9f39f54cf28.tar.gz scummvm-rg350-297834017a56140d1a33a4ce642bc9f39f54cf28.tar.bz2 scummvm-rg350-297834017a56140d1a33a4ce642bc9f39f54cf28.zip |
WIN32: Embed engine data files and theme files into executable.
This embeds all the engine data files from dists/engine-data into the
executable in case the engines using them are included statically.
Furthermore it includes the theme dist files in the executable.
Diffstat (limited to 'dists/scummvm.rc')
-rw-r--r-- | dists/scummvm.rc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dists/scummvm.rc b/dists/scummvm.rc index 15dd04c0d9..203f57aa46 100644 --- a/dists/scummvm.rc +++ b/dists/scummvm.rc @@ -1,7 +1,50 @@ #include "winresrc.h" +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#define FILE 256 + #if defined (__MINGW32__) || defined(__CYGWIN32__) || defined(HAS_INCLUDE_SET) IDI_ICON ICON DISCARDABLE "icons/scummvm.ico" + +scummmodern.zip FILE "gui/themes/scummmodern.zip" +#ifdef USE_TRANSLATION +translations.dat FILE "gui/themes/translations.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_M4 == STATIC_PLUGIN +m4.dat FILE "dists/engine-data/m4.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_TEENAGENT == STATIC_PLUGIN +teenagent.dat FILE "dists/engine-data/teenagent.dat" +#endif +#if ENABLE_TOON == STATIC_PLUGIN +toon.dat FILE "dists/engine-data/toon.dat" +#endif +#if ENABLE_AGI == STATIC_PLUGIN +pred.dic FILE "dists/pred.dic" +#endif + #else IDI_ICON ICON DISCARDABLE "../../icons/scummvm.ico" #endif |