diff options
author | Peter Kohaut | 2016-09-12 00:54:40 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-29 22:33:41 +0200 |
commit | ae03eda3d131017d630139ae63972ebcf75e3fa7 (patch) | |
tree | 0fcd8d945634caea4f83cfbc2380741665c01f9e /engines/bladerunner/slice_animations.cpp | |
parent | c6011c1349364fcd9ffd29e3b44ce58bc681d3db (diff) | |
download | scummvm-rg350-ae03eda3d131017d630139ae63972ebcf75e3fa7.tar.gz scummvm-rg350-ae03eda3d131017d630139ae63972ebcf75e3fa7.tar.bz2 scummvm-rg350-ae03eda3d131017d630139ae63972ebcf75e3fa7.zip |
BLADERUNNER: add more logic to actor::tick, added support for looking up scene objects
Diffstat (limited to 'engines/bladerunner/slice_animations.cpp')
-rw-r--r-- | engines/bladerunner/slice_animations.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/bladerunner/slice_animations.cpp b/engines/bladerunner/slice_animations.cpp index 8497620265..aafd26885a 100644 --- a/engines/bladerunner/slice_animations.cpp +++ b/engines/bladerunner/slice_animations.cpp @@ -170,4 +170,12 @@ void *SliceAnimations::getFramePtr(uint32 animation, uint32 frame) { return (byte*)_pages[page]._data + pageOffset; } +Vector3 SliceAnimations::getPositionChange(int animation) { + return _animations[animation].positionChange; +} + +float SliceAnimations::getFacingChange(int animation) { + return _animations[animation].facingChange; +} + } // End of namespace BladeRunner |