]>
Dogcows Code - chaz/yoink/blob - src/TilemapFont.cc
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.03417 seconds and 4 git commands to generate.