diff options
author | Nipun Garg | 2019-07-08 01:24:12 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:14 +0200 |
commit | 69303997aee1518b26eac27c60454bfb0633dc94 (patch) | |
tree | c05d109474a419fe1914ea6ded5d21408f2d4ef2 /engines/hdb | |
parent | 82fe644f543c8375b5cd901538511fc4e3c0f192 (diff) | |
download | scummvm-rg350-69303997aee1518b26eac27c60454bfb0633dc94.tar.gz scummvm-rg350-69303997aee1518b26eac27c60454bfb0633dc94.tar.bz2 scummvm-rg350-69303997aee1518b26eac27c60454bfb0633dc94.zip |
HDB: Unstub double reads and writes
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/gfx.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp index 84d3d2949c..191da100b9 100644 --- a/engines/hdb/gfx.cpp +++ b/engines/hdb/gfx.cpp @@ -151,11 +151,11 @@ void Gfx::save(Common::OutSaveFile *out) { out->writeByte(_snowInfo.active); for (i = 0; i < MAX_SNOW; i++) - warning("STUB: Save Double Value"); + out->writeDoubleLE(_snowInfo.x[i]); for (i = 0; i < MAX_SNOW; i++) - warning("STUB: Save Double Value"); + out->writeDoubleLE(_snowInfo.y[i]); for (i = 0; i < MAX_SNOW; i++) - warning("STUB: Save Double Value"); + out->writeDoubleLE(_snowInfo.yv[i]); for (i = 0; i < MAX_SNOW; i++) out->writeSint32LE(_snowInfo.xvindex[i]); } @@ -175,11 +175,11 @@ void Gfx::loadSaveFile(Common::InSaveFile *in) { _snowInfo.active = in->readByte(); for (i = 0; i < MAX_SNOW; i++) - warning("STUB: Load Double Value"); + _snowInfo.x[i] = in->readDoubleLE(); for (i = 0; i < MAX_SNOW; i++) - warning("STUB: Load Double Value"); + _snowInfo.y[i] = in->readDoubleLE(); for (i = 0; i < MAX_SNOW; i++) - warning("STUB: Load Double Value"); + _snowInfo.yv[i] = in->readDoubleLE(); for (i = 0; i < MAX_SNOW; i++) _snowInfo.xvindex[i] = in->readSint32LE(); |