summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-08-27 08:42:24 +0000
committerfrosch <frosch@openttd.org>2011-08-27 08:42:24 +0000
commitc6e29a5b8971e004d9b794fa2eaa928f0bcbbc38 (patch)
tree0f50c999bfe00a2301fa3b50c61baeafb1c4de41 /src/newgrf_commons.h
parentb642b4a881ef645842242d389ff90a1d8cfc7e61 (diff)
downloadopenttd-c6e29a5b8971e004d9b794fa2eaa928f0bcbbc38.tar.xz
(svn r22848) -Add: The missing bits in station variable 43.
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r--src/newgrf_commons.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h
index 77d62479e..ec669d907 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -21,6 +21,7 @@
#include "core/smallvec_type.hpp"
#include "command_type.h"
#include "direction_type.h"
+#include "company_type.h"
/** Context for tile accesses */
enum TileContext {
@@ -269,6 +270,7 @@ extern ObjectOverrideManager _object_mngr;
uint32 GetTerrainType(TileIndex tile, TileContext context = TCX_NORMAL);
TileIndex GetNearbyTile(byte parameter, TileIndex tile, bool signed_offsets = true, Axis axis = INVALID_AXIS);
uint32 GetNearbyTileInformation(TileIndex tile);
+uint32 GetCompanyInfo(CompanyID owner, const struct Livery *l = NULL);
CommandCost GetErrorMessageFromLocationCallbackResult(uint16 cb_res, uint32 grfid, StringID default_error);
/**