mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use named addresses
This commit is contained in:
parent
53a7b87414
commit
801c7f27d5
|
@ -190,7 +190,7 @@ void finance_init() {
|
|||
gTotalAdmissions = 0;
|
||||
gTotalIncomeFromAdmissions = 0;
|
||||
|
||||
RCT2_GLOBAL(0x013587D8, uint16) = 0x3F;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_SCENARIO_COMPLETED_BY, uint16) = 0x3F;
|
||||
|
||||
finance_update_loan_hash();
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ static void paint_motionsimulator_vehicle(sint8 offsetX, sint8 offsetY, uint8 di
|
|||
uint16 spriteIndex = ride->vehicles[0];
|
||||
if (spriteIndex != SPRITE_INDEX_NULL) {
|
||||
vehicle = GET_VEHICLE(spriteIndex);
|
||||
RCT2_GLOBAL(0x009DE570, uint8) = 2;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_PAINT_SETUP_CURRENT_TYPE, uint8) = 2;
|
||||
RCT2_GLOBAL(0x009DE578, rct_vehicle*) = vehicle;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -259,7 +259,7 @@ void scenario_begin()
|
|||
gScenarioCompletedCompanyValue = MONEY32_UNDEFINED;
|
||||
gTotalAdmissions = 0;
|
||||
gTotalIncomeFromAdmissions = 0;
|
||||
RCT2_GLOBAL(0x013587D8, uint16) = 63;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_SCENARIO_COMPLETED_BY, uint16) = 63;
|
||||
finance_update_loan_hash();
|
||||
park_reset_history();
|
||||
finance_reset_history();
|
||||
|
|
Loading…
Reference in New Issue