summaryrefslogtreecommitdiffstats
path: root/src/save/GenericGameStorage.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-10-17 17:50:16 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-10-17 17:50:16 +0200
commit1195f3db7beb1b79f0c25aad69a11b58d59363f2 (patch)
treed0e9f21b3b3f3b20299116cac5fc59db564f8481 /src/save/GenericGameStorage.cpp
parentcranes done (diff)
downloadre3-1195f3db7beb1b79f0c25aad69a11b58d59363f2.tar
re3-1195f3db7beb1b79f0c25aad69a11b58d59363f2.tar.gz
re3-1195f3db7beb1b79f0c25aad69a11b58d59363f2.tar.bz2
re3-1195f3db7beb1b79f0c25aad69a11b58d59363f2.tar.lz
re3-1195f3db7beb1b79f0c25aad69a11b58d59363f2.tar.xz
re3-1195f3db7beb1b79f0c25aad69a11b58d59363f2.tar.zst
re3-1195f3db7beb1b79f0c25aad69a11b58d59363f2.zip
Diffstat (limited to '')
-rw-r--r--src/save/GenericGameStorage.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp
index 18eecd95..7e89afff 100644
--- a/src/save/GenericGameStorage.cpp
+++ b/src/save/GenericGameStorage.cpp
@@ -42,7 +42,7 @@
#include "Fluff.h"
#define BLOCK_COUNT 20
-#define SIZE_OF_SIMPLEVARS 0xFC
+#define SIZE_OF_SIMPLEVARS 0xE4
const uint32 SIZE_OF_ONE_GAME_IN_BYTES = 201729;
@@ -194,12 +194,6 @@ GenericSave(int file)
WriteDataToBufferPointer(buf, CWeather::NewWeatherType);
WriteDataToBufferPointer(buf, CWeather::ForcedWeatherType);
WriteDataToBufferPointer(buf, CWeather::InterpolationValue);
- WriteDataToBufferPointer(buf, CompileDateAndTime.m_nSecond);
- WriteDataToBufferPointer(buf, CompileDateAndTime.m_nMinute);
- WriteDataToBufferPointer(buf, CompileDateAndTime.m_nHour);
- WriteDataToBufferPointer(buf, CompileDateAndTime.m_nDay);
- WriteDataToBufferPointer(buf, CompileDateAndTime.m_nMonth);
- WriteDataToBufferPointer(buf, CompileDateAndTime.m_nYear);
WriteDataToBufferPointer(buf, CWeather::WeatherTypeInList);
#ifdef COMPATIBLE_SAVES
// converted to float for compatibility with original format
@@ -331,12 +325,6 @@ GenericLoad()
ReadDataFromBufferPointer(buf, CWeather::NewWeatherType);
ReadDataFromBufferPointer(buf, CWeather::ForcedWeatherType);
ReadDataFromBufferPointer(buf, CWeather::InterpolationValue);
- ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nSecond);
- ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nMinute);
- ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nHour);
- ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nDay);
- ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nMonth);
- ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nYear);
ReadDataFromBufferPointer(buf, CWeather::WeatherTypeInList);
#ifdef COMPATIBLE_SAVES
// converted to float for compatibility with original format