Quote Originally Posted by BlueCat
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.
The SMpegPlayer.dpr demo shows you how to set up and use SDL_AddTimer.
The documentation ( sdladdtimer.html ) also has some additional info on SDL_AddTimer.


I hope this helps.