struct Sign; typedef vector Signs; typedef unsigned char uchar; typedef unsigned int uint; enum { SF_SHIFTS = 1, SF_BITMAP = 2 }; struct Sign { uchar width, height; uchar vShift; uchar *buf; }; struct SFHeader { char encoding[ 4 ]; uint from, to; uchar info; }; struct SFonts { SFHeader header; Signs signs; GLfloat xPos, yPos; GLubyte color[ 3 ]; GLfloat interSpace, space; GLfloat pixelW, pixelH; SFonts( char *file ); SFonts( fstream &f ); int loadSigns( fstream &f ); void print( const char *text ); };