From 04b1d5b77ec28aa74dc3aea7368f661221bdcb24 Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 16 Nov 2002 00:35:22 +0000 Subject: Bleh --- includes/glfont.h | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'includes/glfont.h') diff --git a/includes/glfont.h b/includes/glfont.h index 502ff49..831da5e 100644 --- a/includes/glfont.h +++ b/includes/glfont.h @@ -1,17 +1,24 @@ #ifndef __GLFONT_H__ #define __GLFONT_H__ -#include "Exceptions.h" +#include +#include "String.h" #include "gltexture.h" +#include "Color.h" namespace mogltk { - class glfont : public Base { + class font : public Base { public: - glfont(); - virtual ~glfont(); - void Load(const String &) throw (GeneralException); + font(const String & = "font.bin"); + virtual ~font(); + void drawentry(Uint16, Color = Color(255, 255, 255), int = -1, int = -1); + private: - gltexture * fonttex; + Uint8 * sizes; + Uint16 nbentries, nbcT, nbT; + Uint8 flags, maxX, maxY, nbcU, nbcV; + texture ** fonttex; + Uint16 * corresp; }; }; -- cgit v1.2.3