/*************************************************************************** cone3dfont.h - description ------------------- copyright : (C) 2001 by Marius Andra aka Cone3D email : marius@hot.ee ICQ : 43999510 ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ /* This file is extended to the needs of the orxonox-project. The main difference to the version of Marius is, that textures get loaded by orxonox Texture-class */ class Texture; class Cone3DFont { public: Cone3DFont() {sizex=1.0f; sizey=1.0f;}; ~Cone3DFont() {KillFont();}; int BuildFont(char *file); int PrintText(int x, int y, char type, char *fmt, ...); int KillFont(); int SetSize(float x, float y); // Cone3DTGA font; private: int base; float sizex,sizey; Texture* font; };