diff options
author | Eugene Sandulenko | 2013-08-21 01:01:20 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:17 +0300 |
commit | 625de9c9a38026a298177c129751fbd48c274b0a (patch) | |
tree | 70c80280f727d8aec0183091d338a8dcd09d18d3 /engines/fullpipe/inventory.cpp | |
parent | 14ca32ee97c46a155dda057c6c9d3a50528b68f3 (diff) | |
download | scummvm-rg350-625de9c9a38026a298177c129751fbd48c274b0a.tar.gz scummvm-rg350-625de9c9a38026a298177c129751fbd48c274b0a.tar.bz2 scummvm-rg350-625de9c9a38026a298177c129751fbd48c274b0a.zip |
FULLPIPE: Implement CInventory2::slideIn()
Diffstat (limited to 'engines/fullpipe/inventory.cpp')
-rw-r--r-- | engines/fullpipe/inventory.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/fullpipe/inventory.cpp b/engines/fullpipe/inventory.cpp index 8dc856e9c5..c7e1fbcf70 100644 --- a/engines/fullpipe/inventory.cpp +++ b/engines/fullpipe/inventory.cpp @@ -110,6 +110,18 @@ void CInventory2::draw() { warning("STUB: CInventory2::draw()"); } +void CInventory2::slideIn() { + _isInventoryOut = false; + + ExCommand *ex = new ExCommand(0, 17, 65, 0, 0, 0, 1, 0, 0, 0); + + ex->_field_2C = 10; + ex->_field_14 = _isInventoryOut; + ex->_field_20 = !_isInventoryOut; + ex->_excFlags |= 3; + ex->postMessage(); +} + void CInventory2::slideOut() { _isInventoryOut = true; |