OpenTTD Source 20260218-master-g2123fca5ea
DisasterCreation Struct Reference

Initialisation function and time period to run the different disasters. More...

Data Fields

DisasterInitProc * init_proc
 The init function for this disaster.
TimerGameCalendar::Year min_year
 The first year this disaster will occur.
TimerGameCalendar::Year max_year
 The last year this disaster will occur.

Detailed Description

Initialisation function and time period to run the different disasters.

Definition at line 925 of file disaster_vehicle.cpp.

Field Documentation

◆ init_proc

DisasterInitProc* DisasterCreation::init_proc

The init function for this disaster.

Definition at line 926 of file disaster_vehicle.cpp.

◆ max_year

TimerGameCalendar::Year DisasterCreation::max_year

The last year this disaster will occur.

Definition at line 928 of file disaster_vehicle.cpp.

◆ min_year

TimerGameCalendar::Year DisasterCreation::min_year

The first year this disaster will occur.

Definition at line 927 of file disaster_vehicle.cpp.


The documentation for this struct was generated from the following file: