| 859 | } |
| 860 | |
| 861 | static const char * get_screw_pump_str(df::building *b) { |
| 862 | df::building_screw_pumpst *sp = virtual_cast<df::building_screw_pumpst>(b); |
| 863 | if (!sp) |
| 864 | return "~"; |
| 865 | |
| 866 | switch (sp->direction) |
| 867 | { |
| 868 | case screw_pump_direction::FromNorth: return "Msu"; |
| 869 | case screw_pump_direction::FromEast: return "Msk"; |
| 870 | case screw_pump_direction::FromSouth: return "Msm"; |
| 871 | case screw_pump_direction::FromWest: return "Msh"; |
| 872 | default: |
| 873 | return "~"; |
| 874 | } |
| 875 | } |
| 876 | |
| 877 | static const char * get_water_wheel_str(df::building *b) { |
| 878 | df::building_water_wheelst *ww = |