diff options
author | Eugene Sandulenko | 2005-10-10 12:46:26 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-10-10 12:46:26 +0000 |
commit | 4158aa207034aaffedf2af959552c8d807f45b22 (patch) | |
tree | 6f1f3b5895b8bcbcc2920568c707995da114024f /saga/game.cpp | |
parent | abb9ee416f46ce514b9977b4ca255deec8da15b5 (diff) | |
download | scummvm-rg350-4158aa207034aaffedf2af959552c8d807f45b22.tar.gz scummvm-rg350-4158aa207034aaffedf2af959552c8d807f45b22.tar.bz2 scummvm-rg350-4158aa207034aaffedf2af959552c8d807f45b22.zip |
First attempt to run DOS ITE demo
svn-id: r19000
Diffstat (limited to 'saga/game.cpp')
-rw-r--r-- | saga/game.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/saga/game.cpp b/saga/game.cpp index c6376633bb..165907b336 100644 --- a/saga/game.cpp +++ b/saga/game.cpp @@ -199,10 +199,24 @@ static GameResourceDescription ITE_Resources = { RID_ITE_ACTOR_NAMES }; +static GameResourceDescription ITEDemo_Resources = { + 318, // Scene lookup table RN + 146, // Script lookup table RN + 2, + 3, + 3, // FIXME: should be 4 but it is an empty resource. + // Proper fix would be not load options panel when demo is running + 5, + 6, + 80, + 8, + 9 +}; + // Inherit the Earth - DOS Demo version static GameFileDescription ITEDEMO_GameFiles[] = { {"ite.rsc", GAME_RESOURCEFILE}, - {"ite.dmo", GAME_DEMOFILE}, + //{"ite.dmo", GAME_DEMOFILE}, {"scripts.rsc", GAME_SCRIPTFILE}, {"voices.rsc", GAME_SOUNDFILE | GAME_VOICEFILE} }; @@ -860,7 +874,7 @@ static GameDescription gameDescriptions[] = { "Inherit the Earth (DOS Demo)", // Game title &ITE_DisplayInfo, ITE_DEFAULT_SCENE, // Starting scene number - &ITE_Resources, + &ITEDemo_Resources, ARRAYSIZE(ITEDEMO_GameFiles), // Game datafiles ITEDEMO_GameFiles, ARRAYSIZE(ITEDEMO_GameFonts), |