[Scummvm-git-logs] scummvm master -> 4e9a17ec02cfb784c955654c0881e8e1a7ab2548

bluegr bluegr at gmail.com
Tue Nov 17 16:07:36 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
4e9a17ec02 STARTREK: Reduce scope of class member functions


Commit: 4e9a17ec02cfb784c955654c0881e8e1a7ab2548
    https://github.com/scummvm/scummvm/commit/4e9a17ec02cfb784c955654c0881e8e1a7ab2548
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2020-11-17T18:07:24+02:00

Commit Message:
STARTREK: Reduce scope of class member functions

Changed paths:
    engines/startrek/resource.h


diff --git a/engines/startrek/resource.h b/engines/startrek/resource.h
index a81f85f65a..c08e018afa 100644
--- a/engines/startrek/resource.h
+++ b/engines/startrek/resource.h
@@ -57,12 +57,9 @@ public:
 	Resource(Common::Platform platform, bool isDemo);
 	virtual ~Resource();
 
-	ResourceIndex getIndex(Common::String filename);
 	Common::List<ResourceIndex> searchIndex(Common::String filename);
 	Common::MemoryReadStreamEndian *loadFile(Common::String filename, int fileIndex = 0, bool errorOnNotFound = true);
-	Common::MemoryReadStreamEndian *loadSequentialFile(Common::String filename, int fileIndex = 0);
 	Common::MemoryReadStreamEndian *loadBitmapFile(Common::String baseName);
-	uint32 getSequentialFileOffset(uint32 offset, int fileIndex);
 
 	/**
 	 * TODO: Figure out what the extra parameters are, and if they're important.
@@ -81,7 +78,10 @@ public:
 
 private:
 	void readIndexFile();
+	ResourceIndex getIndex(Common::String filename);
 	ResourceIndex getIndexEntry(Common::SeekableReadStream *indexFile);
+	Common::MemoryReadStreamEndian *loadSequentialFile(Common::String filename, int fileIndex = 0);
+	uint32 getSequentialFileOffset(uint32 offset, int fileIndex);
 
 	//IWFile *_iwFile;
 	Common::MacResManager *_macResFork;




More information about the Scummvm-git-logs mailing list