   Problem SDL tiling
  Hello, I have a problem in my code, I've trying in like 2 days to fix it..So I search for someone who can found the problem, When I start the game it only is a black background and a Sprite.here can you see the code:http://pastebin.ca/97479Hope you can help!   
  I only took a glimpse of the code so i'm not sure if this is it. If you look in the game loop, you can see that the draw_tiles function isn't called once. However, the sdl blit function is called, which perhaps explains why the program shows atleast one sprite on the screen.   