-------------------------------------------------- DRAW TEXT ---------------------------------------------
| 778 | } |
| 779 | //-------------------------------------------------- DRAW TEXT --------------------------------------------- |
| 780 | void GameImpl::vDrawText(CoordinateType::Enum ctype, int x, int y, const char *format, va_list arg) |
| 781 | { |
| 782 | if ( !data->hasGUI ) return; |
| 783 | char buffer[2048]; |
| 784 | VSNPrintf(buffer, format, arg); |
| 785 | BWAPIC::Shape s(BWAPIC::ShapeType::Text,ctype,x,y,0,0,0,textSize,0,false); |
| 786 | addText(s,buffer); |
| 787 | } |
| 788 | //--------------------------------------------------- DRAW BOX --------------------------------------------- |
| 789 | void GameImpl::drawBox(CoordinateType::Enum ctype, int left, int top, int right, int bottom, Color color, bool isSolid) |
| 790 | { |
no test coverage detected