Mercurial > hg > openttd
changeset 8773:fb8b9c0b7cd3 draft
(svn r12472) -Codechange: remove unneeded declaration of ViewPort and DrawPixelInfo.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Fri, 28 Mar 2008 16:38:18 +0000 |
parents | bc830867c893 |
children | 85f0d7e75eb7 |
files | src/openttd.h src/texteff.hpp src/vehicle_func.h src/vehicle_gui.h |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/openttd.h +++ b/src/openttd.h @@ -10,8 +10,6 @@ // Forward declarations of structs. struct Waypoint; -struct ViewPort; -struct DrawPixelInfo; typedef byte LandscapeID; typedef uint16 EngineID; typedef uint16 UnitID;
--- a/src/texteff.hpp +++ b/src/texteff.hpp @@ -3,6 +3,8 @@ #ifndef TEXTEFF_HPP #define TEXTEFF_HPP +#include "gfx_type.h" + /** * Text effect modes. */
--- a/src/vehicle_func.h +++ b/src/vehicle_func.h @@ -50,8 +50,6 @@ Vehicle *FindVehicleBetween(TileIndex from, TileIndex to, byte z, bool without_crashed = false); Vehicle *GetVehicleTunnelBridge(TileIndex tile, TileIndex endtile); -Vehicle *CheckClickOnVehicle(const ViewPort *vp, int x, int y); - void DecreaseVehicleValue(Vehicle *v); void CheckVehicleBreakdown(Vehicle *v); void AgeVehicle(Vehicle *v);