Improve BETA10 stack, LEGO1 now at 91

This commit is contained in:
jonschz 2025-01-24 13:15:27 +01:00
parent 90c707650a
commit aaee45e0fd
2 changed files with 3 additions and 6 deletions

View File

@ -93,7 +93,7 @@ MxLong HistoryBook::Notify(MxParam& p_param)
// FUNCTION: BETA10 0x1002b9b9
void HistoryBook::ReadyWorld()
{
undefined4 dummy1, dummy2, dummy3;
undefined2 dummy1 = 0x90, dummy2 = 0x79, dummy3 = 0xc8;//, dummy4 = 0x17, dummy5 = 0x1b;
LegoWorld::ReadyWorld();
GameState()->m_history.WriteScoreHistory();
@ -147,16 +147,13 @@ void HistoryBook::ReadyWorld()
}
}
}
scoreState++;
scoreboxX += 5;
}
m_scores[i]->Enable(TRUE);
m_scores[i]->SetTickleState(MxPresenter::e_repeating);
m_scores[i]->SetPosition(scoreX + 0xa1, scoreY);
for (MxS16 letterIndex = 0; letterIndex < (MxS16) sizeOfArray(m_name[0]);) {
for (MxS16 letterIndex = 0; letterIndex < (MxS16) sizeOfArray(m_name[0]); letterIndex++, scoreX += 0x17) {
MxS16 letter = score->m_name.m_letters[letterIndex];
if (letter == -1) {
@ -171,7 +168,6 @@ void HistoryBook::ReadyWorld()
m_name[i][j]->Enable(TRUE);
m_name[i][j]->SetTickleState(MxPresenter::e_repeating);
m_name[i][j]->SetPosition(scoreX, scoreY);
scoreX += 0x17;
}
}

View File

@ -24,6 +24,7 @@ targets:
# these classes have been changed by hand to account for changes between LEGO1 and BETA10
- Act2Actor
- Act2Brick
- HistoryBook
- LegoAct2
- LegoCarBuild
- LegoCarBuildAnimPresenter