Full screen transitions do not need to specify a rect
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3423 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -719,15 +719,7 @@ DoOutfit (MENU_STATE *pMS)
|
|||||||
DrawFlagshipStats ();
|
DrawFlagshipStats ();
|
||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
|
|
||||||
{
|
ScreenTransition (3, NULL);
|
||||||
RECT r;
|
|
||||||
|
|
||||||
r.corner.x = 0;
|
|
||||||
r.corner.y = 0;
|
|
||||||
r.extent.width = SCREEN_WIDTH;
|
|
||||||
r.extent.height = SCREEN_HEIGHT;
|
|
||||||
ScreenTransition (3, &r);
|
|
||||||
}
|
|
||||||
PlayMusic (pMS->hMusic, TRUE, 1);
|
PlayMusic (pMS->hMusic, TRUE, 1);
|
||||||
UnbatchGraphics ();
|
UnbatchGraphics ();
|
||||||
|
|
||||||
|
|||||||
@@ -331,15 +331,7 @@ DoStarBase (MENU_STATE *pMS)
|
|||||||
ClearDrawable ();
|
ClearDrawable ();
|
||||||
rotateStarbase (pMS, pMS->CurFrame);
|
rotateStarbase (pMS, pMS->CurFrame);
|
||||||
DrawBaseStateStrings ((STARBASE_STATE)~0, pMS->CurState);
|
DrawBaseStateStrings ((STARBASE_STATE)~0, pMS->CurState);
|
||||||
{
|
ScreenTransition (3, NULL);
|
||||||
RECT r;
|
|
||||||
|
|
||||||
r.corner.x = 0;
|
|
||||||
r.corner.y = 0;
|
|
||||||
r.extent.width = SCREEN_WIDTH;
|
|
||||||
r.extent.height = SCREEN_HEIGHT;
|
|
||||||
ScreenTransition (3, &r);
|
|
||||||
}
|
|
||||||
PlayMusic (pMS->hMusic, TRUE, 1);
|
PlayMusic (pMS->hMusic, TRUE, 1);
|
||||||
UnbatchGraphics ();
|
UnbatchGraphics ();
|
||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
|
|||||||
Reference in New Issue
Block a user