mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-27 18:21:15 +00:00
Add stub ScoreStruct
This commit is contained in:
parent
8b800a9452
commit
272413ffaf
@ -262,13 +262,13 @@ void LegoGameState::RegisterState(LegoState* p_state)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x1003c870
|
// STUB: LEGO1 0x1003c870
|
||||||
void WriteScoreHistory(MxU16*)
|
void LegoGameState::ScoreStruct::WriteScoreHistory()
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x1003ccf0
|
// STUB: LEGO1 0x1003ccf0
|
||||||
void FUN_1003ccf0(MxU16*, LegoFileStream&)
|
void LegoGameState::ScoreStruct::FUN_1003ccf0(LegoFileStream&)
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
@ -282,11 +282,11 @@ void LegoGameState::SerializeScoreHistory(MxS16 p_flags)
|
|||||||
savePath += g_historyGSI;
|
savePath += g_historyGSI;
|
||||||
|
|
||||||
if (p_flags == LegoStream::WriteBit) {
|
if (p_flags == LegoStream::WriteBit) {
|
||||||
WriteScoreHistory(&m_unk0xa6);
|
m_unk0xa6.WriteScoreHistory();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stream.Open(savePath.GetData(), (LegoStream::OpenFlags) p_flags) == SUCCESS) {
|
if (stream.Open(savePath.GetData(), (LegoStream::OpenFlags) p_flags) == SUCCESS) {
|
||||||
FUN_1003ccf0(&m_unk0xa6, stream);
|
m_unk0xa6.FUN_1003ccf0(stream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -41,12 +41,19 @@ class LegoGameState {
|
|||||||
void SetSomeEnumState(undefined4 p_state);
|
void SetSomeEnumState(undefined4 p_state);
|
||||||
void FUN_1003ceb0();
|
void FUN_1003ceb0();
|
||||||
|
|
||||||
|
struct ScoreStruct {
|
||||||
|
void WriteScoreHistory();
|
||||||
|
void FUN_1003ccf0(LegoFileStream&);
|
||||||
|
|
||||||
|
MxU16 m_unk0x00;
|
||||||
|
undefined m_unk0x02[0x2c][20];
|
||||||
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void RegisterState(LegoState* p_state);
|
void RegisterState(LegoState* p_state);
|
||||||
MxResult WriteEndOfVariables(LegoStream* p_stream);
|
MxResult WriteEndOfVariables(LegoStream* p_stream);
|
||||||
void SetROIHandlerFunction();
|
void SetROIHandlerFunction();
|
||||||
|
|
||||||
private:
|
|
||||||
char* m_savePath; // 0x0
|
char* m_savePath; // 0x0
|
||||||
MxS16 m_stateCount; // 0x4
|
MxS16 m_stateCount; // 0x4
|
||||||
LegoState** m_stateArray; // 0x8
|
LegoState** m_stateArray; // 0x8
|
||||||
@ -58,8 +65,8 @@ class LegoGameState {
|
|||||||
LegoFullScreenMovie* m_fullScreenMovie; // 0x20
|
LegoFullScreenMovie* m_fullScreenMovie; // 0x20
|
||||||
MxU16 m_unk0x24; // 0x24
|
MxU16 m_unk0x24; // 0x24
|
||||||
undefined m_unk0x28[128]; // 0x28
|
undefined m_unk0x28[128]; // 0x28
|
||||||
MxU16 m_unk0xa6; // 0xa6
|
ScoreStruct m_unk0xa6; // 0xa6
|
||||||
undefined m_unk0xa9[890]; // 0xa9
|
undefined m_unk0x41a[10]; // 0x41a - might be part of the structure at 0xa6
|
||||||
undefined4 m_unk0x424; // 0x424
|
undefined4 m_unk0x424; // 0x424
|
||||||
undefined4 m_unk0x428; // 0x428
|
undefined4 m_unk0x428; // 0x428
|
||||||
undefined4 m_unk0x42c; // 0x42c
|
undefined4 m_unk0x42c; // 0x42c
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user