summaryrefslogtreecommitdiffstats
path: root/src/save
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-04-09 01:52:38 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-04-09 01:52:38 +0200
commit37691701138c8a458bc8b41944745000d27a3b83 (patch)
treebcfad8fa942aef410f6a4ad066da7a63d8a49ed8 /src/save
parentFix target sprite size (diff)
downloadre3-37691701138c8a458bc8b41944745000d27a3b83.tar
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.gz
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.bz2
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.lz
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.xz
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.zst
re3-37691701138c8a458bc8b41944745000d27a3b83.zip
Diffstat (limited to 'src/save')
-rw-r--r--src/save/GenericGameStorage.cpp7
-rw-r--r--src/save/GenericGameStorage.h6
2 files changed, 13 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp
index d71b0c22..2545b9ab 100644
--- a/src/save/GenericGameStorage.cpp
+++ b/src/save/GenericGameStorage.cpp
@@ -48,6 +48,13 @@ char SaveFileNameJustSaved[260];
int (&Slots)[SLOT_COUNT+1] = *(int(*)[SLOT_COUNT+1])*(uintptr*)0x72803C;
CDate &CompileDateAndTime = *(CDate*)0x72BCB8;
+
+bool &b_FoundRecentSavedGameWantToLoad = *(bool*)0x95CDA8;
+bool &JustLoadedDontFadeInYet = *(bool*)0x95CDB4;
+bool &StillToFadeOut = *(bool*)0x95CD99;
+uint32 &TimeStartedCountingForFade = *(uint32*)0x9430EC;
+uint32 &TimeToStayFadedBeforeFadeOut = *(uint32*)0x611564;
+
#define ReadDataFromBufferPointer(buf, to) memcpy(&to, buf, sizeof(to)); buf += align4bytes(sizeof(to));
#define WriteDataToBufferPointer(buf, from) memcpy(buf, &from, sizeof(from)); buf += align4bytes(sizeof(from));
diff --git a/src/save/GenericGameStorage.h b/src/save/GenericGameStorage.h
index e22dfc7e..40d92f16 100644
--- a/src/save/GenericGameStorage.h
+++ b/src/save/GenericGameStorage.h
@@ -32,6 +32,12 @@ extern int &CheckSum;
extern enum eLevelName &m_LevelToLoad;
extern int (&Slots)[SLOT_COUNT+1];
+extern bool &b_FoundRecentSavedGameWantToLoad;
+extern bool &JustLoadedDontFadeInYet;
+extern bool &StillToFadeOut;
+extern uint32 &TimeStartedCountingForFade;
+extern uint32 &TimeToStayFadedBeforeFadeOut;
+
extern char SaveFileNameJustSaved[260]; // 8F2570
const char TopLineEmptyFile[] = "THIS FILE IS NOT VALID YET"; \ No newline at end of file