equal
deleted
inserted
replaced
32 bool abort; //! Whether to abort the thread ASAP |
32 bool abort; //! Whether to abort the thread ASAP |
33 bool wait_for_draw; //! Are we waiting on a draw event |
33 bool wait_for_draw; //! Are we waiting on a draw event |
34 bool quit_thread; //! Do we want to quit the active thread |
34 bool quit_thread; //! Do we want to quit the active thread |
35 bool threaded; //! Whether we run _GenerateWorld threaded |
35 bool threaded; //! Whether we run _GenerateWorld threaded |
36 int mode; //! What mode are we making a world in |
36 int mode; //! What mode are we making a world in |
37 byte lp; //! The local_player before generating |
37 PlayerID lp; //! The local_player before generating |
38 uint size_x; //! X-size of the map |
38 uint size_x; //! X-size of the map |
39 uint size_y; //! Y-size of the map |
39 uint size_y; //! Y-size of the map |
40 gw_done_proc *proc; //! Proc that is called when done (can be NULL) |
40 gw_done_proc *proc; //! Proc that is called when done (can be NULL) |
41 gw_abort_proc *abortp; //! Proc that is called when aborting (can be NULL) |
41 gw_abort_proc *abortp; //! Proc that is called when aborting (can be NULL) |
42 OTTDThread *thread; //! The thread we are in (can be NULL) |
42 OTTDThread *thread; //! The thread we are in (can be NULL) |
82 void AbortGeneratingWorld(void); |
82 void AbortGeneratingWorld(void); |
83 bool IsGeneratingWorldAborted(void); |
83 bool IsGeneratingWorldAborted(void); |
84 void HandleGeneratingWorldAbortion(void); |
84 void HandleGeneratingWorldAbortion(void); |
85 |
85 |
86 /* genworld_gui.c */ |
86 /* genworld_gui.c */ |
87 void SetGeneratingWorldProgress(gwp_class class, uint total); |
87 void SetGeneratingWorldProgress(gwp_class cls, uint total); |
88 void IncreaseGeneratingWorldProgress(gwp_class class); |
88 void IncreaseGeneratingWorldProgress(gwp_class cls); |
89 void PrepareGenerateWorldProgress(void); |
89 void PrepareGenerateWorldProgress(void); |
90 void ShowGenerateWorldProgress(void); |
90 void ShowGenerateWorldProgress(void); |
91 void StartNewGameWithoutGUI(uint seed); |
91 void StartNewGameWithoutGUI(uint seed); |
92 void ShowCreateScenario(void); |
92 void ShowCreateScenario(void); |
93 |
93 |