| 48 | } |
| 49 | |
| 50 | DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands) |
| 51 | { |
| 52 | commands.push_back(PluginCommand( |
| 53 | "digFlood", |
| 54 | "Automatically dig out veins as you discover them.", |
| 55 | digFlood)); |
| 56 | return CR_OK; |
| 57 | } |
| 58 | |
| 59 | void onDig(color_ostream& out, void* ptr) { |
| 60 | df::job* job = (df::job*)ptr; |
nothing calls this directly
no test coverage detected