aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/gfx.cpp12
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();