OpenTTD
road_cmd.h
Go to the documentation of this file.
1 /* $Id: road_cmd.h 18809 2010-01-15 16:41:15Z rubidium $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8  */
9 
12 #ifndef ROAD_CMD_H
13 #define ROAD_CMD_H
14 
15 #include "direction_type.h"
16 #include "road_type.h"
17 
18 void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt);
19 void UpdateNearestTownForRoadTiles(bool invalidate);
20 
21 #endif /* ROAD_CMD_H */
Different types to &#39;show&#39; directions.
Enums and other types related to roads.
void UpdateNearestTownForRoadTiles(bool invalidate)
Updates cached nearest town for all road tiles.
Definition: road_cmd.cpp:1439
RoadType
The different roadtypes we support.
Definition: road_type.h:22
void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt)
Draw the road depot sprite.
Definition: road_cmd.cpp:1425
DiagDirection
Enumeration for diagonal directions.