(svn r4822) -Feature: Station List View can now be sorted and filtered (by waiting cargo type and facilities)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user