(svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings.

This commit is contained in:
peter1138
2006-12-04 14:27:54 +00:00
parent 292aeae137
commit 1ba264866a
8 changed files with 502 additions and 150 deletions

View File

@@ -35,6 +35,7 @@
#include "settings.h"
#include "date.h"
#include "vehicle_gui.h"
#include "newgrf_config.h"
#include "network_data.h"
#include "network_client.h"
@@ -152,7 +153,7 @@ static void MenuClickSettings(int index)
case 0: ShowGameOptions(); return;
case 1: ShowGameDifficulty(); return;
case 2: ShowPatchesSelection(); return;
case 3: ShowNewgrf(); return;
case 3: ShowNewGRFSettings(false, true, &_grfconfig); return;
case 5: _display_opt ^= DO_SHOW_TOWN_NAMES; break;
case 6: _display_opt ^= DO_SHOW_STATION_NAMES; break;
@@ -2450,3 +2451,4 @@ void InitializeMainGui(void)
_last_built_railtype = 0;
}