Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
RuleOptions.hpp File Reference
#include "RuleTypes.hpp"
#include <cstdint>
Include dependency graph for RuleOptions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::rules
 
namespace  monopoly::rules::options
 

Enumerations

enum class  monopoly::rules::options::SetupRule : std::uint8_t {
  monopoly::rules::options::HousesPerHotel = 0 , monopoly::rules::options::MaximumHouses , monopoly::rules::options::MaximumHotels , monopoly::rules::options::FreeParkingSeed ,
  monopoly::rules::options::InitialCash , monopoly::rules::options::PassingGoAmount , monopoly::rules::options::TaxRate , monopoly::rules::options::FlatTaxFee ,
  monopoly::rules::options::LuxuryTaxAmount , monopoly::rules::options::MaximumTurnsInJail , monopoly::rules::options::GetOutOfJailFee , monopoly::rules::options::HouseShortageLevel ,
  monopoly::rules::options::HotelShortageLevel , monopoly::rules::options::InterestRate , monopoly::rules::options::AuctionDelay , monopoly::rules::options::DealNPropertiesAtStartup ,
  monopoly::rules::options::EvenBuildRule , monopoly::rules::options::DoubleSalaryOnGo , monopoly::rules::options::FreeParkingPot , monopoly::rules::options::FuturesAndImmunities ,
  monopoly::rules::options::DealFreePropertiesAtStartup , monopoly::rules::options::Count
}
 

Functions

void monopoly::rules::options::setDefaults (GameOptions &options)
 
void monopoly::rules::options::setStandardMonopolyRules (GameOptions &options)
 
void monopoly::rules::options::setShortGameRules (GameOptions &options)
 
std::uint8_t monopoly::rules::options::setupRuleChoiceCount (SetupRule rule) noexcept
 
bool monopoly::rules::options::applySetupRuleChoice (GameOptions &options, SetupRule rule, std::uint8_t choice) noexcept
 
void monopoly::rules::options::validate (GameOptions &options)