#include "oodle.h" void CGfxPrimitives::drawCircle(int x, int y, int r, CColor &c, CSurface &dest, bool filled) { int z = filledCircleColor(dest.getSurface(), x, y, 150, SDL_MapRGB(dest.getSurface()->format, c.getR(), c.getB(), c.getB())); //lineColor(SDL_GetVideoSurface(), 0, 0, 640,480, SDL_MapRGB(SDL_GetVideoSurface()->format, c.getR(), c.getB(), c.getB())); //SDL_Rect rect = {x - r/2, y - r/2, r,r}; //SDL_FillRect(dest.getSurface(), &rect, c.getDispFormatColor()); }