compacted some SDL_Rect declarations

from rect.x=x;rect.y=y;rect.w=w;rect.h=h; to rect = {x,y,w,h};