#define CONFIG_TOKEN_FONT_INITIAL "font.initial"
#define CONFIG_TOKEN_GLOBAL_BUSY_INITIAL "global.busy_initial"
#define CONFIG_TOKEN_GLOBAL_BUSY "global.busy"
#define CONFIG_TOKEN_FONT_INITIAL "font.initial"
#define CONFIG_TOKEN_GLOBAL_BUSY_INITIAL "global.busy_initial"
#define CONFIG_TOKEN_GLOBAL_BUSY "global.busy"
#define CONFIG_TOKEN_BACKGROUND_LOADING_INITIAL "background.LOADING_INITIAL"
#define CONFIG_TOKEN_BACKGROUND_LOADING "background.LOADING"
#define INITIAL_IMG_GLOBAL_BUSY_INITIAL 0
#define INITIAL_IMG_GLOBAL_BUSY 1
#define CONFIG_TOKEN_BACKGROUND_LOADING_INITIAL "background.LOADING_INITIAL"
#define CONFIG_TOKEN_BACKGROUND_LOADING "background.LOADING"
#define INITIAL_IMG_GLOBAL_BUSY_INITIAL 0
#define INITIAL_IMG_GLOBAL_BUSY 1
-#define NUM_INITIAL_IMAGES 4
+#define NUM_INITIAL_IMAGES_BUSY 3
+
+#define INITIAL_IMG_BACKGROUND_LOADING_INITIAL 3
+#define INITIAL_IMG_BACKGROUND_LOADING 4
+
+#define NUM_INITIAL_IMAGES 5
{
struct GraphicInfo *graphic_info_last = graphic_info;
int graphic = (game_status_last_screen == -1 ?
INITIAL_IMG_GLOBAL_BUSY_INITIAL :
{
struct GraphicInfo *graphic_info_last = graphic_info;
int graphic = (game_status_last_screen == -1 ?
INITIAL_IMG_GLOBAL_BUSY_INITIAL :
static unsigned int action_delay = 0;
unsigned int action_delay_value = GameFrameDelay;
int sync_frame = FrameCounter;
int x, y;
static unsigned int action_delay = 0;
unsigned int action_delay_value = GameFrameDelay;
int sync_frame = FrameCounter;
int x, y;
- x = ALIGNED_TEXT_XPOS(busy);
- y = ALIGNED_TEXT_YPOS(busy);
+ x = (game_status == GAME_MODE_LOADING ? 0 : SX) + ALIGNED_TEXT_XPOS(busy);
+ y = (game_status == GAME_MODE_LOADING ? 0 : SY) + ALIGNED_TEXT_YPOS(busy);
// create hash from image config list
image_config_hash = newSetupFileHash();
for (i = 0; image_config[i].token != NULL; i++)
// create hash from image config list
image_config_hash = newSetupFileHash();
for (i = 0; image_config[i].token != NULL; i++)
{
CONFIG_TOKEN_GLOBAL_BUSY_INITIAL,
CONFIG_TOKEN_GLOBAL_BUSY,
{
CONFIG_TOKEN_GLOBAL_BUSY_INITIAL,
CONFIG_TOKEN_GLOBAL_BUSY,
CONFIG_TOKEN_BACKGROUND_LOADING_INITIAL,
CONFIG_TOKEN_BACKGROUND_LOADING
};
CONFIG_TOKEN_BACKGROUND_LOADING_INITIAL,
CONFIG_TOKEN_BACKGROUND_LOADING
};
SetLoadingBackgroundImage();
ClearRectangleOnBackground(window, 0, 0, WIN_XSIZE, WIN_YSIZE);
SetLoadingBackgroundImage();
ClearRectangleOnBackground(window, 0, 0, WIN_XSIZE, WIN_YSIZE);