]>
Dogcows Code - chaz/yoink/blob - TilemapFont.cc
14cfa2c28d0605956354b0aec21edec38649a9e4
2 /*] Copyright (c) 2009-2010, Charles McGarvey [**************************
3 **] All rights reserved.
7 * Distributable under the terms and conditions of the 2-clause BSD license;
8 * see the file COPYING for a complete text of the license.
10 **************************************************************************/
14 #include "TilemapFont.hh"
17 TilemapFont::TilemapFont() :
18 Mf::Texture("Font") {}
21 void TilemapFont::getTileCoords(char symbol
, Mf::Scalar coords
[8],
22 Mf::Texture::Orientation what
)
24 Mf::Texture::TileIndex index
= 0;
26 if (symbol
>= ' ' && symbol
<= '_')
30 else if (symbol
>= 'a' && symbol
<= '~')
39 Mf::Texture::getTileCoords(index
, coords
, what
);
This page took 0.038114 seconds and 3 git commands to generate.