diff options
author | Filippos Karapetis | 2010-05-23 10:28:03 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-05-23 10:28:03 +0000 |
commit | c874ff15a8e95acb85940ba5de0243b93077cc9d (patch) | |
tree | 7d3f79b70d745d775af70d665c10fabf28870dae /engines/sci/resource.h | |
parent | dd9bf70761f2de9771912984209422f1f63bd3e8 (diff) | |
download | scummvm-rg350-c874ff15a8e95acb85940ba5de0243b93077cc9d.tar.gz scummvm-rg350-c874ff15a8e95acb85940ba5de0243b93077cc9d.tar.bz2 scummvm-rg350-c874ff15a8e95acb85940ba5de0243b93077cc9d.zip |
Cleaned up the game ID code:
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID
- Moved the code which reads the internal Sierra ID inside the resource manager
- Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code
svn-id: r49152
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 48b5f095b1..befda072e0 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -273,6 +273,11 @@ public: // Detects, if standard font of current game includes extended characters (>0x80) bool detectFontExtended(); + /** + * Finds the internal Sierra ID of the current game from script 0 + */ + Common::String findSierraGameId(); + protected: // Maximum number of bytes to allow being allocated for resources // Note: maxMemory will not be interpreted as a hard limit, only as a restriction |