I have a doubt regarding SDL programming.
Can some one please help me how can i subdivide a Image lets say into 4 parts and then store them in SDL_Surface array.
I intend to animate later using these subdivided images by using SDL_BlitSurface function.
I am new to SDL,so it would be great if someone could provide some codes for reference.
Please note that i am using Microsoft visual c++ 2010 compiler..