Add method for whether calendar is frozen

This commit is contained in:
Jonathan G Rennison
2024-02-17 10:04:40 +00:00
parent 7938844d1d
commit 074447138c
3 changed files with 11 additions and 3 deletions

View File

@@ -195,6 +195,8 @@ struct CalTime : public DateDetail::BaseTime<struct CalendarTimeTag> {
return ConvertYMDToDate(ymd.year, ymd.month, ymd.day);
}
static bool IsCalendarFrozen(bool newgame = false);
/**
* Calculate the year of a given date.
* @param date The date to consider.