Added a WaitForFade() function, to replace numerous while-loops scattered
througout the code. svn-id: r10127
This commit is contained in:
parent
29607a17ef
commit
bb5f479a8c
6 changed files with 25 additions and 119 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue