diff options
author | Eugene Sandulenko | 2009-01-01 15:06:43 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2009-01-01 15:06:43 +0000 |
commit | 696897b0583ad52ebc6f7666525277847619a8ce (patch) | |
tree | 5ac2be2991e94dce32c5bb7fdb0dcc4188221503 /engines/made/database.cpp | |
parent | 05d3633eb32ead8e11435b85a9db1ddaa1482fcb (diff) | |
download | scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.gz scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.bz2 scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.zip |
Whoa! Removing trailing spaces.
svn-id: r35648
Diffstat (limited to 'engines/made/database.cpp')
-rw-r--r-- | engines/made/database.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/made/database.cpp b/engines/made/database.cpp index 8de30e28e8..b317862951 100644 --- a/engines/made/database.cpp +++ b/engines/made/database.cpp @@ -122,10 +122,10 @@ int ObjectV2::load(Common::SeekableReadStream &source) { delete[] _objData; _freeData = true; - + byte header[4]; source.read(header, 4); - + uint16 type = READ_LE_UINT16(header); if (type == 0x7FFF) { _objSize = READ_LE_UINT16(header + 2); @@ -370,11 +370,11 @@ GameDatabaseV2::~GameDatabaseV2() { } void GameDatabaseV2::load(Common::SeekableReadStream &sourceS) { - + // TODO: Read/verifiy header - + sourceS.seek(0x1C); - + uint32 textOffs = sourceS.readUint16LE() * 512; uint16 objectCount = sourceS.readUint16LE(); uint16 varObjectCount = sourceS.readUint16LE(); @@ -409,7 +409,7 @@ void GameDatabaseV2::load(Common::SeekableReadStream &sourceS) { sourceS.skip(objSize % 2); _objects.push_back(obj); } - + } void GameDatabaseV2::reloadFromStream(Common::SeekableReadStream &sourceS) { @@ -700,7 +700,7 @@ int16 *GameDatabaseV3::findObjectProperty(int16 objectIndex, int16 propertyId, i } return NULL; - + } const char *GameDatabaseV3::getString(uint16 offset) { |