| 67 | } |
| 68 | |
| 69 | void VisionBase::init_draw() |
| 70 | { |
| 71 | #ifdef MAA_DEBUG |
| 72 | debug_draw_ = true; |
| 73 | #else |
| 74 | const auto& option = MAA_GLOBAL_NS::OptionMgr::get_instance(); |
| 75 | debug_draw_ = option.save_draw() || option.debug_mode(); |
| 76 | #endif |
| 77 | } |
| 78 | |
| 79 | void VisionBase::save_draws(const std::string& name, const std::vector<ImageEncodedBuffer>& draws) |
| 80 | { |
nothing calls this directly
no test coverage detected