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

Function add_processor

plugins/blueprint.cpp:1543–1551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1541}
1542
1543static void add_processor(vector<blueprint_processor> &processors,
1544 const blueprint_options &opts, const char *mode,
1545 const char *phase, bool require_phase,
1546 get_tile_fn * const get_tile,
1547 init_ctx_fn * const init_ctx = NULL) {
1548 if (opts.auto_phase || require_phase)
1549 processors.push_back(blueprint_processor(mode, phase, require_phase,
1550 get_tile, init_ctx));
1551}
1552
1553static bool do_transform(color_ostream &out,
1554 const df::coord &start, const df::coord &end,

Callers 1

do_transformFunction · 0.85

Calls 1

blueprint_processorClass · 0.85

Tested by

no test coverage detected