diff options
author | smatz <smatz@openttd.org> | 2009-05-22 15:13:50 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-05-22 15:13:50 +0000 |
commit | 62a7948af0ca9eb3b190a54918201e1075edcbbc (patch) | |
tree | 27a79b7850682cd43cac2462c3410ed8b567c4b2 /src/station_cmd.cpp | |
parent | 04723b240ebc7384954f73590be517ad2a47ce04 (diff) | |
download | openttd-62a7948af0ca9eb3b190a54918201e1075edcbbc.tar.xz |
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 4334dfe8c..fe2422c32 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -29,16 +29,11 @@ #include "date_func.h" #include "vehicle_func.h" #include "string_func.h" -#include "oldpool_func.h" #include "animated_tile_func.h" #include "elrail_func.h" #include "table/strings.h" -DEFINE_OLD_POOL_GENERIC(Station, Station) -DEFINE_OLD_POOL_GENERIC(RoadStop, RoadStop) - - /** * Check whether the given tile is a hangar. * @param t the tile to of whether it is a hangar. @@ -3200,17 +3195,6 @@ static CommandCost ClearTile_Station(TileIndex tile, DoCommandFlag flags) return CMD_ERROR; } -void InitializeStations() -{ - /* Clean the station pool and create 1 block in it */ - _Station_pool.CleanPool(); - _Station_pool.AddBlockToPool(); - - /* Clean the roadstop pool and create 1 block in it */ - _RoadStop_pool.CleanPool(); - _RoadStop_pool.AddBlockToPool(); -} - static CommandCost TerraformTile_Station(TileIndex tile, DoCommandFlag flags, uint z_new, Slope tileh_new) { if (_settings_game.construction.build_on_slopes && AutoslopeEnabled()) { |