]> Dogcows Code - chaz/yoink/blobdiff - src/TilemapFont.cc
library class revamped as manager, goodbye tilemap
[chaz/yoink] / src / TilemapFont.cc
index 60f070c6b384202de2b2962dce709eb6319c8788..48b0fc3951d7655f4c657cdc5f1b053616a37d80 100644 (file)
 
 *******************************************************************************/
 
-#include "TilemapFont.hh"
 #include <iostream>
 
+#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);
 }
 
 
This page took 0.018057 seconds and 4 git commands to generate.