Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

void OSystem_Dreamcast::setShakePos ( int  shakeOffset ) [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:
shakeOffsetthe shake offset
Note:
This is currently used in the SCUMM, QUEEN and KYRA engines.

Implements OSystem.

Definition at line 330 of file display.cpp.

{
  _current_shake_pos = shake_pos;
}

Generated by  Doxygen 1.6.0   Back to index