CRYOMNI3D: Add detection for the Atlantis: The Lost Tales demo

This commit is contained in:
Cameron Cawley 2021-10-02 14:49:11 +01:00 committed by Le Philousophe
parent f5ea77bed3
commit c75e3088fe
3 changed files with 18 additions and 1 deletions

View File

@ -132,7 +132,7 @@ Common::String CryOmni3DEngine::prepareFileName(const Common::String &baseName,
void CryOmni3DEngine::playHNM(const Common::String &filename, Audio::Mixer::SoundType soundType,
HNMCallback beforeDraw, HNMCallback afterDraw) {
const char *const extensions[] = { "hns", "hnm", nullptr };
const char *const extensions[] = { "hns", "hnm", "ubb", nullptr };
Common::String fname(prepareFileName(filename, extensions));
byte *currentPalette = new byte[256 * 3];

View File

@ -33,6 +33,7 @@
namespace CryOmni3D {
static const PlainGameDescriptor cryomni3DGames[] = {
{"atlantis", "Atlantis: The Lost Tales"},
{"versailles", "Versailles 1685"},
{0, 0}
};

View File

@ -552,6 +552,22 @@ static const CryOmni3DGameDescription gameDescriptions[] = {
0,
},
// Atlantis: The Lost Tales
// English DOS Non-interactive Demo
{
{
"atlantis",
"Demo",
AD_ENTRY1s("ATLANTIS.UBB", "f5b41b857678a61d7f9bd6eb41916ce5", 106611456),
Common::EN_ANY,
Common::kPlatformDOS,
ADGF_DEMO,
GUI_OPTIONS_HNM_PLAYER
},
GType_HNM_PLAYER,
0,
},
{ AD_TABLE_END_MARKER, 0, 0 }
};