Store all settings in .INI

This commit is contained in:
erorcun 2021-01-23 15:59:38 +03:00
parent f85b5e99ed
commit 73f1340afb
14 changed files with 432 additions and 130 deletions

View file

@ -345,7 +345,11 @@ GenericLoad()
#endif
ReadDataFromBufferPointer(buf, CGame::currArea);
ReadDataFromBufferPointer(buf, CVehicle::bAllTaxisHaveNitro);
#ifdef LOAD_INI_SETTINGS
buf += align4bytes(sizeof(CPad::bInvertLook4Pad));
#else
ReadDataFromBufferPointer(buf, CPad::bInvertLook4Pad);
#endif
ReadDataFromBufferPointer(buf, CTimeCycle::m_ExtraColour);
ReadDataFromBufferPointer(buf, CTimeCycle::m_bExtraColourOn);
ReadDataFromBufferPointer(buf, CTimeCycle::m_ExtraColourInter);