|
@@ -39,12 +39,14 @@
|
|
|
#include "company_base.h"
|
|
|
#include "company_gui.h"
|
|
|
#include "newgrf_generic.h"
|
|
|
|
|
|
#include "table/strings.h"
|
|
|
|
|
|
#include "safeguards.h"
|
|
|
|
|
|
/**
|
|
|
* Describes from which directions a specific slope can be flooded (if the tile is floodable at all).
|
|
|
*/
|
|
|
static const uint8 _flood_from_dirs[] = {
|
|
|
(1 << DIR_NW) | (1 << DIR_SW) | (1 << DIR_SE) | (1 << DIR_NE), // SLOPE_FLAT
|
|
|
(1 << DIR_NE) | (1 << DIR_SE), // SLOPE_W
|