diff options
-rw-r--r-- | devtools/create_supernova/create_supernova.cpp | 1 | ||||
-rw-r--r-- | devtools/create_supernova/img3-en.pbm | bin | 0 -> 38457 bytes | |||
-rw-r--r-- | devtools/create_supernova/img3-en.xcf | bin | 0 -> 95507 bytes | |||
-rw-r--r-- | engines/supernova/graphics.cpp | 20 |
4 files changed, 14 insertions, 7 deletions
diff --git a/devtools/create_supernova/create_supernova.cpp b/devtools/create_supernova/create_supernova.cpp index b9571e4644..72d478aae3 100644 --- a/devtools/create_supernova/create_supernova.cpp +++ b/devtools/create_supernova/create_supernova.cpp @@ -354,6 +354,7 @@ void writeMS2(File &outputFile) { // Other languages const char **l = &lang[0]; while(*l) { + writeImage(outputFile, "img3", *l); writeDatafile(outputFile, 15, *l, 2); writeDatafile(outputFile, 28, *l, 2); writeStrings(outputFile, *l, 2); diff --git a/devtools/create_supernova/img3-en.pbm b/devtools/create_supernova/img3-en.pbm Binary files differnew file mode 100644 index 0000000000..3d4a5d674d --- /dev/null +++ b/devtools/create_supernova/img3-en.pbm diff --git a/devtools/create_supernova/img3-en.xcf b/devtools/create_supernova/img3-en.xcf Binary files differnew file mode 100644 index 0000000000..1774d0b927 --- /dev/null +++ b/devtools/create_supernova/img3-en.xcf diff --git a/engines/supernova/graphics.cpp b/engines/supernova/graphics.cpp index e8b4ce1679..a9ef2e5bf7 100644 --- a/engines/supernova/graphics.cpp +++ b/engines/supernova/graphics.cpp @@ -93,13 +93,19 @@ bool MSNImage::init(int filenumber) { bool MSNImage::loadPbmFromEngineDataFile() { Common::String name; - if (_vm->_MSPart == 2) - return false; - if (_filenumber == 1) - name = "IMG1"; - else if (_filenumber == 2) - name = "IMG2"; - else + if (_vm->_MSPart == 2) { + if (_filenumber == 38) + name = "IMG3"; + else + return false; + } else if (_vm->_MSPart == 1) { + if (_filenumber == 1) + name = "IMG1"; + else if (_filenumber == 2) + name = "IMG2"; + else + return false; + } else return false; Common::SeekableReadStream *stream = _vm->getBlockFromDatFile(name); if (stream == nullptr) |