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

Function print_prompt

plugins/liquids.cpp:152–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150command_result df_liquids_execute(color_ostream &out, OperationMode &mode, df::coord pos);
151
152static 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
163command_result df_liquids (color_ostream &out_, vector <string> & parameters)
164{

Callers 2

df_liquidsFunction · 0.85
df_liquids_hereFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected