|
|
#include "stdafx.h"
|
|
|
#include "openttd.h"
|
|
|
#include "table/strings.h"
|
|
|
#include "window.h"
|
|
|
#include "gui.h"
|
|
|
#include "viewport.h"
|
|
|
#include "gfx.h"
|
|
|
#include "player.h"
|
|
|
#include "command.h"
|
|
|
#include "console.h"
|
|
|
#include "network.h"
|
|
|
#include "variables.h"
|
|
|
|
|
|
extern void SwitchMode(int new_mode);
|
|
|
|
|
|
#if 0
|
|
|
static void ShowSelectTutorialWindow() {}
|
|
|
#endif
|
|
|
|
|
|
static const Widget _select_game_widgets[] = {
|
|
|
{ WWT_CAPTION, RESIZE_NONE, 13, 0, 335, 0, 13, STR_0307_OPENTTD, STR_NULL},
|
|
|
{ WWT_IMGBTN, RESIZE_NONE, 13, 0, 335, 14, 196, STR_NULL, STR_NULL},
|
|
|
{ WWT_PUSHTXTBTN, RESIZE_NONE, 12, 10, 167, 22, 33, STR_0140_NEW_GAME, STR_02FB_START_A_NEW_GAME},
|
|
|
{ WWT_PUSHTXTBTN, RESIZE_NONE, 12, 168, 325, 22, 33, STR_0141_LOAD_GAME, STR_02FC_LOAD_A_SAVED_GAME},
|