diff options
author | rubidium <rubidium@openttd.org> | 2011-05-01 19:51:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-01 19:51:52 +0000 |
commit | 5a620d1c6592057b500f0889eef8949dc1e95e4b (patch) | |
tree | dabae6247490fdea860bea292bb8eee49ce46fe4 /src/road_cmd.cpp | |
parent | 1a515e6344028854c855671c19f49d8f869eb18f (diff) | |
download | openttd-5a620d1c6592057b500f0889eef8949dc1e95e4b.tar.xz |
(svn r22406) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/road_cmd.cpp')
-rw-r--r-- | src/road_cmd.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index 425d95c2e..26fc8eb2c 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -1299,6 +1299,13 @@ static void DrawTile_Road(TileInfo *ti) DrawBridgeMiddle(ti); } +/** + * Draw the road depot sprite. + * @param x The x offset to draw at. + * @param y The y offset to draw at. + * @param dir The direction the depot must be facing. + * @param rt The road type of the depot to draw. + */ void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt) { PaletteID palette = COMPANY_SPRITE_COLOUR(_local_company); |