summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-29 09:54:47 +0000
committerrubidium <rubidium@openttd.org>2008-05-29 09:54:47 +0000
commit793ac8baa4b88508c21717abd7f44808f15eac98 (patch)
treecccf15d8a59031edb6cb85fccdfdf7895b781b06 /src/genworld.cpp
parent698a51a41eae0e2d0975a24e0a893381729f4377 (diff)
downloadopenttd-793ac8baa4b88508c21717abd7f44808f15eac98.tar.xz
(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r--src/genworld.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index a660abcfd..fab5c3c15 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -39,7 +39,7 @@ void StartupEconomy();
void StartupPlayers();
void StartupDisasters();
-void InitializeGame(int mode, uint size_x, uint size_y);
+void InitializeGame(uint size_x, uint size_y, bool reset_date);
/* Please only use this variable in genworld.h and genworld.c and
* nowhere else. For speed improvements we need it to be global, but
@@ -253,7 +253,7 @@ void HandleGeneratingWorldAbortion()
* @param size_x The X-size of the map.
* @param size_y The Y-size of the map.
*/
-void GenerateWorld(int mode, uint size_x, uint size_y)
+void GenerateWorld(GenerateWorldMode mode, uint size_x, uint size_y)
{
if (_gw.active) return;
_gw.mode = mode;
@@ -279,7 +279,7 @@ void GenerateWorld(int mode, uint size_x, uint size_y)
GfxLoadSprites();
LoadStringWidthTable();
- InitializeGame(IG_NONE, _gw.size_x, _gw.size_y);
+ InitializeGame(_gw.size_x, _gw.size_y, false);
PrepareGenerateWorldProgress();
/* Re-init the windowing system */