Home
last modified time | relevance | path

Searched refs:money32 (Results 1 – 25 of 88) sorted by relevance

1234

/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/rct2/
H A DRCT2.h359 money32 cost; // 0x02
451 money32 CompanyValue;
883 money32 initial_cash;
884 money32 current_loan;
939 money32 maximum_loan;
946 money32 objective_currency;
956 money32 current_profit;
965 money32 park_value;
974 money32 company_value;
988 money32 historical_profit;
[all …]
H A DS6Exporter.h62 static uint32_t GetLoanHash(money32 initialCash, money32 bankLoan, uint32_t maxBankLoan);
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/actions/
H A DRideDemolishAction.h34 money32 MazeRemoveTrack(const CoordsXYZD& coords) const;
35 money32 DemolishTracks() const;
37 money32 GetRefurbishPrice(const Ride* ride) const;
38 money32 GetRefundPrice(const Ride* ride) const;
H A DRideDemolishAction.cpp126 money32 refundPrice = DemolishTracks(); in DemolishRide()
179 money32 RideDemolishAction::MazeRemoveTrack(const CoordsXYZD& coords) const in MazeRemoveTrack()
193 money32 RideDemolishAction::DemolishTracks() const in DemolishTracks()
195 money32 refundPrice = 0; in DemolishTracks()
244 money32 removePrice = MazeRemoveTrack({ location + off, dir }); in DemolishTracks()
282 money32 RideDemolishAction::GetRefurbishPrice(const Ride* ride) const in GetRefurbishPrice()
287 money32 RideDemolishAction::GetRefundPrice(const Ride* ride) const in GetRefundPrice()
H A DLandSetHeightAction.h34 money32 GetSmallSceneryRemovalCost() const;
39 money32 GetSurfaceHeightChangeCost(SurfaceElement* surfaceElement) const;
48 [[maybe_unused]] money32* price);
H A DLandSetHeightAction.cpp70 money32 sceneryRemovalCost = 0; in Query()
155 money32 cost = MONEY(0, 0); in Execute()
234 money32 LandSetHeightAction::GetSmallSceneryRemovalCost() const in GetSmallSceneryRemovalCost()
236 money32 cost{ 0 }; in GetSmallSceneryRemovalCost()
356 money32 LandSetHeightAction::GetSurfaceHeightChangeCost(SurfaceElement* surfaceElement) const in GetSurfaceHeightChangeCost()
358 money32 cost{ 0 }; in GetSurfaceHeightChangeCost()
384 [[maybe_unused]] money32* price) in map_set_land_height_clear_func()
H A DParkSetLoanAction.h17 money32 _value{ MONEY32_UNDEFINED };
21 ParkSetLoanAction(money32 value);
H A DSurfaceSetStyleAction.cpp101 money32 surfaceCost = 0; in Query()
102 money32 edgeCost = 0; in Query()
176 money32 surfaceCost = 0; in Execute()
177 money32 edgeCost = 0; in Execute()
H A DGameActionCompat.cpp32 money32 park_entrance_place_ghost(const CoordsXYZD& entranceLoc) in park_entrance_place_ghost()
50 void park_set_entrance_fee(money32 fee) in park_set_entrance_fee()
131 money32 maze_set_track( in maze_set_track()
H A DLandSmoothAction.h40 money32 SmoothLandRowByEdge(
43 money32 SmoothLandRowByCorner(
H A DSetCheatAction.h47 void SetMoney(money32 amount) const;
48 void AddMoney(money32 amount) const;
H A DScenarioSetSettingAction.cpp138 gLandPrice = std::clamp<money32>(_value, MONEY(5, 00), MONEY(200, 00)); in Execute()
141 gConstructionRightsPrice = std::clamp<money32>(_value, MONEY(5, 00), MONEY(200, 00)); in Execute()
187 gParkEntranceFee = std::clamp<money32>(_value, MONEY(0, 00), MAX_ENTRANCE_FEE); in Execute()
H A DClearAction.cpp71 money32 totalCost = 0; in QueryExecute()
114 money32 ClearAction::ClearSceneryFromTile(const CoordsXY& tilePos, bool executing) const in ClearSceneryFromTile()
118 money32 totalCost = 0; in ClearSceneryFromTile()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/scripting/bindings/world/
H A DScPark.hpp70 money32 landPrice_get() const;
71 void landPrice_set(money32 value);
73 money32 constructionRightsPrice_get() const;
74 void constructionRightsPrice_set(money32 value);
H A DScPark.cpp230 money32 ScPark::landPrice_get() const in landPrice_get()
234 void ScPark::landPrice_set(money32 value) in landPrice_set()
240 money32 ScPark::constructionRightsPrice_get() const in constructionRightsPrice_get()
244 void ScPark::constructionRightsPrice_set(money32 value) in constructionRightsPrice_set()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/rct1/
H A DRCT1.h659 money32 cash;
660 money32 loan;
706 money32 max_loan;
713 money32 scenario_objective_currency;
719 money32 total_expenditure;
720 money32 profit;
723 money32 park_value;
725 money32 completed_company_value;
727 money32 admission_total_income;
728 money32 company_value;
[all …]
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/management/
H A DFinance.cpp27 const money32 research_cost_table[RESEARCH_FUNDING_COUNT] = {
75 bool finance_check_affordability(money32 cost, uint32_t flags) in finance_check_affordability()
86 void finance_payment(money32 amount, ExpenditureType type) in finance_payment()
149 const money32 interest_to_pay = (current_loan * 5 * current_interest_rate) >> 14; in finance_pay_interest()
239 money32 current_profit = 0; in finance_update_daily_profit()
254 money32 current_loan = gBankLoan; in finance_update_daily_profit()
H A DFinance.h37 extern const money32 research_cost_table[RESEARCH_FUNDING_COUNT];
61 bool finance_check_affordability(money32 cost, uint32_t flags);
62 void finance_payment(money32 amount, ExpenditureType type);
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/
H A Dcommon.h91 using money32 = fixed32_1dp; variable
105 #define MONEY32_UNDEFINED (static_cast<money32>(0x80000000))
108 constexpr money64 ToMoney64(money32 value) in ToMoney64()
118 constexpr money32 ToMoney32(money64 value) in ToMoney32()
120 return value == MONEY64_UNDEFINED ? MONEY32_UNDEFINED : static_cast<money32>(value); in ToMoney32()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/
H A DConstructionClearance.h23 …C = int32_t (*)(TileElement** tile_element, const CoordsXY& coords, uint8_t flags, money32* price);
25 …nery_clear_func(TileElement** tile_element, const CoordsXY& coords, uint8_t flags, money32* price);
26 …nery_clear_func(TileElement** tile_element, const CoordsXY& coords, uint8_t flags, money32* price);
H A DConstructionClearance.cpp22 …TileElement** tile_element, const CoordsXY& coords, uint8_t flags, money32* price, bool is_scenery) in map_place_clear_func()
59 …enery_clear_func(TileElement** tile_element, const CoordsXY& coords, uint8_t flags, money32* price) in map_place_scenery_clear_func()
68 …enery_clear_func(TileElement** tile_element, const CoordsXY& coords, uint8_t flags, money32* price) in map_place_non_scenery_clear_func()
74 …** tileElementPtr, const CoordsXYRangedZ& pos, CLEAR_FUNC clearFunc, uint8_t flags, money32& price, in MapLoc68BABCShouldContinue()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/util/
H A DUtil.h68 money32 add_clamp_money32(money32 value, money32 value_to_add);
69 money32 add_clamp_money64(money64 value, money64 value_to_add);
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/network/
H A DNetworkPlayer.h31 money32 MoneySpent = MONEY(0, 0);
48 void AddMoneySpent(money32 cost);
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/localisation/
H A DLocalisation.h41 money32 string_to_money(const char* string_to_monetise);
42 void money_to_string(money32 amount, char* buffer_to_put_value_to, size_t buffer_len, bool forceDec…
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/peep/
H A DGuest.h285 money32 CashInPocket;
286 money32 CashSpent;
342 void SpendMoney(money16& peep_expend_type, money32 amount, ExpenditureType type);
343 void SpendMoney(money32 amount, ExpenditureType type);
353 bool DecideAndBuyItem(Ride* ride, ShopItem shopItem, money32 price);

1234