// structures for fonts and messages etc.

struct FontHeader
	{
	unsigned char width;
	unsigned char height;
	unsigned char firstentry;
	unsigned char lastentry;
	unsigned char spacing;
	unsigned short offset __attribute__ ((packed));	// no word alignment
	};

struct CharData
	{
	unsigned short startwidth;
	};

#define startshift (0)
#define startmask (0x7ff<<startshift)
#define widthshift (11)
#define widthmask (0x1f<<widthshift)

struct FontDef { char *letter; int code; };

