Hey - Good afternoon,
My apologies - I'm a bit of a noob around here
I'm still trying to learn the basics of SDL and have got an issue. All the files related to the project are on http://www.savefile.com/files/340504 - its about a 250kb.
I'm writing an isometric engine (well the test more just shows an isometric map - learning SDLVideo at the moment). It displays the map originally almost instantly - matter of milliseconds however when I try to use the arrows to move the map, as I coded, it sucks up about 96% of my CPU and takes about 4 seconds before it updates the screen. I can't find the reason why - it doesn't seem to have any issues the first time, but the second call of the procedure makes it take absolutely ages blitting.
Sorry - the code isn't too neat, but its readable.
Any advice would be greatly appreciated!
Lochok
Bookmarks