mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 17:32:45 +01:00
Codechange: explicitly initialise member variables of Windows
This commit is contained in:
@@ -24,11 +24,11 @@
|
||||
|
||||
/** Window to select a date graphically by using dropdowns */
|
||||
struct SetDateWindow : Window {
|
||||
SetDateCallback *callback; ///< Callback to call when a date has been selected
|
||||
void *callback_data; ///< Callback data pointer.
|
||||
TimerGameEconomy::YearMonthDay date; ///< The currently selected date
|
||||
TimerGameEconomy::Year min_year; ///< The minimum year in the year dropdown
|
||||
TimerGameEconomy::Year max_year; ///< The maximum year (inclusive) in the year dropdown
|
||||
SetDateCallback *callback = nullptr; ///< Callback to call when a date has been selected
|
||||
void *callback_data = nullptr; ///< Callback data pointer.
|
||||
TimerGameEconomy::YearMonthDay date{}; ///< The currently selected date
|
||||
TimerGameEconomy::Year min_year{}; ///< The minimum year in the year dropdown
|
||||
TimerGameEconomy::Year max_year{}; ///< The maximum year (inclusive) in the year dropdown
|
||||
|
||||
/**
|
||||
* Create the new 'set date' window
|
||||
|
||||
Reference in New Issue
Block a user