1 /* 2 * OpenBOR - http://www.LavaLit.com 3 * ----------------------------------------------------------------------- 4 * All rights reserved, see LICENSE in OpenBOR root for details. 5 * 6 * Copyright (c) 2004 - 2011 OpenBOR Team 7 */ 8 9 #ifndef FONT_H 10 #define FONT_H 11 12 extern int font_heights[]; 13 extern int font_monowidths[]; 14 void font_unload(int which); 15 int font_load(int which, char *filename, char *packfile, int monospace); 16 int font_string_width(int which, char* buf, ...); 17 void font_printf(int x, int y, int which, int layeroffset, char *format, ...); 18 void screen_printf(s_screen * screen, int x, int y, int which, char *format, ...); 19 20 #endif 21