diff options
| author | Filippos Karapetis | 2009-02-18 22:20:28 +0000 |
|---|---|---|
| committer | Filippos Karapetis | 2009-02-18 22:20:28 +0000 |
| commit | 7e5dba8940166dc737e90d7570749813e1c2f802 (patch) | |
| tree | 0beb50609be569cc29af347b0f3e92876124d2b1 /engines/sci/include | |
| parent | 7d73e8ccc4d014a582c72f9877a95d8005fc7c20 (diff) | |
| download | scummvm-rg350-7e5dba8940166dc737e90d7570749813e1c2f802.tar.gz scummvm-rg350-7e5dba8940166dc737e90d7570749813e1c2f802.tar.bz2 scummvm-rg350-7e5dba8940166dc737e90d7570749813e1c2f802.zip | |
Readded the code which reads the version from the original executable to the fallback detector (still very hackish...). This is probably the only known way currently to determine the version used by each game variant and add appropriate game flags
svn-id: r38509
Diffstat (limited to 'engines/sci/include')
| -rw-r--r-- | engines/sci/include/versions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/include/versions.h b/engines/sci/include/versions.h index c18840598a..15c7e332e9 100644 --- a/engines/sci/include/versions.h +++ b/engines/sci/include/versions.h @@ -147,4 +147,10 @@ version_parse(const char *vn, sci_version_t *result); ** (sci_version_t) *result: The resulting version number on success */ +int +version_detect_from_executable(char *filename); +/* Try to detect version from Sierra executable in cwd +** Returns : (int) The version number detected, or 0 if we weren't successful +*/ + #endif /* !_SCI_VERSIONS_H_ */ |
