|
list::iterator p = PlayerList.begin();
while(p != PlayerList.end())
{
if(condition)
p = PlayerList.erase(p);
}for(ix = 0; ix < 8; ix++)
{
if((*charpos & *bitpos) == *bitpos)
{
if(data->format->BitsPerPixel > 16)
*((Uint32 *)data->pixels + yTmp * \
data->pitch/4 + xTmp)=color;
else
*((Uint16 *)data->pixels + yTmp * \
data->pitch/2 + xTmp)=color;
}
bitpos++;
curpos += 4;
xTmp++;
} |
