X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2FTilemapFont.hh;h=98a3a13ce1431c7589eb61e2d34dc8bd401ebcbe;hb=cfe38a72ab859538db6269bc9b97f55e8f1f8709;hp=56a2d4bcfcc1e62348198a320a88c7f56517c8ec;hpb=c2321281bf12a7efaedde930422c7ddbc92080d4;p=chaz%2Fyoink diff --git a/src/TilemapFont.hh b/src/TilemapFont.hh index 56a2d4b..98a3a13 100644 --- a/src/TilemapFont.hh +++ b/src/TilemapFont.hh @@ -34,22 +34,17 @@ * Text on the screen. */ -#include +#include "Tilemap.hh" -class TilemapFont : public Mf::Tilemap +class TilemapFont : public Tilemap { public: - struct Exception : public std::runtime_error - { - explicit Exception(const std::string& what_arg) : - std::runtime_error(what_arg) {} - }; TilemapFont(); void getTileCoords(char symbol, Mf::Scalar coords[8], - Mf::Tilemap::Orientation what = Mf::Tilemap::NORMAL); + Tilemap::Orientation what = Tilemap::NORMAL); };