Types related to windows.
int32 Year
Type for the year, note: 0 based, i.e. starts at the year 0.
void ShowSetDateWindow(Window *parent, int window_number, Date initial_date, Year min_year, Year max_year, SetDateCallback *callback)
Create the new 'set date' window.
Data structure for an opened window.
void SetDateCallback(const Window *w, Date date)
Callback for when a date has been chosen.
Types related to the dates in OpenTTD.
int32 Date
The type to store our dates in.