Logo Search packages:      
Sourcecode: scummvm version File versions

virtual void OSystem::setShakePos ( int  shakeOffset  )  [pure virtual]

Set current shake position, a feature needed for some SCUMM screen effects. The effect causes the displayed graphics to be shifted upwards by the specified (always positive) offset. The area at the bottom of the screen which is moved into view by this is filled with black. This does not cause any graphic data to be lost - that is, to restore the original view, the game engine only has to call this method again with offset equal to zero. No calls to copyRectToScreen are necessary.

Parameters:
shakeOffset the shake offset
Note:
This is currently used in the SCUMM, QUEEN and KYRA engines.


Generated by  Doxygen 1.6.0   Back to index