Add AI/GS methods to get inflation factors

See: #415
This commit is contained in:
Jonathan G Rennison
2022-09-05 18:34:11 +01:00
parent 4049cb1407
commit 81291c4ffc
4 changed files with 76 additions and 0 deletions

View File

@@ -95,5 +95,20 @@
<div class="methodtext">Checks whether the given road type is buildable by towns.</div>
</div>
</div>
<h3>Inflation: GSInflation Class and AIInflation Class</h3>
<div class="indent">
<h4>Static Public Member Functions:</h4>
<div class="indent">
<div class="code">static int64 GetPriceFactor ()</div>
<div class="methodtext">Get the inflation factor for prices.</div>
<div class="methodtext">Returns the inflation factor as a fixed point value (16 bits).</div>
</div>
<div class="indent">
<div class="code">static int64 GetPaymentFactor ()</div>
<div class="methodtext">Get the inflation factor for payments.</div>
<div class="methodtext">Returns the inflation factor as a fixed point value (16 bits).</div>
</div>
</div>
</body>
</html>