aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/files.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-11-17 15:13:52 +1100
committerPaul Gilbert2012-11-17 15:13:52 +1100
commit848dcbcf0993f7bb15d16db4d65daaa0d4ffaf82 (patch)
tree29e3ebd8d5ccf6991aa323031a7a0a90d46739e5 /engines/hopkins/files.h
parent60c46fe386ad5f927ceda75912af5bd8b5ed563c (diff)
downloadscummvm-rg350-848dcbcf0993f7bb15d16db4d65daaa0d4ffaf82.tar.gz
scummvm-rg350-848dcbcf0993f7bb15d16db4d65daaa0d4ffaf82.tar.bz2
scummvm-rg350-848dcbcf0993f7bb15d16db4d65daaa0d4ffaf82.zip
HOPKINS: Properly implemented CONSTRUIT_FICHIER for animations.
The game has separate folders for selected animations at different resolutions.
Diffstat (limited to 'engines/hopkins/files.h')
-rw-r--r--engines/hopkins/files.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/hopkins/files.h b/engines/hopkins/files.h
index d9df4341ca..e63e5370c8 100644
--- a/engines/hopkins/files.h
+++ b/engines/hopkins/files.h
@@ -33,6 +33,8 @@ namespace Hopkins {
class HopkinsEngine;
class FileManager {
+private:
+ bool TEST_REP(const Common::String &folder, const Common::String &file);
public:
HopkinsEngine *_vm;
public:
@@ -48,7 +50,14 @@ public:
int bload_it(Common::ReadStream &stream, void *buf, size_t nbytes);
void F_Censure();
int CONSTRUIT_SYSTEM(const Common::String &file);
- void CONSTRUIT_FICHIER(const Common::String &hop, const Common::String &file);
+
+ /**
+ * Construct a filename based on a suggested folder and filename.
+ * @param folder Folder to use. May be overriden for animations.
+ * @param file Filename
+ */
+ void CONSTRUIT_FICHIER(const Common::String &folder, const Common::String &file);
+
byte *LIBERE_FICHIER(byte *ptr);
byte *RECHERCHE_CAT(const Common::String &file, int a2);
Common::String CONSTRUIT_LINUX(const Common::String &file);