diff options
author | Thomas Fach-Pedersen | 2017-03-28 17:50:04 +0200 |
---|---|---|
committer | Thomas Fach-Pedersen | 2017-03-28 17:50:11 +0200 |
commit | 5f552c9446ddf3f02ec99ff6902822d66d2cc955 (patch) | |
tree | b28610bf509c67109a042136873fd26b93d9fcf2 /engines/bladerunner/item_pickup.cpp | |
parent | 532828c143e0872525dadfe8b0ebe804f7071633 (diff) | |
download | scummvm-rg350-5f552c9446ddf3f02ec99ff6902822d66d2cc955.tar.gz scummvm-rg350-5f552c9446ddf3f02ec99ff6902822d66d2cc955.tar.bz2 scummvm-rg350-5f552c9446ddf3f02ec99ff6902822d66d2cc955.zip |
BLADERUNNER: Implement ZBuffer class
Diffstat (limited to 'engines/bladerunner/item_pickup.cpp')
-rw-r--r-- | engines/bladerunner/item_pickup.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/bladerunner/item_pickup.cpp b/engines/bladerunner/item_pickup.cpp index aa293c2b9b..7549c8db01 100644 --- a/engines/bladerunner/item_pickup.cpp +++ b/engines/bladerunner/item_pickup.cpp @@ -26,8 +26,9 @@ #include "bladerunner/audio_player.h" #include "bladerunner/gameinfo.h" -#include "slice_animations.h" -#include "slice_renderer.h" +#include "bladerunner/slice_animations.h" +#include "bladerunner/slice_renderer.h" +#include "bladerunner/zbuffer.h" namespace BladeRunner { @@ -103,6 +104,6 @@ void ItemPickup::draw() { return; } - _vm->_sliceRenderer->drawOnScreen(_animationId, _animationFrame, _screenX, _screenY, _facing, _scale, _vm->_surface2, _vm->_zBuffer2); + _vm->_sliceRenderer->drawOnScreen(_animationId, _animationFrame, _screenX, _screenY, _facing, _scale, _vm->_surface2, _vm->_zbuffer->getData()); } } // End of namespace BladeRunner |