Fix comments.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3719 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+3
-4
@@ -31,18 +31,17 @@
|
|||||||
*
|
*
|
||||||
* // We create the flash context; it is used to manipulate the flash
|
* // We create the flash context; it is used to manipulate the flash
|
||||||
* // rectangle while it exists.
|
* // 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
|
* // Specify how bright the flash is at the beginning and ending of the
|
||||||
* // sequence.
|
* // sequence.
|
||||||
* Flash_setMergeFactors(context, 2, 3, 2);
|
* Flash_setMergeFactors(fc, 2, 3, 2);
|
||||||
*
|
*
|
||||||
* // We change the flashing speed from the defaults.
|
* // We change the flashing speed from the defaults.
|
||||||
* Flash_setSpeed (ONE_SECOND, ONE_SECOND, ONE_SECOND, ONE_SECOND);
|
* Flash_setSpeed (ONE_SECOND, ONE_SECOND, ONE_SECOND, ONE_SECOND);
|
||||||
*
|
*
|
||||||
* // During cross-fades, update 8 times per second.
|
* // During cross-fades, update 8 times per second.
|
||||||
* Flash_setFrameTime (gmstate.player[playerI].flashContext,
|
* Flash_setFrameTime (fc, ONE_SECOND / 8);
|
||||||
* ONE_SECOND / 8);
|
|
||||||
*
|
*
|
||||||
* // We start the flashing. The default is to start from the "off" state.
|
* // We start the flashing. The default is to start from the "off" state.
|
||||||
* Flash_start (fc);
|
* Flash_start (fc);
|
||||||
|
|||||||
Reference in New Issue
Block a user