rnd-20070315-1-src
[rocksndiamonds.git] / src / libgame / system.h
index 55caac9ae1a5b5ba86886986c874ca9e3230dac1..6df8df049d31b2ddd092d2bf9885b6116031b572 100644 (file)
 
 #define ALIGNED_XPOS(x,w,a)    ((a) == ALIGN_CENTER ? (x) - (w) / 2 :  \
                                 (a) == ALIGN_RIGHT  ? (x) - (w) : (x))
-#define ALIGNED_MENU_XPOS(p)   ALIGNED_XPOS((p)->x, (p)->width, (p)->align)
-#define ALIGNED_MENU_YPOS(p)   ((p)->y)
+#define ALIGNED_TEXT_XPOS(p)   ALIGNED_XPOS((p)->x, (p)->width, (p)->align)
+#define ALIGNED_TEXT_YPOS(p)   ((p)->y)
 
 /* values for redraw_mask */
 #define REDRAW_NONE            (0)
@@ -1028,6 +1028,7 @@ struct TextPosInfo
   int width, height;
   int align;
   int chars;
+  int font, font_alt;
 };