diff options
author | Paul Gilbert | 2017-11-29 21:34:28 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-11-29 21:34:28 -0500 |
commit | 2ca0235f44a1144aa248a497428fd59fd11840d7 (patch) | |
tree | fbf327976a40a5b3b5aab2802a9369c67211e2ca /engines/xeen/scripts.cpp | |
parent | 7c74f4f82697570f9627ce1c87eacf7cf7361d31 (diff) | |
download | scummvm-rg350-2ca0235f44a1144aa248a497428fd59fd11840d7.tar.gz scummvm-rg350-2ca0235f44a1144aa248a497428fd59fd11840d7.tar.bz2 scummvm-rg350-2ca0235f44a1144aa248a497428fd59fd11840d7.zip |
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.
Diffstat (limited to 'engines/xeen/scripts.cpp')
-rw-r--r-- | engines/xeen/scripts.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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]; |