diff options
-rw-r--r-- | src/openttd.h | 2 | ||||
-rw-r--r-- | src/texteff.hpp | 2 | ||||
-rw-r--r-- | src/vehicle_func.h | 2 | ||||
-rw-r--r-- | src/vehicle_gui.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/openttd.h b/src/openttd.h index 6d6c670eb..884c472bc 100644 --- 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; diff --git a/src/texteff.hpp b/src/texteff.hpp index e05af98d2..4911d43f4 100644 --- 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. */ diff --git a/src/vehicle_func.h b/src/vehicle_func.h index 874e8910d..affd3948a 100644 --- a/src/vehicle_func.h +++ b/src/vehicle_func.h @@ -50,8 +50,6 @@ StringID VehicleInTheWayErrMsg(const Vehicle* v); 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); diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h index e62c67ddf..9c28d1b41 100644 --- a/src/vehicle_gui.h +++ b/src/vehicle_gui.h @@ -101,4 +101,6 @@ static inline uint GetVehicleListHeight(VehicleType type) /* Unified window procedure */ void ShowVehicleViewWindow(const Vehicle *v); +Vehicle *CheckClickOnVehicle(const ViewPort *vp, int x, int y); + #endif /* VEHICLE_GUI_H */ |