--- a/main_gui.c Sat Jan 29 19:41:44 2005 +0000
+++ b/main_gui.c Sat Jan 29 19:45:14 2005 +0000
@@ -40,7 +40,7 @@
static byte _terraform_size = 1;
static byte _last_built_railtype;
-extern void GenerateWorld(int mode);
+extern void GenerateWorld(int mode, uint log_x, uint log_y);
extern void GenerateIndustries(void);
extern void GenerateTowns(void);
@@ -1081,7 +1081,7 @@
_random_seeds[0][0] = InteractiveRandom();
_random_seeds[0][1] = InteractiveRandom();
- GenerateWorld(1);
+ GenerateWorld(1, _patches.map_x, _patches.map_y);
MarkWholeScreenDirty();
}
@@ -2389,14 +2389,14 @@
switch(_game_mode) {
case GM_MENU:
w = AllocateWindow(0, 0, width, height, MainWindowWndProc, 0, NULL);
- AssignWindowViewport(w, 0, 0, width, height, 0x8080, 0);
+ AssignWindowViewport(w, 0, 0, width, height, TILE_XY(32, 32), 0);
// w = AllocateWindowDesc(&_toolb_intro_desc);
// w->flags4 &= ~WF_WHITE_BORDER_MASK;
ShowSelectGameWindow();
break;
case GM_NORMAL:
w = AllocateWindow(0, 0, width, height, MainWindowWndProc, 0, NULL);
- AssignWindowViewport(w, 0, 0, width, height, 0x8080, 0);
+ AssignWindowViewport(w, 0, 0, width, height, TILE_XY(32, 32), 0);
ShowVitalWindows();