mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-27 02:01:16 +00:00
fix naming convention
This commit is contained in:
parent
e0122bd9f6
commit
d2be8c9383
@ -271,18 +271,18 @@ void FUN_1003ccf0(MxU16*, LegoFileStream&)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1003cdd0
|
// FUNCTION: LEGO1 0x1003cdd0
|
||||||
void LegoGameState::SerializeScoreHistory(MxS16 m_flags)
|
void LegoGameState::SerializeScoreHistory(MxS16 p_flags)
|
||||||
{
|
{
|
||||||
LegoFileStream stream;
|
LegoFileStream stream;
|
||||||
MxString savePath(m_savePath);
|
MxString savePath(m_savePath);
|
||||||
savePath += "\\";
|
savePath += "\\";
|
||||||
savePath += g_historyGSI;
|
savePath += g_historyGSI;
|
||||||
|
|
||||||
if (m_flags == LegoStream::WriteBit) {
|
if (p_flags == LegoStream::WriteBit) {
|
||||||
WriteScoreHistory(&m_unk0xa6);
|
WriteScoreHistory(&m_unk0xa6);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stream.Open(savePath.GetData(), (LegoStream::OpenFlags) m_flags) == SUCCESS) {
|
if (stream.Open(savePath.GetData(), (LegoStream::OpenFlags) p_flags) == SUCCESS) {
|
||||||
FUN_1003ccf0(&m_unk0xa6, stream);
|
FUN_1003ccf0(&m_unk0xa6, stream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,7 +24,7 @@ class LegoGameState {
|
|||||||
__declspec(dllexport) MxResult Load(MxULong);
|
__declspec(dllexport) MxResult Load(MxULong);
|
||||||
__declspec(dllexport) MxResult Save(MxULong);
|
__declspec(dllexport) MxResult Save(MxULong);
|
||||||
__declspec(dllexport) void SerializePlayersInfo(MxS16);
|
__declspec(dllexport) void SerializePlayersInfo(MxS16);
|
||||||
__declspec(dllexport) void SerializeScoreHistory(MxS16 m_flags);
|
__declspec(dllexport) void SerializeScoreHistory(MxS16 p_flags);
|
||||||
__declspec(dllexport) void SetSavePath(char*);
|
__declspec(dllexport) void SetSavePath(char*);
|
||||||
|
|
||||||
LegoState* GetState(COMPAT_CONST char* p_stateName);
|
LegoState* GetState(COMPAT_CONST char* p_stateName);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user