| 4 | namespace 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 |