X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FTilemapFont.hh;h=89cb062ad8cedbc0539b3ea45f89a45146ab77e7;hp=5ec906465f6701e8478bae4d0dd57fdc7748b0cf;hb=e973a129b5b83b628ba3f09e8c95682fc74080cd;hpb=7d15b919681bb9ec0088b4b27c6abf62d6dfb9b1 diff --git a/src/TilemapFont.hh b/src/TilemapFont.hh index 5ec9064..89cb062 100644 --- a/src/TilemapFont.hh +++ b/src/TilemapFont.hh @@ -34,22 +34,17 @@ * Text on the screen. */ -#include "tilemap.hh" +#include -class TilemapFont : public dc::tilemap +class TilemapFont : public Mf::Texture { public: - struct exception : public std::runtime_error - { - explicit exception(const std::string& what_arg) : - std::runtime_error(what_arg) {} - }; TilemapFont(); - void getTileCoords(char symbol, dc::scalar coords[8], - dc::tilemap::orientation what = dc::tilemap::normal); + void getTileCoords(char symbol, Mf::Scalar coords[8], + Mf::Texture::Orientation what = Mf::Texture::NORMAL); };