Split date types into calendar and economy dates

See: 735abfe1
This commit is contained in:
Jonathan G Rennison
2024-02-13 21:34:09 +00:00
parent fad5ee56e7
commit 7ce06e22b8
141 changed files with 1325 additions and 1082 deletions

View File

@@ -276,7 +276,7 @@ public:
* The introduction at this date is furthermore limited by the
* #introduction_required_railtypes.
*/
Date introduction_date;
CalTime::Date introduction_date;
/**
* Bitmask of railtypes that are required for this railtype to be introduced
@@ -496,7 +496,7 @@ bool HasRailTypeAvail(const CompanyID company, const RailType railtype);
bool HasAnyRailTypesAvail(const CompanyID company);
bool ValParamRailType(const RailType rail);
RailTypes AddDateIntroducedRailTypes(RailTypes current, Date date);
RailTypes AddDateIntroducedRailTypes(RailTypes current, CalTime::Date date);
RailTypes GetCompanyRailTypes(CompanyID company, bool introduces = true);
RailTypes GetRailTypes(bool introduces);