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:
Meep-Eep
2011-12-29 21:18:08 +00:00
parent e87c43f0b8
commit 8a3315c87d
+3 -4
View File
@@ -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);