mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 17:34:05 +00:00
100% match of many functions in the LegoGameState::Save codepath (#86)
* Only include decomps * One more function * Add offset to endOfVariables * Remove leftover header * Use undefined where applicable * Fixes, refactorings * Fixes * Fix calling convention * Added offset comment --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
40
LEGO1/legounksavedatawriter.h
Normal file
40
LEGO1/legounksavedatawriter.h
Normal file
@@ -0,0 +1,40 @@
|
||||
#ifndef LEGOUNKSAVEDATAWRITER_H
|
||||
#define LEGOUNKSAVEDATAWRITER_H
|
||||
|
||||
#include "mxtypes.h"
|
||||
#include "decomp.h"
|
||||
|
||||
class LegoStream;
|
||||
|
||||
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
|
||||
};
|
||||
|
||||
class LegoUnkSaveDataWriter
|
||||
{
|
||||
MxResult WriteSaveData3(LegoStream *p_stream);
|
||||
};
|
||||
|
||||
#endif // LEGOUNKSAVEDATAWRITER_H
|
||||
Reference in New Issue
Block a user