#define ALIGNED_XPOS(x,w,a) ((a) == ALIGN_CENTER ? (x) - (w) / 2 : \
(a) == ALIGN_RIGHT ? (x) - (w) : (x))
+#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)
/* values for mouse cursor */
#define CURSOR_DEFAULT 0
-#define CURSOR_PLAYFIELD 1
+#define CURSOR_NONE 1
+#define CURSOR_PLAYFIELD 2
/* fundamental game speed values */
#define ONE_SECOND_DELAY 1000 /* delay value for one second */
struct SetupSystemInfo
{
+ char *sdl_videodriver;
char *sdl_audiodriver;
int audio_fragment_size;
};
boolean quick_switch;
boolean input_on_focus;
boolean prefer_aga_graphics;
+ int game_frame_delay;
char *graphics_set;
char *sounds_set;
char *name; /* tree info name, as displayed in selection menues */
char *name_sorting; /* optional sorting name for correct name sorting */
char *author; /* level or artwork author name */
+ char *year; /* optional year of creation for levels or artwork */
char *imported_from; /* optional comment for imported levels or artwork */
char *imported_by; /* optional comment for imported levels or artwork */
+ char *tested_by; /* optional comment to name people who tested a set */
char *graphics_set_ecs; /* special EMC custom graphics set (ECS graphics) */
char *graphics_set_aga; /* special EMC custom graphics set (AGA graphics) */
int width, height;
};
-#if 1
struct MenuPosInfo
{
int x, y;
int width, height;
int align;
int chars;
+ int font, font_alt;
};
-#endif
/* ========================================================================= */