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

Method draw

bwapi/BWAPI/Source/BW/CSprite.cpp:6–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace BW
5{
6 void CSprite::draw()
7 {
8 //u8 color = 0;
9 //u8 color = getColourID(this->playerID);
10
11 //imgDrawPalettteIndex[2] = tunit_image_palette[2*color];
12 //imgDrawPalettteIndex[3] = tunit_image_palette[2*color + 1];
13 //gdrawColorID = color;
14
15 //if ( this->mainGraphic )
16 // unknownColorShiftSomething(this->mainGraphic->paletteType, this->playerID);
17
18 for ( auto i = this->pImageTail; i; i = i->prev )
19 i->drawImage();
20 }
21
22
23

Callers

nothing calls this directly

Calls 1

drawImageMethod · 0.80

Tested by

no test coverage detected