Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATTimeWarp::SetSpeed
CATResult CATTimeWarp::SetSpeed ( CATFloat32  speed  ) 

Sets the speed to run the timers at.

Parameters:
speed Percentage of normal speed to run (0 - 1) Recommend using 0.1f-1.0f to as range.
Returns:
CAT_SUCCESS on success.

Definition at line 170 of file CATTimeWarp.cpp.

References CAT_SUCCESS, fLock, fSpeed, CATCritSec::Release(), and CATCritSec::Wait().

Referenced by HookFunctions().


Generated on Mon Feb 11 04:11:08 2008 for Game Accessibility Suite by doxygen 1.5.4