| 254 | } |
| 255 | |
| 256 | static int16_t get_subtype(df::building *bld) { |
| 257 | if (!bld) |
| 258 | return -1; |
| 259 | |
| 260 | int16_t subtype = bld->getSubtype(); |
| 261 | if (bld->getType() == df::building_type::Construction && |
| 262 | subtype >= df::construction_type::UpStair && |
| 263 | subtype <= df::construction_type::UpDownStair) |
| 264 | subtype = df::construction_type::UpDownStair; |
| 265 | return subtype; |
| 266 | } |
| 267 | |
| 268 | static bool is_suspendmanager_enabled(color_ostream &out) { |
| 269 | bool suspendmanager_enabled = false; |
no test coverage detected