#pragma once #include "common.h" struct FontChar { float x1, y1, x2, y2; char w, h, xo, yo, xa; }; struct Font { char lineHeight; unsigned char bw, bh; FontChar chars[96]; unsigned texture; void Load(const char* filename); void Print(int x, int y, const char* text, char color = 15); Vector2 GetSize(const char* text); };