]> Dogcows Code - chaz/yoink/blobdiff - src/TilemapFont.cc
cleaned up script wrapper and bindings
[chaz/yoink] / src / TilemapFont.cc
index 14cfa2c28d0605956354b0aec21edec38649a9e4..f0facbb81b25edc5bbed4d0ab1e87e6a62614dba 100644 (file)
@@ -1,27 +1,26 @@
 
-/*]  Copyright (c) 2009-2010, Charles McGarvey  [**************************
+/*]  Copyright (c) 2009-2011, Charles McGarvey  [*****************************
 **]  All rights reserved.
 *
-* vi:ts=4 sw=4 tw=75
-*
 * Distributable under the terms and conditions of the 2-clause BSD license;
 * see the file COPYING for a complete text of the license.
 *
-**************************************************************************/
+*****************************************************************************/
 
 #include <iostream>
 
 #include "TilemapFont.hh"
 
 
+/*
 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 +35,7 @@ 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.026557 seconds and 4 git commands to generate.