projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed drawing of global borders to more generic approach (again)
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index d7bf92f573c5caf1e2de3945717ea60f2d6e6c9a..149b4ef2709e0ef6d6d26cf17cf798c897f85b88 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-4666,7
+4666,8
@@
static void InitGlobal()
global.frames_per_second = 0;
global.frames_per_second = 0;
- global.border_status = GAME_MODE_MAIN;
+ global.border_status = GAME_MODE_LOADING;
+ global.anim_status = global.anim_status_next = GAME_MODE_LOADING;
global.use_envelope_request = FALSE;
}
global.use_envelope_request = FALSE;
}
@@
-5322,7
+5323,9
@@
void InitGfx()
InitGfxDrawBusyAnimFunction(DrawInitAnim);
InitGfxDrawGlobalAnimFunction(DrawGlobalAnim);
InitGfxDrawBusyAnimFunction(DrawInitAnim);
InitGfxDrawGlobalAnimFunction(DrawGlobalAnim);
- InitGfxDrawGlobalBorderFunction(DrawMaskedBorderToScreen);
+ InitGfxDrawGlobalBorderFunction(DrawMaskedBorderToTarget);
+
+ gfx.masked_border_bitmap_ptr = backbuffer;
/* use copy of busy animation to prevent change while reloading artwork */
init_last = init;
/* use copy of busy animation to prevent change while reloading artwork */
init_last = init;