/***********************************************************
* Artsoft Retro-Game Library *
*----------------------------------------------------------*
-* (c) 1994-2002 Artsoft Entertainment *
+* (c) 1994-2006 Artsoft Entertainment *
* Holger Schemel *
* Detmolder Strasse 189 *
* 33604 Bielefeld *
free(font_bitmap_info);
}
+struct FontBitmapInfo *getFontBitmapInfo(int font_nr)
+{
+ int font_bitmap_id = gfx.select_font_function(font_nr);
+
+ return &gfx.font_bitmap_info[font_bitmap_id];
+}
+
int getFontWidth(int font_nr)
{
int font_bitmap_id = gfx.select_font_function(font_nr);
return;
/* add offset for drawing font characters */
- dst_x += font->draw_x;
- dst_y += font->draw_y;
+ dst_x += font->draw_xoffset;
+ dst_y += font->draw_yoffset;
while (*text_ptr)
{