2023-06-30 14:34:39 -04:00
|
|
|
#include "legogamestate.h"
|
2023-07-03 13:25:37 -04:00
|
|
|
#include "legoomni.h"
|
2023-06-30 14:34:39 -04:00
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x10039550
|
|
|
|
LegoGameState::LegoGameState()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x10039720
|
|
|
|
LegoGameState::~LegoGameState()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x10039c60
|
2023-07-02 04:05:49 -04:00
|
|
|
MxResult LegoGameState::Load(MxULong)
|
2023-06-30 14:34:39 -04:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x10039980
|
2023-07-02 04:05:49 -04:00
|
|
|
MxResult LegoGameState::Save(MxULong p)
|
2023-06-30 14:34:39 -04:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1003a2e0
|
2023-07-02 05:07:11 -04:00
|
|
|
void LegoGameState::SerializePlayersInfo(MxS16 p)
|
2023-06-30 14:34:39 -04:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1003cdd0
|
2023-07-02 05:07:11 -04:00
|
|
|
void LegoGameState::SerializeScoreHistory(MxS16 p)
|
2023-06-30 14:34:39 -04:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x10039f00
|
2023-07-03 13:25:37 -04:00
|
|
|
void LegoGameState::SetSavePath(char *p_savePath)
|
2023-06-30 14:34:39 -04:00
|
|
|
{
|
2023-07-03 13:25:37 -04:00
|
|
|
if (m_savePath != NULL)
|
|
|
|
{
|
|
|
|
delete[] m_savePath;
|
|
|
|
}
|
|
|
|
if (p_savePath)
|
|
|
|
{
|
|
|
|
m_savePath = new char[strlen(p_savePath) + 1];
|
|
|
|
strcpy(m_savePath, p_savePath);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
m_savePath = NULL;
|
|
|
|
}
|
2023-06-30 14:34:39 -04:00
|
|
|
}
|