mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 13:23:46 +00:00
(svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header.
This commit is contained in:
parent
f3f966e616
commit
aaeeef3d88
@ -35,4 +35,6 @@ static inline const Bridge *GetBridge(uint i)
|
||||
return &_bridge[i];
|
||||
}
|
||||
|
||||
void DrawBridgeMiddle(const TileInfo* ti);
|
||||
|
||||
#endif /* BRIDGE_H */
|
||||
|
@ -13,9 +13,6 @@
|
||||
#include "tile.h"
|
||||
|
||||
|
||||
void DrawBridgeMiddle(const TileInfo* ti); // XXX
|
||||
|
||||
|
||||
static inline bool IsBridge(TileIndex t)
|
||||
{
|
||||
assert(IsTileType(t, MP_TUNNELBRIDGE));
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "command.h"
|
||||
#include "tunnel_map.h"
|
||||
#include "bridge_map.h"
|
||||
#include "bridge.h"
|
||||
#include "variables.h"
|
||||
#include "table/sprites.h"
|
||||
#include "unmovable_map.h"
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "bridge_map.h"
|
||||
#include "bridge.h"
|
||||
#include "cmd_helper.h"
|
||||
#include "debug.h"
|
||||
#include "functions.h"
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "bridge_map.h"
|
||||
#include "bridge.h"
|
||||
#include "cmd_helper.h"
|
||||
#include "rail_map.h"
|
||||
#include "road_map.h"
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "bridge_map.h"
|
||||
#include "table/strings.h"
|
||||
#include "table/sprites.h"
|
||||
#include "functions.h"
|
||||
@ -20,6 +19,7 @@
|
||||
#include "variables.h"
|
||||
#include "table/unmovable_land.h"
|
||||
#include "genworld.h"
|
||||
#include "bridge.h"
|
||||
|
||||
/** Destroy a HQ.
|
||||
* During normal gameplay you can only implicitely destroy a HQ when you are
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "bridge_map.h"
|
||||
#include "bridge.h"
|
||||
#include "cmd_helper.h"
|
||||
#include "station_map.h"
|
||||
#include "table/sprites.h"
|
||||
|
Loading…
Reference in New Issue
Block a user