From: <av...@us...> - 2009-12-11 18:46:16
|
Revision: 3423 http://sc2.svn.sourceforge.net/sc2/?rev=3423&view=rev Author: avolkov Date: 2009-12-11 18:46:09 +0000 (Fri, 11 Dec 2009) Log Message: ----------- Full screen transitions do not need to specify a rect Modified Paths: -------------- trunk/sc2/src/uqm/outfit.c trunk/sc2/src/uqm/starbase.c Modified: trunk/sc2/src/uqm/outfit.c =================================================================== --- trunk/sc2/src/uqm/outfit.c 2009-12-11 18:21:52 UTC (rev 3422) +++ trunk/sc2/src/uqm/outfit.c 2009-12-11 18:46:09 UTC (rev 3423) @@ -719,15 +719,7 @@ DrawFlagshipStats (); UnlockMutex (GraphicsLock); - { - RECT r; - - r.corner.x = 0; - r.corner.y = 0; - r.extent.width = SCREEN_WIDTH; - r.extent.height = SCREEN_HEIGHT; - ScreenTransition (3, &r); - } + ScreenTransition (3, NULL); PlayMusic (pMS->hMusic, TRUE, 1); UnbatchGraphics (); Modified: trunk/sc2/src/uqm/starbase.c =================================================================== --- trunk/sc2/src/uqm/starbase.c 2009-12-11 18:21:52 UTC (rev 3422) +++ trunk/sc2/src/uqm/starbase.c 2009-12-11 18:46:09 UTC (rev 3423) @@ -331,15 +331,7 @@ ClearDrawable (); rotateStarbase (pMS, pMS->CurFrame); DrawBaseStateStrings ((STARBASE_STATE)~0, pMS->CurState); - { - RECT r; - - r.corner.x = 0; - r.corner.y = 0; - r.extent.width = SCREEN_WIDTH; - r.extent.height = SCREEN_HEIGHT; - ScreenTransition (3, &r); - } + ScreenTransition (3, NULL); PlayMusic (pMS->hMusic, TRUE, 1); UnbatchGraphics (); UnlockMutex (GraphicsLock); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |