mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-30 03:26:12 -05:00
971ac8b6e7
* LegoCacheSound and related STL * Changes/annotations --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
#ifndef LEGOUNKSAVEDATAWRITER_H
|
|
#define LEGOUNKSAVEDATAWRITER_H
|
|
|
|
#include "decomp.h"
|
|
#include "lego/sources/misc/legostorage.h"
|
|
#include "mxtypes.h"
|
|
|
|
class AutoROI;
|
|
class LegoROI;
|
|
|
|
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
|
|
};
|
|
|
|
// SIZE 0x08
|
|
class LegoUnkSaveDataWriter {
|
|
public:
|
|
LegoUnkSaveDataWriter();
|
|
|
|
MxResult WriteSaveData3(LegoStorage* p_stream);
|
|
AutoROI* FUN_10083500(char*, undefined4);
|
|
void FUN_100832a0();
|
|
void FUN_10083db0(LegoROI* p_roi);
|
|
void FUN_10083f10(LegoROI* p_roi);
|
|
|
|
private:
|
|
undefined m_unk0x00[0x08]; // 0x00
|
|
};
|
|
|
|
#endif // LEGOUNKSAVEDATAWRITER_H
|