Implement remaining LegoGameState functions (#1172)

* Implement remaining LegoGameState functions

* Naming fixes

* Fix naming
This commit is contained in:
Christian Semmler
2024-11-27 15:42:05 -07:00
committed by GitHub
parent 106647e5af
commit d6796ad86a
5 changed files with 189 additions and 25 deletions

View File

@@ -139,7 +139,7 @@ void HistoryBook::ReadyWorld()
for (; scoreboxRow > 0; scoreboxRow--) {
for (MxS32 scoreBoxColumn = 0, scoreboxY = 1; scoreBoxColumn < 5; scoreBoxColumn++, scoreboxY += 5) {
SetColor(*scorebox, score->m_state[scoreState][scoreBoxColumn], scoreColors, scoreboxX, scoreboxY);
SetColor(*scorebox, score->m_scores[scoreState][scoreBoxColumn], scoreColors, scoreboxX, scoreboxY);
}
scoreState++;

View File

@@ -121,7 +121,7 @@ MxLong InfocenterDoor::HandleControl(LegoControlManagerNotificationParam& p_para
}
else {
MxDSAction action;
action.SetObjectId(503);
action.SetObjectId(InfodoorScript::c_iic007in_PlayWav);
action.SetAtomId(*g_infodoorScript);
BackgroundAudioManager()->LowerVolume();
Start(&action);
@@ -130,7 +130,7 @@ MxLong InfocenterDoor::HandleControl(LegoControlManagerNotificationParam& p_para
}
else {
MxDSAction action;
action.SetObjectId(500);
action.SetObjectId(InfodoorScript::c_iic037in_PlayWav);
action.SetAtomId(*g_infodoorScript);
BackgroundAudioManager()->LowerVolume();
Start(&action);