Merged sdlcurse.cpp and sdltiles.cpp