summaryrefslogtreecommitdiff
path: root/src/script/api/script_road.hpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 21:02:33 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 21:02:33 +0000
commit084f4e6aacc9b3ad8f6ac319a55027307cfa5f00 (patch)
tree604b1fc3becb05539705904ff59a465e2641ac54 /src/script/api/script_road.hpp
parent5858c534202ef45039293e3a6020993621cc55a8 (diff)
downloadopenttd-084f4e6aacc9b3ad8f6ac319a55027307cfa5f00.tar.xz
(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
Diffstat (limited to 'src/script/api/script_road.hpp')
-rw-r--r--src/script/api/script_road.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_road.hpp b/src/script/api/script_road.hpp
index c655ca51e..062a15ddf 100644
--- a/src/script/api/script_road.hpp
+++ b/src/script/api/script_road.hpp
@@ -265,8 +265,8 @@ public:
* @exception ScriptRoad::ERR_ROAD_WORKS_IN_PROGRESS
* @exception ScriptError::ERR_VEHICLE_IN_THE_WAY
* @note Construction will fail if an obstacle is found between the start and end tiles.
+ * @game @note Building a piece of road (without CompanyMode) results in a piece of road owned by towns.
* @return Whether the road has been/can be build or not.
- * @api -game
*/
static bool BuildRoad(TileIndex start, TileIndex end);
@@ -317,8 +317,8 @@ public:
* @exception ScriptRoad::ERR_ROAD_WORKS_IN_PROGRESS
* @exception ScriptError::ERR_VEHICLE_IN_THE_WAY
* @note Construction will fail if an obstacle is found between the start and end tiles.
+ * @game @note Building a piece of road (without CompanyMode) results in a piece of road owned by towns.
* @return Whether the road has been/can be build or not.
- * @api -game
*/
static bool BuildRoadFull(TileIndex start, TileIndex end);