src/newgrf.cpp
changeset 8819 86c6ce890d61
parent 8794 ccb35d65645b
child 8868 822816ce1fcb
equal deleted inserted replaced
8818:d8d3812f8f35 8819:86c6ce890d61
  5553 	}
  5553 	}
  5554 }
  5554 }
  5555 
  5555 
  5556 void InitDepotWindowBlockSizes();
  5556 void InitDepotWindowBlockSizes();
  5557 
  5557 
  5558 extern void SortTownGeneratorNames();
  5558 extern void InitGRFTownGeneratorNames();
  5559 
  5559 
  5560 static void AfterLoadGRFs()
  5560 static void AfterLoadGRFs()
  5561 {
  5561 {
  5562 	/* Update the bitmasks for the vehicle lists */
  5562 	/* Update the bitmasks for the vehicle lists */
  5563 	Player *p;
  5563 	Player *p;
  5584 	/* Map cargo strings. This is a separate step because cargos are
  5584 	/* Map cargo strings. This is a separate step because cargos are
  5585 	 * loaded before strings... */
  5585 	 * loaded before strings... */
  5586 	MapNewCargoStrings();
  5586 	MapNewCargoStrings();
  5587 
  5587 
  5588 	/* Update the townname generators list */
  5588 	/* Update the townname generators list */
  5589 	SortTownGeneratorNames();
  5589 	InitGRFTownGeneratorNames();
  5590 }
  5590 }
  5591 
  5591 
  5592 void LoadNewGRF(uint load_index, uint file_index)
  5592 void LoadNewGRF(uint load_index, uint file_index)
  5593 {
  5593 {
  5594 	InitializeGRFSpecial();
  5594 	InitializeGRFSpecial();