diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-11-28 22:43:38 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-12-16 22:28:32 +0100 |
commit | 850385465543a9bd589084ec2ac6b0693c481fea (patch) | |
tree | fa0d375d36e946caee2c4ebc6a8ecd4e35f33d5b /src/road_cmd.h | |
parent | d85348b1d1b9aa7099255eda7c1058f9749d1003 (diff) | |
download | openttd-850385465543a9bd589084ec2ac6b0693c481fea.tar.xz |
Codechange: Pass unpacked command arguments to command callbacks (except Script).
Diffstat (limited to 'src/road_cmd.h')
-rw-r--r-- | src/road_cmd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/road_cmd.h b/src/road_cmd.h index 3c142bdfe..35903dd7a 100644 --- a/src/road_cmd.h +++ b/src/road_cmd.h @@ -31,7 +31,7 @@ DEF_CMD_TRAIT(CMD_CONVERT_ROAD, CmdConvertRoad, 0, CommandCallback CcPlaySound_CONSTRUCTION_OTHER; CommandCallback CcBuildRoadTunnel; -CommandCallback CcRoadDepot; -CommandCallback CcRoadStop; +void CcRoadDepot(Commands cmd, const CommandCost &result, TileIndex tile, RoadType rt, DiagDirection dir); +void CcRoadStop(Commands cmd, const CommandCost &result, TileIndex tile, uint8 width, uint8 length, RoadStopType, bool is_drive_through, DiagDirection dir, RoadType, StationID, bool); #endif /* ROAD_CMD_H */ |