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

Function autobutcher_setDefaultTargetNew

plugins/autobutcher.cpp:861–866  ·  view source on GitHub ↗

set default target values for new races

Source from the content-addressed store, hash-verified

859
860// set default target values for new races
861static void autobutcher_setDefaultTargetNew(color_ostream &out, unsigned fk, unsigned mk, unsigned fa, unsigned ma) {
862 config.set_int(CONFIG_DEFAULT_FK, fk);
863 config.set_int(CONFIG_DEFAULT_MK, mk);
864 config.set_int(CONFIG_DEFAULT_FA, fa);
865 config.set_int(CONFIG_DEFAULT_MA, ma);
866}
867
868// set default target values for ALL races (update watchlist and set new default)
869static void autobutcher_setDefaultTargetAll(color_ostream &out, unsigned fk, unsigned mk, unsigned fa, unsigned ma) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected