OpenTTD Source 20241224-master-gf74b0cf984
|
Properties of current genworld process. More...
#include <genworld.h>
Data Fields | |
bool | abort |
Whether to abort the thread ASAP. | |
GenWorldMode | mode |
What mode are we making a world in. | |
CompanyID | lc |
The local_company before generating. | |
uint | size_x |
X-size of the map. | |
uint | size_y |
Y-size of the map. | |
GWDoneProc * | proc |
Proc that is called when done (can be nullptr) | |
GWAbortProc * | abortp |
Proc that is called when aborting (can be nullptr) | |
Properties of current genworld process.
Definition at line 58 of file genworld.h.
bool GenWorldInfo::abort |
Whether to abort the thread ASAP.
Definition at line 59 of file genworld.h.
Referenced by AbortGeneratingWorld(), GenerateWorld(), and IsGeneratingWorldAborted().
GWAbortProc* GenWorldInfo::abortp |
Proc that is called when aborting (can be nullptr)
Definition at line 65 of file genworld.h.
Referenced by CleanupGeneration(), GenerateWorld(), GenerateWorldSetAbortCallback(), and HandleGeneratingWorldAbortion().
CompanyID GenWorldInfo::lc |
The local_company before generating.
Definition at line 61 of file genworld.h.
Referenced by _GenerateWorld(), and GenerateWorld().
GenWorldMode GenWorldInfo::mode |
What mode are we making a world in.
Definition at line 60 of file genworld.h.
Referenced by _GenerateWorld(), and GenerateWorld().
GWDoneProc* GenWorldInfo::proc |
Proc that is called when done (can be nullptr)
Definition at line 64 of file genworld.h.
Referenced by _GenerateWorld(), CleanupGeneration(), and GenerateWorldSetCallback().
uint GenWorldInfo::size_x |
uint GenWorldInfo::size_y |