diff options
author | Johannes Schickel | 2011-05-06 10:57:11 -0700 |
---|---|---|
committer | Johannes Schickel | 2011-05-06 10:57:11 -0700 |
commit | cf43b51f679bd0518520c4bc8f8111a28eb3af05 (patch) | |
tree | 765350aef1344647ff78b79dae82021d00745fd2 /dists | |
parent | 6fb232b9ff72cccf15df5faf5e1191b50957fec2 (diff) | |
parent | d41c32d363e985f4d5b64795bbccebe976bdd5c4 (diff) | |
download | scummvm-rg350-cf43b51f679bd0518520c4bc8f8111a28eb3af05.tar.gz scummvm-rg350-cf43b51f679bd0518520c4bc8f8111a28eb3af05.tar.bz2 scummvm-rg350-cf43b51f679bd0518520c4bc8f8111a28eb3af05.zip |
Merge pull request #31 from lordhoto/win-res
Embed engine/theme dists files into Win Executable.
Check the following link for further discussion:
https://github.com/scummvm/scummvm/pull/31
Diffstat (limited to 'dists')
-rw-r--r-- | dists/scummvm.rc | 44 | ||||
-rw-r--r-- | dists/scummvm.rc.in | 44 |
2 files changed, 82 insertions, 6 deletions
diff --git a/dists/scummvm.rc b/dists/scummvm.rc index 15dd04c0d9..109437305c 100644 --- a/dists/scummvm.rc +++ b/dists/scummvm.rc @@ -1,9 +1,47 @@ #include "winresrc.h" -#if defined (__MINGW32__) || defined(__CYGWIN32__) || defined(HAS_INCLUDE_SET) +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#define FILE 256 + IDI_ICON ICON DISCARDABLE "icons/scummvm.ico" -#else -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 VS_VERSION_INFO VERSIONINFO diff --git a/dists/scummvm.rc.in b/dists/scummvm.rc.in index a0fcf82dbb..c043ce1644 100644 --- a/dists/scummvm.rc.in +++ b/dists/scummvm.rc.in @@ -1,9 +1,47 @@ #include "winresrc.h" -#if defined (__MINGW32__) || defined(__CYGWIN32__) || defined(HAS_INCLUDE_SET) +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#define FILE 256 + IDI_ICON ICON DISCARDABLE "icons/scummvm.ico" -#else -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 VS_VERSION_INFO VERSIONINFO |