Implemented support for VMDs substituting object animations.
Still far from being complete (and correct), but it's a start... - Only VMD "command" -3 is followed - Not all animation types are working - Timing is still off in most cases - Offsets are generally OK, but not always - No sound yet - Shouldn't segfault randomly, but I'm not entirely sure ;) svn-id: r31750
This commit is contained in:
parent
1d167da633
commit
ab1a3b0cc8
18 changed files with 1355 additions and 197 deletions
|
@ -331,12 +331,12 @@ void Util::waitEndFrame() {
|
|||
void Util::setScrollOffset(int16 x, int16 y) {
|
||||
processInput();
|
||||
|
||||
if(x >= 0)
|
||||
if (x >= 0)
|
||||
_vm->_video->_scrollOffsetX = x;
|
||||
else
|
||||
_vm->_video->_scrollOffsetX = _vm->_draw->_scrollOffsetX;
|
||||
|
||||
if(y >= 0)
|
||||
if (y >= 0)
|
||||
_vm->_video->_scrollOffsetY = y;
|
||||
else
|
||||
_vm->_video->_scrollOffsetY = _vm->_draw->_scrollOffsetY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue