mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
LAB: Get rid of _interfaceOff
This commit is contained in:
parent
afa75b7047
commit
f3cdd217ba
@ -286,18 +286,12 @@ Common::String LabEngine::getInvName(uint16 curInv) {
|
||||
}
|
||||
|
||||
void LabEngine::interfaceOff() {
|
||||
if (!_interfaceOff) {
|
||||
_interface->attachButtonList(nullptr);
|
||||
_event->mouseHide();
|
||||
_interfaceOff = true;
|
||||
}
|
||||
_interface->attachButtonList(nullptr);
|
||||
_event->mouseHide();
|
||||
}
|
||||
|
||||
void LabEngine::interfaceOn() {
|
||||
if (_interfaceOff) {
|
||||
_interfaceOff = false;
|
||||
_event->mouseShow();
|
||||
}
|
||||
_event->mouseShow();
|
||||
|
||||
if (_graphics->_longWinInFront)
|
||||
_interface->attachButtonList(nullptr);
|
||||
|
@ -93,7 +93,6 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc)
|
||||
_journalBackImage = nullptr;
|
||||
|
||||
_lastTooLong = false;
|
||||
_interfaceOff = false;
|
||||
_alternate = false;
|
||||
|
||||
for (int i = 0; i < 20; i++)
|
||||
|
@ -125,7 +125,6 @@ class LabEngine : public Engine {
|
||||
friend class Console;
|
||||
|
||||
private:
|
||||
bool _interfaceOff;
|
||||
bool _isCrumbWaiting;
|
||||
bool _lastTooLong;
|
||||
bool _lastPage;
|
||||
|
Loading…
x
Reference in New Issue
Block a user