LAB: Reduce passing around of pointers to the near-global _closeDataPtr

This commit is contained in:
Willem Jan Palenstijn 2015-12-26 14:18:44 +01:00
parent f72de724e9
commit 01d99d213d
6 changed files with 26 additions and 26 deletions

View file

@ -219,7 +219,7 @@ public:
/**
* Returns the current picture name.
*/
Common::String getPictName(CloseDataPtr *closePtrList);
Common::String getPictName(bool useClose);
uint16 getQuarters();
void setDirection(uint16 direction) { _direction = direction; };
void setQuarters(uint16 quarters);
@ -470,7 +470,7 @@ private:
/**
* Takes the currently selected item.
*/
bool takeItem(Common::Point pos, CloseDataPtr *closePtrList);
bool takeItem(Common::Point pos);
/**
* Does the turn page wipe.