- Unified the screen buffers that are used by the current and the new GUI

- Replaced the FreeSCI line drawing code (which is actually Bresenham) with Graphics::drawLine(), after discussing with waltervn. This shouldn't bring any regressions, as we're no longer offering the option to scale the background at a vector level. After playing through some of the games, I haven't noticed any regressions
- Some cleanup

svn-id: r44692
This commit is contained in:
Filippos Karapetis 2009-10-06 12:26:13 +00:00
parent 8e108cc0a0
commit df29b0067e
17 changed files with 93 additions and 170 deletions

View file

@ -38,9 +38,8 @@
namespace Sci {
SciGui::SciGui(OSystem *system, EngineState *state)
: _system(system), _s(state) {
_screen = new SciGuiScreen(_system, _s);
SciGui::SciGui(OSystem *system, EngineState *state, SciGuiScreen *screen)
: _system(system), _s(state), _screen(screen) {
_gfx = new SciGuiGfx(_system, _s, _screen);
_windowMgr = new SciGuiWindowMgr(_s, _gfx);
}