2023-10-12 12:18:24 -04:00
|
|
|
#ifndef LEGOUNKSAVEDATAWRITER_H
|
|
|
|
#define LEGOUNKSAVEDATAWRITER_H
|
|
|
|
|
|
|
|
#include "decomp.h"
|
2024-01-24 12:12:57 -05:00
|
|
|
#include "lego/sources/misc/legostorage.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "mxtypes.h"
|
2023-10-12 12:18:24 -04:00
|
|
|
|
2024-01-16 14:33:03 -05:00
|
|
|
class LegoROI;
|
2023-10-12 12:18:24 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
struct LegoSaveDataEntry3 {
|
|
|
|
char* m_name;
|
|
|
|
void* m_unk0x04;
|
|
|
|
void* m_unk0x08;
|
|
|
|
MxS32 m_savePart1;
|
|
|
|
MxS32 m_savePart2;
|
|
|
|
MxU8 m_savePart3;
|
|
|
|
undefined4 m_unk0x18[6];
|
|
|
|
MxU8 m_frameOffsetInDwords; // 0x30
|
|
|
|
MxS32* m_pFrameData;
|
|
|
|
MxU8 m_currentFrame;
|
|
|
|
undefined4 m_unk0x3c[2];
|
|
|
|
MxU8 m_savePart5; // 0x44
|
|
|
|
undefined4 m_unk0x48[5];
|
|
|
|
MxU8 m_savePart6; // 0x5c
|
|
|
|
undefined4 m_unk0x60[11];
|
|
|
|
MxU8 m_savePart7; // 0x8c
|
|
|
|
undefined4 m_unk0x90[5];
|
|
|
|
MxU8 m_savePart8; // 0xa4
|
|
|
|
undefined4 m_unk0xa8[17];
|
|
|
|
MxU8 m_savePart9; // 0xec
|
|
|
|
undefined4 m_unk0xf0[5];
|
|
|
|
MxU8 m_savePart10; // 0x104
|
2023-10-12 12:18:24 -04:00
|
|
|
};
|
|
|
|
|
2024-02-10 20:52:16 -05:00
|
|
|
// SIZE 0x08
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoUnkSaveDataWriter {
|
2024-01-16 14:33:03 -05:00
|
|
|
public:
|
2024-02-10 20:52:16 -05:00
|
|
|
LegoUnkSaveDataWriter();
|
|
|
|
|
2024-01-24 12:12:57 -05:00
|
|
|
MxResult WriteSaveData3(LegoStorage* p_stream);
|
2024-02-17 10:07:34 -05:00
|
|
|
LegoROI* FUN_10083500(char*, undefined4);
|
2024-02-05 12:35:26 -05:00
|
|
|
void FUN_100832a0();
|
2024-01-16 14:33:03 -05:00
|
|
|
void FUN_10083db0(LegoROI* p_roi);
|
2024-02-13 18:34:14 -05:00
|
|
|
void FUN_10083f10(LegoROI* p_roi);
|
2024-02-10 20:52:16 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
undefined m_unk0x00[0x08]; // 0x00
|
2023-10-12 12:18:24 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOUNKSAVEDATAWRITER_H
|