mirror of https://github.com/OpenRCT2/OpenRCT2.git
Part of #21421: refactor FINANCE_GRAPH_SIZE
This commit is contained in:
parent
83b8629b9c
commit
ae975a8050
|
@ -186,7 +186,7 @@ void FinancePayRideUpkeep()
|
|||
void FinanceResetHistory()
|
||||
{
|
||||
auto& gameState = GetGameState();
|
||||
for (int32_t i = 0; i < FINANCE_GRAPH_SIZE; i++)
|
||||
for (uint8_t i = 0; i < FINANCE_GRAPH_SIZE; i++)
|
||||
{
|
||||
gameState.CashHistory[i] = kMoney64Undefined;
|
||||
gameState.WeeklyProfitHistory[i] = kMoney64Undefined;
|
||||
|
|
|
@ -32,7 +32,7 @@ enum class ExpenditureType : int32_t
|
|||
};
|
||||
|
||||
constexpr uint8_t kExpenditureTableMonthCount = 16;
|
||||
#define FINANCE_GRAPH_SIZE 128
|
||||
constexpr uint8_t FINANCE_GRAPH_SIZE = 128;
|
||||
|
||||
constexpr uint8_t MaxBankLoanInterestRate = 255;
|
||||
|
||||
|
|
Loading…
Reference in New Issue