summaryrefslogtreecommitdiffstats
path: root/src/save
diff options
context:
space:
mode:
authormajestic <majesticcoding@gmail.com>2020-08-19 20:11:19 +0200
committermajestic <majesticcoding@gmail.com>2020-08-20 18:44:26 +0200
commit03c90b7c4028d0db1e6eddf6c63c0842c136517a (patch)
tree46ad14e4b9ea9ee15c28cce255bbca5c8e589ad9 /src/save
parentupdate librw; fix txd.img bug (diff)
downloadre3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.gz
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.bz2
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.lz
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.xz
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.zst
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.zip
Diffstat (limited to 'src/save')
-rw-r--r--src/save/GenericGameStorage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp
index 4f69123b..90e7e122 100644
--- a/src/save/GenericGameStorage.cpp
+++ b/src/save/GenericGameStorage.cpp
@@ -38,6 +38,7 @@
#include "World.h"
#include "Zones.h"
#include "Timecycle.h"
+#include "Fluff.h"
#define BLOCK_COUNT 20
#define SIZE_OF_SIMPLEVARS 0xD4
@@ -226,6 +227,7 @@ GenericSave(int file)
WriteSaveDataBlock(CTheCarGenerators::SaveAllCarGenerators);
WriteSaveDataBlock(CParticleObject::SaveParticle);
WriteSaveDataBlock(cAudioScriptObject::SaveAllAudioScriptObjects);
+ WriteSaveDataBlock(CScriptPaths::Save);
WriteSaveDataBlock(CWorld::Players[CWorld::PlayerInFocus].SavePlayerInfo);
WriteSaveDataBlock(CStats::SaveStats);
WriteSaveDataBlock(CSetPieces::Save);
@@ -377,6 +379,8 @@ GenericLoad()
LoadSaveDataBlock();
ReadDataFromBlock("Loading AudioScript Objects \n", cAudioScriptObject::LoadAllAudioScriptObjects);
LoadSaveDataBlock();
+ ReadDataFromBlock("Loading ScriptPaths \n", CScriptPaths::Load);
+ LoadSaveDataBlock();
ReadDataFromBlock("Loading Player Info \n", CWorld::Players[CWorld::PlayerInFocus].LoadPlayerInfo);
LoadSaveDataBlock();
ReadDataFromBlock("Loading Stats \n", CStats::LoadStats);