From 7191d474a463a2821ce8cdb1c89b5481416985a0 Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Mon, 27 Mar 2006 16:56:08 +0000 Subject: improve game detection: - start process speedup (remove already scanned files) - merge md5 & game files list svn-id: r21468 --- engines/saga/saga.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'engines/saga/saga.h') diff --git a/engines/saga/saga.h b/engines/saga/saga.h index e7637161fe..0ba23b4948 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -28,6 +28,7 @@ #include "base/engine.h" #include "common/stream.h" +#include "base/plugins.h" #include "saga/gfx.h" #include "saga/list.h" @@ -84,8 +85,8 @@ enum ERRORCODE { }; enum SAGAGameType { - GType_ITE, - GType_IHNM + GType_ITE = 0, + GType_IHNM = 1 }; enum GameObjectTypes { @@ -383,6 +384,7 @@ struct GameResourceDescription { struct GameFileDescription { const char *fileName; uint16 fileType; + const char *md5; }; struct GamePatchDescription { @@ -515,6 +517,8 @@ struct GameDescription { uint32 features; Common::Language language; Common::Platform platform; + + DetectedGame toDetectedGame(); }; struct SaveFileData { -- cgit v1.2.3