| 28 | } |
| 29 | |
| 30 | void bwDrawBox(int x, int y, int w, int h, int color, BWAPI::CoordinateType::Enum ctype) |
| 31 | { |
| 32 | convertCoordType(x, y, ctype); |
| 33 | |
| 34 | for ( int i = y; i < y+h; ++i ) |
| 35 | BW::BWDATA::GameScreenBuffer.drawLine(x, i, x+w, i, static_cast<u8>(color)); |
| 36 | } |
| 37 | |
| 38 | void bwDrawDot(int x, int y, int color, BWAPI::CoordinateType::Enum ctype) |
| 39 | { |
no test coverage detected