mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-30 19:35:29 +00:00
CPlayerPed done
This commit is contained in:
parent
d1700b3257
commit
f307839a2b
12 changed files with 369 additions and 18 deletions
|
@ -28,8 +28,6 @@ char SaveFileNameJustSaved[260];
|
|||
int (&Slots)[SLOT_COUNT+1] = *(int(*)[SLOT_COUNT+1])*(uintptr*)0x72803C;
|
||||
CDate &CompileDateAndTime = *(CDate*)0x72BCB8;
|
||||
|
||||
C_PcSave &PcSaveHelper = *(C_PcSave*)0x8E2C60;
|
||||
|
||||
#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));
|
||||
|
||||
|
|
|
@ -34,5 +34,4 @@ extern int (&Slots)[SLOT_COUNT+1];
|
|||
|
||||
extern char SaveFileNameJustSaved[260]; // 8F2570
|
||||
|
||||
const char TopLineEmptyFile[] = "THIS FILE IS NOT VALID YET";
|
||||
extern C_PcSave &PcSaveHelper;
|
||||
const char TopLineEmptyFile[] = "THIS FILE IS NOT VALID YET";
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
const char* _psGetUserFilesFolder();
|
||||
|
||||
C_PcSave &PcSaveHelper = *(C_PcSave*)0x8E2C60;
|
||||
|
||||
void
|
||||
C_PcSave::SetSaveDirectory(const char *path)
|
||||
{
|
||||
|
|
|
@ -36,3 +36,5 @@ public:
|
|||
bool PcClassSaveRoutine(int32 a2, uint8 *data, uint32 size);
|
||||
static void SetSaveDirectory(const char *path);
|
||||
};
|
||||
|
||||
extern C_PcSave &PcSaveHelper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue