* Get GRFConfig for the default extra graphics. * @return Managed pointer to default extra GRFConfig. */
| 148 | * @return Managed pointer to default extra GRFConfig. |
| 149 | */ |
| 150 | static std::unique_ptr<GRFConfig> GetDefaultExtraGRFConfig() |
| 151 | { |
| 152 | auto gc = std::make_unique<GRFConfig>("OPENTTD.GRF"); |
| 153 | gc->palette |= GRFP_GRF_DOS; |
| 154 | FillGRFDetails(*gc, false, BASESET_DIR); |
| 155 | gc->flags.Reset(GRFConfigFlag::InitOnly); |
| 156 | return gc; |
| 157 | } |
| 158 | |
| 159 | /** |
| 160 | * Get GRFConfig for the baseset extra graphics. |
no test coverage detected