(type) == ARTWORK_TYPE_MUSIC ? \
options.music_directory : "")
+#define UPDATE_BUSY_STATE() \
+{ \
+ if (gfx.draw_busy_anim_function != NULL) \
+ gfx.draw_busy_anim_function(); \
+}
+
/* type definitions */
typedef int (*EventFilter)(const Event *);
int (*get_font_from_token_function)(char *);
int anim_random_frame;
+
+ void (*draw_busy_anim_function)(void);
};
struct JoystickInfo
boolean sound_music;
boolean sound_simple;
boolean toons;
- boolean double_buffering;
- boolean direct_draw; /* !double_buffering (redundant!) */
boolean scroll_delay;
boolean scroll_delay_value;
boolean soft_scrolling;
boolean override_level_graphics;
boolean override_level_sounds;
boolean override_level_music;
+#if 0
+ boolean override_classic_artwork;
+#endif
struct SetupEditorInfo editor;
struct SetupEditorCascadeInfo editor_cascade;
boolean redefined;
boolean fallback_to_default;
+ boolean default_is_cloned;
};
struct SetupFileList
void InitGfxDoor1Info(int, int, int, int);
void InitGfxDoor2Info(int, int, int, int);
void InitGfxScrollbufferInfo(int, int);
+void InitGfxDrawBusyAnimFunction(void (*draw_busy_anim_function)(void));
void SetDrawDeactivationMask(int);
void SetDrawBackgroundMask(int);
void SetWindowBackgroundBitmap(Bitmap *);