MCPcopy Create free account
hub / github.com/DFHack/dfhack / get_axle_str

Function get_axle_str

plugins/blueprint.cpp:886–893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

884}
885
886static const char * get_axle_str(df::building *b) {
887 df::building_axle_horizontalst *ah =
888 virtual_cast<df::building_axle_horizontalst>(b);
889 if (!ah)
890 return "~";
891
892 return ah->is_vertical ? "Mhs" : "Mh";
893}
894
895static const char * add_speed_suffix(df::building_rollersst *r,
896 const char *prefix) {

Callers 1

get_build_keysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected