inlinevoidSDL_PutPixel(SDL_Surface*ekran,constint&x,constint&y,constUint8&R,constUint8&G,constUint8&B,Uint8A=255);//myC influences the start of reading pixels
voidblitWithRotate1clip(SDL_Surface*src,SDL_Rect*srcRect,SDL_Surface*dst,SDL_Rect*dstRect);//srcRect is not used, works with 8bpp sources and 24bpp dests preserving clip_rect
voidblitWithRotate2clip(SDL_Surface*src,SDL_Rect*srcRect,SDL_Surface*dst,SDL_Rect*dstRect);//srcRect is not used, works with 8bpp sources and 24bpp dests preserving clip_rect
voidblitWithRotate3clip(SDL_Surface*src,SDL_Rect*srcRect,SDL_Surface*dst,SDL_Rect*dstRect);//srcRect is not used, works with 8bpp sources and 24bpp dests preserving clip_rect
intblit8bppAlphaTo24bpp(SDL_Surface*src,SDL_Rect*srcRect,SDL_Surface*dst,SDL_Rect*dstRect);//blits 8 bpp surface with alpha channel to 24 bpp surface
Uint32colorToUint32(constSDL_Color*color);//little endian only
voidprintTo(conststd::string&text,intx,inty,TTF_Font*font,SDL_Colorkolor=tytulowy,SDL_Surface*dst=screen,unsignedcharquality=2);// quality: 0 - lowest, 1 - medium, 2 - highest; prints at right bottom corner of specific area. position of corner indicated by (x, y)
voidprintToWR(conststd::string&text,intx,inty,TTF_Font*font,SDL_Colorkolor=tytulowy,SDL_Surface*dst=screen,unsignedcharquality=2);// quality: 0 - lowest, 1 - medium, 2 - highest; prints at right bottom corner of specific area. position of corner indicated by (x, y)