#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)
/* values for redraw_mask */
#define REDRAW_NONE (0)
boolean el_diamond_caves;
boolean el_dx_boulderdash;
boolean el_chars;
+ boolean el_steel_chars;
boolean el_custom;
boolean el_user_defined;
boolean el_dynamic;
boolean el_dc;
boolean el_dx;
boolean el_chars;
+ boolean el_steel_chars;
boolean el_ce;
boolean el_ge;
boolean el_ref;
boolean quick_switch;
boolean input_on_focus;
boolean prefer_aga_graphics;
+ int game_frame_delay;
char *graphics_set;
char *sounds_set;
int width, height;
};
+#if 1
+struct MenuPosInfo
+{
+ int x, y;
+ int width, height;
+ int align;
+};
+
+struct TextPosInfo
+{
+ int x, y;
+ int width, height;
+ int align;
+ int chars;
+};
+#endif
+
/* ========================================================================= */
/* exported variables */