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 by 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 a 0 offset. No calls to copyRectToScreen are necessary.

shakeOffset the shake offset
This is a rather special screen effect, only used by the SCUMM frontend - we should consider removing it from the backend API and instead implement the functionality in the frontend.

Generated by  Doxygen 1.6.0   Back to index