diff options
| -rw-r--r-- | engines/fullpipe/inventory.cpp | 12 | ||||
| -rw-r--r-- | engines/fullpipe/inventory.h | 1 | 
2 files changed, 13 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; diff --git a/engines/fullpipe/inventory.h b/engines/fullpipe/inventory.h index 8b7c854e9a..f451b6a5da 100644 --- a/engines/fullpipe/inventory.h +++ b/engines/fullpipe/inventory.h @@ -105,6 +105,7 @@ class CInventory2 : public CInventory {  	int getSelectedItemId() { return _selectedId < 0 ? 0 : _selectedId; }  	int getHoveredItem(Common::Point *point); +	void slideIn();  	void slideOut();  	int handleLeftClick(ExCommand *cmd); | 
