| 150 | command_result df_liquids_execute(color_ostream &out, OperationMode &mode, df::coord pos); |
| 151 | |
| 152 | static void print_prompt(std::ostream &str, OperationMode &cur_mode) |
| 153 | { |
| 154 | str <<"[" << paint_mode_name[cur_mode.paint] << ":" << brush_name[cur_mode.brush]; |
| 155 | if (cur_mode.brush == B_RANGE) |
| 156 | str << "(w" << cur_mode.size.x << ":h" << cur_mode.size.y << ":z" << cur_mode.size.z << ")"; |
| 157 | str << ":" << cur_mode.amount << ":f" << modify_mode_name[cur_mode.flowmode] |
| 158 | << ":s" << modify_mode_name[cur_mode.setmode] |
| 159 | << ":pf" << permaflow_name[cur_mode.permaflow] |
| 160 | << "]"; |
| 161 | } |
| 162 | |
| 163 | command_result df_liquids (color_ostream &out_, vector <string> & parameters) |
| 164 | { |
no outgoing calls
no test coverage detected