MCPcopy Create free account
hub / github.com/bwapi/bwapi / BlitGraphic

Method BlitGraphic

bwapi/BWAPI/Source/BW/Bitmap.cpp:111–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 void Bitmap::BlitGraphic(const grpHead *pGrp, int frame, int x, int y)
112 {
113 if ( 0 <= frame && pGrp && frame < pGrp->wFrames && this->isValid() )
114 this->BlitGrpFrame(&pGrp->frames[frame], x, y);
115 }
116
117 BYTE gbColorTable[] = {
118 0, 0, 0, 1, 2, 3, 4, 5, 8, 0, 0, 0, 0, 0, 9, 10,

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.95
BlitGrpFrameMethod · 0.95

Tested by

no test coverage detected