From 2ca0235f44a1144aa248a497428fd59fd11840d7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 29 Nov 2017 21:34:28 -0500 Subject: XEEN: Refactor FontSurface as ancestors of Window, not Screen This refactoring allowed Screen to now simply derive from Graphics::Screen, and several duplicated methods could be removed. --- engines/xeen/scripts.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines/xeen/scripts.cpp') diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 9b28a0cc5e..5c09f9f5bd 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -136,7 +136,6 @@ int Scripts::checkEvents() { Interface &intf = *_vm->_interface; Map &map = *_vm->_map; Party &party = *_vm->_party; - Screen &screen = *_vm->_screen; Sound &sound = *_vm->_sound; Town &town = *_vm->_town; Windows &windows = *_vm->_windows; @@ -1819,7 +1818,6 @@ bool Scripts::copyProtectionCheck() { void Scripts::display(bool justifyFlag, int var46) { EventsManager &events = *_vm->_events; Interface &intf = *_vm->_interface; - Screen &screen = *_vm->_screen; Windows &windows = *_vm->_windows; Window &w = windows[_windowIndex]; -- cgit v1.2.3