OpenTTD Source  1.11.2
road_cmd.h
Go to the documentation of this file.
1 /*
2  * This file is part of OpenTTD.
3  * 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.
4  * 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.
5  * 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/>.
6  */
7 
10 #ifndef ROAD_CMD_H
11 #define ROAD_CMD_H
12 
13 #include "direction_type.h"
14 #include "road_type.h"
15 
16 void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt);
17 void UpdateNearestTownForRoadTiles(bool invalidate);
18 
19 #endif /* ROAD_CMD_H */
direction_type.h
UpdateNearestTownForRoadTiles
void UpdateNearestTownForRoadTiles(bool invalidate)
Updates cached nearest town for all road tiles.
Definition: road_cmd.cpp:1843
DrawRoadDepotSprite
void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt)
Draw the road depot sprite.
Definition: road_cmd.cpp:1800
DiagDirection
DiagDirection
Enumeration for diagonal directions.
Definition: direction_type.h:77
RoadType
RoadType
The different roadtypes we support.
Definition: road_type.h:22
road_type.h