mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-30 19:51:15 +00:00
fix legogamestate structure, documentation tweaks
This commit is contained in:
parent
79610d12ec
commit
cf9d6567c7
@ -168,7 +168,7 @@ class LegoGameState {
|
|||||||
void SetCurrentAct(Act p_currentAct);
|
void SetCurrentAct(Act p_currentAct);
|
||||||
void FindLoadedAct();
|
void FindLoadedAct();
|
||||||
|
|
||||||
public:
|
private:
|
||||||
void RegisterState(LegoState* p_state);
|
void RegisterState(LegoState* p_state);
|
||||||
MxResult WriteVariable(LegoStorage* p_storage, MxVariableTable* p_from, const char* p_variableName);
|
MxResult WriteVariable(LegoStorage* p_storage, MxVariableTable* p_from, const char* p_variableName);
|
||||||
MxResult WriteEndOfVariables(LegoStorage* p_storage);
|
MxResult WriteEndOfVariables(LegoStorage* p_storage);
|
||||||
@ -187,7 +187,10 @@ class LegoGameState {
|
|||||||
LegoFullScreenMovie* m_fullScreenMovie; // 0x20
|
LegoFullScreenMovie* m_fullScreenMovie; // 0x20
|
||||||
MxU16 m_unk0x24; // 0x24
|
MxU16 m_unk0x24; // 0x24
|
||||||
MxS16 m_playerCount; // 0x26
|
MxS16 m_playerCount; // 0x26
|
||||||
|
public:
|
||||||
|
// This member is accessed directly by foreign classes
|
||||||
Username m_players[9]; // 0x28
|
Username m_players[9]; // 0x28
|
||||||
|
private:
|
||||||
History m_history; // 0xa6
|
History m_history; // 0xa6
|
||||||
undefined2 m_unk0x41a; // 0x41a
|
undefined2 m_unk0x41a; // 0x41a
|
||||||
undefined4 m_unk0x41c; // 0x41c
|
undefined4 m_unk0x41c; // 0x41c
|
||||||
|
|||||||
@ -153,14 +153,14 @@ void RegistrationBook::ReadyWorld()
|
|||||||
m_checkmark[i]->Enable(TRUE);
|
m_checkmark[i]->Enable(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start building the player name using a two-dimensional array
|
// Start building the player names using a two-dimensional array
|
||||||
m_name[i][j] = m_alphabet[gameState->m_players[i].m_letters[j]]->Clone();
|
m_name[i][j] = m_alphabet[gameState->m_players[i].m_letters[j]]->Clone();
|
||||||
|
|
||||||
// Enable the presenter to actually show the letter
|
// Enable the presenter to actually show the letter in the grid
|
||||||
m_name[i][j]->Enable(TRUE);
|
m_name[i][j]->Enable(TRUE);
|
||||||
|
|
||||||
m_name[i][j]->SetTickleState(MxPresenter::e_repeating);
|
m_name[i][j]->SetTickleState(MxPresenter::e_repeating);
|
||||||
m_name[i][j]->SetPosition((23 * j + 343), 27 * i + 121);
|
m_name[i][j]->SetPosition(23 * j + 343, 27 * i + 121);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user