mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Rename
This commit is contained in:
parent
49ace87e91
commit
1c67b2d8af
@ -199,10 +199,10 @@ MxResult LegoGameState::Save(MxULong p_slot)
|
||||
goto done;
|
||||
}
|
||||
|
||||
WriteScalar(&fileStream, 0x1000c);
|
||||
WriteScalar(&fileStream, m_unk0x24);
|
||||
WriteScalar(&fileStream, (MxU16) m_currentAct);
|
||||
WriteScalar(&fileStream, m_actorId);
|
||||
Write(&fileStream, 0x1000c);
|
||||
Write(&fileStream, m_unk0x24);
|
||||
Write(&fileStream, (MxU16) m_currentAct);
|
||||
Write(&fileStream, m_actorId);
|
||||
|
||||
for (i = 0; i < _countof(g_colorSaveData); i++) {
|
||||
if (WriteVariable(&fileStream, variableTable, g_colorSaveData[i].m_targetName) == FAILURE) {
|
||||
@ -228,7 +228,7 @@ MxResult LegoGameState::Save(MxULong p_slot)
|
||||
}
|
||||
}
|
||||
|
||||
WriteScalar(&fileStream, count);
|
||||
Write(&fileStream, count);
|
||||
|
||||
for (j = 0; j < m_stateCount; j++) {
|
||||
if (m_stateArray[j]->VTable0x14()) {
|
||||
@ -237,7 +237,7 @@ MxResult LegoGameState::Save(MxULong p_slot)
|
||||
}
|
||||
|
||||
area = m_unk0x42c;
|
||||
WriteScalar(&fileStream, (MxU16) area);
|
||||
Write(&fileStream, (MxU16) area);
|
||||
SerializeScoreHistory(2);
|
||||
m_isDirty = FALSE;
|
||||
|
||||
|
||||
@ -47,7 +47,7 @@ inline void Read(LegoStorage* p_storage, T* p_variable, LegoU32 p_size = sizeof(
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline void WriteScalar(LegoStorage* p_storage, T p_variable)
|
||||
inline void Write(LegoStorage* p_storage, T p_variable)
|
||||
{
|
||||
p_storage->Write(&p_variable, sizeof(p_variable));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user