From: <Mee...@us...> - 2011-12-29 21:18:14
|
Revision: 3719 http://sc2.svn.sourceforge.net/sc2/?rev=3719&view=rev Author: Meep-Eep Date: 2011-12-29 21:18:08 +0000 (Thu, 29 Dec 2011) Log Message: ----------- Fix comments. Modified Paths: -------------- trunk/sc2/src/uqm/flash.h Modified: trunk/sc2/src/uqm/flash.h =================================================================== --- trunk/sc2/src/uqm/flash.h 2011-12-29 15:00:32 UTC (rev 3718) +++ trunk/sc2/src/uqm/flash.h 2011-12-29 21:18:08 UTC (rev 3719) @@ -31,18 +31,17 @@ * * // We create the flash context; it is used to manipulate the flash * // rectangle while it exists. - * FlashContext *fc = Flash_createHighlight (context, (FRAME) 0, rect); + * FlashContext *fc = Flash_createHighlight (gfxContext, rect); * * // Specify how bright the flash is at the beginning and ending of the * // sequence. - * Flash_setMergeFactors(context, 2, 3, 2); + * Flash_setMergeFactors(fc, 2, 3, 2); * * // We change the flashing speed from the defaults. * Flash_setSpeed (ONE_SECOND, ONE_SECOND, ONE_SECOND, ONE_SECOND); * * // During cross-fades, update 8 times per second. - * Flash_setFrameTime (gmstate.player[playerI].flashContext, - * ONE_SECOND / 8); + * Flash_setFrameTime (fc, ONE_SECOND / 8); * * // We start the flashing. The default is to start from the "off" state. * Flash_start (fc); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |