]> Dogcows Code - chaz/yoink/blobdiff - src/TilemapFont.cc
the massive refactoring effort
[chaz/yoink] / src / TilemapFont.cc
index 14cfa2c28d0605956354b0aec21edec38649a9e4..cc995ba71746a549aa9ccb4d5fa987da96382477 100644 (file)
 
 
 TilemapFont::TilemapFont() :
-       Mf::Texture("Font") {}
+       moof::texture("Font") {}
 
 
-void TilemapFont::getTileCoords(char symbol, Mf::Scalar coords[8],
-               Mf::Texture::Orientation what)
+void TilemapFont::tile_coordinates(char symbol, moof::scalar coords[8],
+               moof::texture::orientation what)
 {
-       Mf::Texture::TileIndex index = 0;
+       int index = 0;
 
        if (symbol >= ' ' && symbol <= '_')
        {
@@ -36,6 +36,6 @@ void TilemapFont::getTileCoords(char symbol, Mf::Scalar coords[8],
                index = 0;
        }
 
-       Mf::Texture::getTileCoords(index, coords, what);
+       moof::texture::tile_coordinates(index, coords, what);
 }
 
This page took 0.017102 seconds and 4 git commands to generate.