Added a WaitForFade() function, to replace numerous while-loops scattered

througout the code.

svn-id: r10127
This commit is contained in:
Torbjörn Andersson 2003-09-09 12:14:08 +00:00
parent 29607a17ef
commit bb5f479a8c
6 changed files with 25 additions and 119 deletions

View file

@ -92,11 +92,8 @@ int32 FN_init_background(int32 *params) //Tony11Sept96
//-------------------------------------------------------
// if the screen is still fading down then wait for black
do
{
ServiceWindows();
}
while(GetFadeStatus()==RDFADE_DOWN);
WaitForFade();
//-------------------------------------------------------
if (this_screen.mask_flag) // if last screen was using a shading mask (see below) (James 08apr97)