(svn r6242) -Codechange: made BuildVehicleList static as it is not used in any other files anymore

added window_type to arguments and used it to replace an if cascade with a switch case
This commit is contained in:
bjarni
2006-08-30 19:42:20 +00:00
parent 8f102334ff
commit 2a07ed9d46
2 changed files with 26 additions and 22 deletions

View File

@@ -17,7 +17,6 @@ void InitializeVehiclesGuiList(void);
void RebuildVehicleLists(void);
void ResortVehicleLists(void);
void BuildVehicleList(struct vehiclelist_d* vl, int type, PlayerID, StationID, uint16 order);
void SortVehicleList(struct vehiclelist_d *vl);
#define PERIODIC_RESORT_DAYS 10