equal
deleted
inserted
replaced
4806 |
4806 |
4807 void InitDepotWindowBlockSizes(); |
4807 void InitDepotWindowBlockSizes(); |
4808 |
4808 |
4809 static void AfterLoadGRFs() |
4809 static void AfterLoadGRFs() |
4810 { |
4810 { |
|
4811 /* Update the bitmasks for the vehicle lists */ |
|
4812 Player *p; |
|
4813 FOR_ALL_PLAYERS(p) { |
|
4814 p->avail_railtypes = GetPlayerRailtypes(p->index); |
|
4815 p->avail_roadtypes = GetPlayerRoadtypes(p->index); |
|
4816 } |
|
4817 |
4811 /* Pre-calculate all refit masks after loading GRF files. */ |
4818 /* Pre-calculate all refit masks after loading GRF files. */ |
4812 CalculateRefitMasks(); |
4819 CalculateRefitMasks(); |
4813 |
4820 |
4814 /* Set the block size in the depot windows based on vehicle sprite sizes */ |
4821 /* Set the block size in the depot windows based on vehicle sprite sizes */ |
4815 InitDepotWindowBlockSizes(); |
4822 InitDepotWindowBlockSizes(); |