Added multiple new open() methods to Common::File, which make it possible to use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName()

svn-id: r34696
This commit is contained in:
Max Horn 2008-09-30 09:12:02 +00:00
parent d4a76c026f
commit 7c0b2cfd27
4 changed files with 81 additions and 34 deletions

View file

@ -676,7 +676,7 @@ int ScummEngine::loadResource(int type, int idx) {
if (tag != _res->tags[type] && _game.heversion < 70) {
error("%s %d not in room %d at %d+%d in file %s",
_res->name[type], idx, roomNr,
_fileOffset, fileOffs, _fileHandle->name());
_fileOffset, fileOffs, _fileHandle->getName());
}
size = _fileHandle->readUint32BE();