Protection System For Counter-Strike 1.6
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
660 B

#pragma once
#pragma comment(lib,"OpenGL32.lib")
#pragma comment(lib,"GLu32.lib")
#include "main.h"
#include <gl/gl.h>
#include <gl/glu.h>
#define FL_NONE 0
#define FL_OUTLINE 2
#define FL_BACKDROP 4
#define FL_CENTER 8
#define FL_BOLD 16
#define FL_ALL 255
class cFont
{
public:
void InitText( char* font , int height , int width );
void Print( int x , int y , int r , int g , int b , int a , BYTE flags , char *strText );
private:
void Render( int x , int y , int r , int g , int b , int a , char *string );
short cheight;
short cwidth[255];
int height;
int width;
GLuint g_FontListID;
};
extern cFont font;