Set the type of vehicles that are accepted by the button */
| 147 | |
| 148 | /** Set the type of vehicles that are accepted by the button */ |
| 149 | void StoryPageButtonData::SetVehicleType(VehicleType vehtype) |
| 150 | { |
| 151 | assert(vehtype == VEH_INVALID || vehtype < VEH_COMPANY_END); |
| 152 | SB(this->referenced_id, 16, 8, vehtype); |
| 153 | } |
| 154 | |
| 155 | /** Get the button background colour. */ |
| 156 | Colours StoryPageButtonData::GetColour() const |
no test coverage detected