|
|
/* $Id$ */
|
|
|
|
|
|
/** @file cheat_gui.cpp GUI related to cheating. */
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
#include "openttd.h"
|
|
|
#include "command_func.h"
|
|
|
#include "cheat_func.h"
|
|
|
#include "player_base.h"
|
|
|
#include "player_func.h"
|
|
|
#include "company_base.h"
|
|
|
#include "company_func.h"
|
|
|
#include "gfx_func.h"
|
|
|
#include "date_func.h"
|
|
|
#include "saveload.h"
|
|
|
#include "window_gui.h"
|
|
|
#include "newgrf.h"
|
|
|
#include "settings_type.h"
|
|
|
#include "strings_func.h"
|
|
|
#include "window_func.h"
|
|
|
#include "rail_gui.h"
|
|
|
#include "gui.h"
|
|
|
#include "player_gui.h"
|
|
|
#include "company_gui.h"
|
|
|
#include "gamelog.h"
|
|
|
|
|
|
#include "table/strings.h"
|
|
|
#include "table/sprites.h"
|
|
|
|
|
|
|
|
|
/**
|
|
|
* The 'amount' to cheat with.
|
|
|
* This variable is semantically a constant value, but because the cheat
|
|
|
* code requires to be able to write to the variable it is not constified.
|
|
|
*/
|
|
|
static int32 _money_cheat_amount = 10000000;
|