mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-04 06:24:09 +00:00
stable CScriptPaths
This commit is contained in:
parent
895055a3d1
commit
03c90b7c40
6 changed files with 250 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue