/* file: font.h
   author: Thomas Mølhave (thoooms)
   more info: http://home10.inet.tele.dk/moelhave
   description:
		this is the main header file for a font class
		enabling the user to display 3D text in opengl
*/

#ifndef FONT_ENGINE_H_INCLUDED
#define FONT_ENGINE_H_INCLUDED

#include <windows.h>
#include <stdarg.h>
#include <stdio.h>
#include <gl\gl.h>		
#include <gl\glu.h>
#include <gl\glaux.h>
#include "font.h"

#define FONT_WIREFRAME	WGL_FONT_LINES
#define FONT_SOLID		WGL_FONT_POLYGONS

class CFont
{
private:
	GLuint base;
	GLYPHMETRICSFLOAT agmf[256];
public:
	GLvoid InitFont(HDC hDC, int style);
	~CFont();
	GLvoid Print(const char *fmt, ...);
};
#endif FONT_ENGINE_H_INCLUDED
