X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FTilemapFont.cc;h=48b0fc3951d7655f4c657cdc5f1b053616a37d80;hp=60f070c6b384202de2b2962dce709eb6319c8788;hb=e973a129b5b83b628ba3f09e8c95682fc74080cd;hpb=7d15b919681bb9ec0088b4b27c6abf62d6dfb9b1 diff --git a/src/TilemapFont.cc b/src/TilemapFont.cc index 60f070c..48b0fc3 100644 --- a/src/TilemapFont.cc +++ b/src/TilemapFont.cc @@ -26,19 +26,19 @@ *******************************************************************************/ -#include "TilemapFont.hh" #include +#include "TilemapFont.hh" + TilemapFont::TilemapFont() : - dc::tilemap("Font") -{} + Mf::Texture("Font") {} -void TilemapFont::getTileCoords(char symbol, dc::scalar coords[8], - dc::tilemap::orientation what) +void TilemapFont::getTileCoords(char symbol, Mf::Scalar coords[8], + Mf::Texture::Orientation what) { - unsigned index = 0; + Mf::Texture::TileIndex index = 0; if (symbol >= ' ' && symbol <= '_') { @@ -53,7 +53,7 @@ void TilemapFont::getTileCoords(char symbol, dc::scalar coords[8], index = 0; } - dc::tilemap::getTileCoords(index, coords, what); + Mf::Texture::getTileCoords(index, coords, what); }