#pragma once

#include "../sys/msys.h"

class bmFontChar
{
private:
	int _X;
	int _Y;
	int _Page;
	int _Channel;
public:
	float _uBL, _vBL;
	float _uBR, _vBR;
	float _uTR, _vTR;
	float _uTL, _vTL;
	float _Width;
	float _Height;
	int PixelWidth;
	int PixelHeight;
	int PixelXOffset;
	int PixelYOffset;
	int PixelXAdvance;
	int TextureWidth;
	int TextureHeight;
	float _XOffset;
	float _YOffset;
	float _XAdvance;
	unsigned char CharVal;
	GLfloat * vertices[4];
	GLfloat * texCoords[4];
	bmFontChar(unsigned char charVal, int x, int y, int width, int height, int xOff, int yOff, int xAdvance, int textureWidth, int textureHeight);
	~bmFontChar(void);
};
