mirror of https://github.com/OpenTTD/OpenTTD
(svn r12472) -Codechange: remove unneeded declaration of ViewPort and DrawPixelInfo.
parent
0f552a88a7
commit
ff3a401404
|
@ -10,8 +10,6 @@
|
||||||
|
|
||||||
// Forward declarations of structs.
|
// Forward declarations of structs.
|
||||||
struct Waypoint;
|
struct Waypoint;
|
||||||
struct ViewPort;
|
|
||||||
struct DrawPixelInfo;
|
|
||||||
typedef byte LandscapeID;
|
typedef byte LandscapeID;
|
||||||
typedef uint16 EngineID;
|
typedef uint16 EngineID;
|
||||||
typedef uint16 UnitID;
|
typedef uint16 UnitID;
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
#ifndef TEXTEFF_HPP
|
#ifndef TEXTEFF_HPP
|
||||||
#define TEXTEFF_HPP
|
#define TEXTEFF_HPP
|
||||||
|
|
||||||
|
#include "gfx_type.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Text effect modes.
|
* Text effect modes.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -50,8 +50,6 @@ StringID VehicleInTheWayErrMsg(const Vehicle* v);
|
||||||
Vehicle *FindVehicleBetween(TileIndex from, TileIndex to, byte z, bool without_crashed = false);
|
Vehicle *FindVehicleBetween(TileIndex from, TileIndex to, byte z, bool without_crashed = false);
|
||||||
Vehicle *GetVehicleTunnelBridge(TileIndex tile, TileIndex endtile);
|
Vehicle *GetVehicleTunnelBridge(TileIndex tile, TileIndex endtile);
|
||||||
|
|
||||||
Vehicle *CheckClickOnVehicle(const ViewPort *vp, int x, int y);
|
|
||||||
|
|
||||||
void DecreaseVehicleValue(Vehicle *v);
|
void DecreaseVehicleValue(Vehicle *v);
|
||||||
void CheckVehicleBreakdown(Vehicle *v);
|
void CheckVehicleBreakdown(Vehicle *v);
|
||||||
void AgeVehicle(Vehicle *v);
|
void AgeVehicle(Vehicle *v);
|
||||||
|
|
|
@ -101,4 +101,6 @@ static inline uint GetVehicleListHeight(VehicleType type)
|
||||||
/* Unified window procedure */
|
/* Unified window procedure */
|
||||||
void ShowVehicleViewWindow(const Vehicle *v);
|
void ShowVehicleViewWindow(const Vehicle *v);
|
||||||
|
|
||||||
|
Vehicle *CheckClickOnVehicle(const ViewPort *vp, int x, int y);
|
||||||
|
|
||||||
#endif /* VEHICLE_GUI_H */
|
#endif /* VEHICLE_GUI_H */
|
||||||
|
|
Loading…
Reference in New Issue