File diff r5115:7edde0aba70e → r5116:6ab72109f482
main_gui.c
Show inline comments
 
@@ -37,25 +37,25 @@
 
#include "vehicle_gui.h"
 

	
 
#include "network_data.h"
 
#include "network_client.h"
 
#include "network_server.h"
 
#include "network_gui.h"
 
#include "industry.h"
 

	
 
static int _rename_id;
 
static int _rename_what;
 

	
 
static byte _terraform_size = 1;
 
static RailType _last_built_railtype;
 
RailType _last_built_railtype;
 
static int _scengen_town_size = 2; // depress medium-sized towns per default
 

	
 
extern void GenerateIndustries(void);
 
extern bool GenerateTowns(void);
 

	
 

	
 
void HandleOnEditText(WindowEvent *e)
 
{
 
	const char *b = e->we.edittext.str;
 
	int id;
 

	
 
	_cmd_text = b;
 
@@ -2439,12 +2439,13 @@ void GameSizeChanged(void)
 
	_cur_resolution[0] = _screen.width;
 
	_cur_resolution[1] = _screen.height;
 
	RelocateAllWindows(_screen.width, _screen.height);
 
	ScreenSizeChanged();
 
	MarkWholeScreenDirty();
 
}
 

	
 
void InitializeMainGui(void)
 
{
 
	/* Clean old GUI values */
 
	_last_built_railtype = 0;
 
}