Refactored some functions. Fixed identation on some functions to use tabs. Removed some unneeded variables in the surface structure type.
Refactored some functions. Fixed identation on some functions to use tabs. Removed some unneeded variables in the surface structure type.

vanfanel/SDL-1.2.15-raspberrypi,vanfanel/SDL-1.2.15-raspberrypi,vanfanel/SDL-1.2.15-raspberrypi,vanfanel/SDL-1.2.15-raspberrypi,vanfanel/SDL-1.2.15-raspberrypi,vanfanel/SDL-1.2.15-raspberrypi