diff options
author | celestar <celestar@openttd.org> | 2006-05-11 10:33:58 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-05-11 10:33:58 +0000 |
commit | 48d991b8197db61c41ac35b3b08be85344612ba5 (patch) | |
tree | 95ea258355086eae6b3df6fc5bd9bee882e5a293 /station.h | |
parent | 151e79231d564cc66b381a50d4cb3116719499de (diff) | |
download | openttd-48d991b8197db61c41ac35b3b08be85344612ba5.tar.xz |
(svn r4822) -Feature: Station List View can now be sorted and filtered (by waiting cargo type and facilities)
Diffstat (limited to 'station.h')
-rw-r--r-- | station.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -8,6 +8,7 @@ #include "sprite.h" #include "tile.h" #include "newgrf_station.h" +#include "window.h" typedef struct GoodsEntry { uint16 waiting_acceptance; @@ -138,6 +139,10 @@ void UpdateAllStationVirtCoord(void); VARDEF SortStruct *_station_sort; +/* sorter stuff */ +void RebuildStationLists(void); +void ResortStationLists(void); + extern MemoryPool _station_pool; /** @@ -191,9 +196,6 @@ static inline uint16 GetRoadStopPoolSize(void) /* End of stuff for ROADSTOPS */ -VARDEF bool _station_sort_dirty[MAX_PLAYERS]; -VARDEF bool _global_station_sort_dirty; - void AfterLoadStations(void); void GetProductionAroundTiles(AcceptedCargo produced, TileIndex tile, int w, int h, int rad); void GetAcceptanceAroundTiles(AcceptedCargo accepts, TileIndex tile, int w, int h, int rad); |