added support for font definitions with different character offset and size
[rocksndiamonds.git] / src / libgame / system.h
index cd7e5357b27bf14cca8fea8aa2a3f603c91c2ca3..7f6f17caae790a13cd330a0f8790752a065679b8 100644 (file)
@@ -871,8 +871,11 @@ struct FontBitmapInfo
 {
   Bitmap *bitmap;
 
-  int src_x, src_y;            /* start position of animation frames */
-  int width, height;           /* width/height of each animation frame */
+  int src_x, src_y;            /* start position of font characters */
+  int width, height;           /* width / height of font characters */
+
+  int offset_x;                        /* offset to next font character */
+  int offset_y;                        /* offset to next font character */
 
   int draw_xoffset;            /* offset for drawing font characters */
   int draw_yoffset;            /* offset for drawing font characters */