comparison src/script/api/script_rail.hpp @ 19968:0dba7f49118c draft

(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
author planetmaker <planetmaker@openttd.org>
date Tue, 08 Jan 2013 22:46:42 +0000 (2013-01-08)
parents 364318792aae
children 2177d4fcd67f
comparison
equal deleted inserted replaced
19967:c2d0016cc9d6 19968:0dba7f49118c
312 static bool BuildRailWaypoint(TileIndex tile); 312 static bool BuildRailWaypoint(TileIndex tile);
313 313
314 /** 314 /**
315 * Remove all rail waypoint pieces within a rectangle on the map. 315 * Remove all rail waypoint pieces within a rectangle on the map.
316 * @param tile One corner of the rectangle to clear. 316 * @param tile One corner of the rectangle to clear.
317 * @param tile2 The oppposite corner. 317 * @param tile2 The opposite corner.
318 * @param keep_rail Whether to keep the rail after removal. 318 * @param keep_rail Whether to keep the rail after removal.
319 * @pre IsValidTile(tile). 319 * @pre IsValidTile(tile).
320 * @pre IsValidTile(tile2). 320 * @pre IsValidTile(tile2).
321 * @game @pre Valid ScriptCompanyMode active in scope. 321 * @game @pre Valid ScriptCompanyMode active in scope.
322 * @return Whether at least one tile has been/can be cleared or not. 322 * @return Whether at least one tile has been/can be cleared or not.
324 static bool RemoveRailWaypointTileRectangle(TileIndex tile, TileIndex tile2, bool keep_rail); 324 static bool RemoveRailWaypointTileRectangle(TileIndex tile, TileIndex tile2, bool keep_rail);
325 325
326 /** 326 /**
327 * Remove all rail station platform pieces within a rectangle on the map. 327 * Remove all rail station platform pieces within a rectangle on the map.
328 * @param tile One corner of the rectangle to clear. 328 * @param tile One corner of the rectangle to clear.
329 * @param tile2 The oppposite corner. 329 * @param tile2 The opposite corner.
330 * @param keep_rail Whether to keep the rail after removal. 330 * @param keep_rail Whether to keep the rail after removal.
331 * @pre IsValidTile(tile). 331 * @pre IsValidTile(tile).
332 * @pre IsValidTile(tile2). 332 * @pre IsValidTile(tile2).
333 * @game @pre Valid ScriptCompanyMode active in scope. 333 * @game @pre Valid ScriptCompanyMode active in scope.
334 * @return Whether at least one tile has been/can be cleared or not. 334 * @return Whether at least one tile has been/can be cleared or not.