added the stuff from libtcod that I use.