(svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header.

This commit is contained in:
rubidium 2007-02-26 18:25:03 +00:00
parent f3f966e616
commit aaeeef3d88
7 changed files with 7 additions and 4 deletions

View File

@ -35,4 +35,6 @@ static inline const Bridge *GetBridge(uint i)
return &_bridge[i];
}
void DrawBridgeMiddle(const TileInfo* ti);
#endif /* BRIDGE_H */

View File

@ -13,9 +13,6 @@
#include "tile.h"
void DrawBridgeMiddle(const TileInfo* ti); // XXX
static inline bool IsBridge(TileIndex t)
{
assert(IsTileType(t, MP_TUNNELBRIDGE));

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"