|
@@ -3,14 +3,12 @@
|
|
|
/** @file terraform_gui.cpp */
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
#include "openttd.h"
|
|
|
#include "bridge_map.h"
|
|
|
#include "clear_map.h"
|
|
|
#include "table/sprites.h"
|
|
|
#include "table/strings.h"
|
|
|
#include "player_func.h"
|
|
|
#include "player_base.h"
|
|
|
#include "gui.h"
|
|
|
#include "window_gui.h"
|
|
|
#include "viewport_func.h"
|
|
|
#include "gfx_func.h"
|
|
@@ -21,12 +19,15 @@
|
|
|
#include "sound_func.h"
|
|
|
#include "station.h"
|
|
|
#include "unmovable_map.h"
|
|
|
#include "textbuf_gui.h"
|
|
|
#include "genworld.h"
|
|
|
|
|
|
#include "table/sprites.h"
|
|
|
#include "table/strings.h"
|
|
|
|
|
|
void CcTerraform(bool success, TileIndex tile, uint32 p1, uint32 p2)
|
|
|
{
|
|
|
if (success) {
|
|
|
SndPlayTileFx(SND_1F_SPLAT, tile);
|
|
|
} else {
|
|
|
extern TileIndex _terraform_err_tile;
|