Also, I want to set up a timer.

Can anyone give me some example code showing SDL_AddTimer with a callback function? That would help sooo much.