diff options
| author | Filippos Karapetis | 2009-10-06 12:26:13 +0000 |
|---|---|---|
| committer | Filippos Karapetis | 2009-10-06 12:26:13 +0000 |
| commit | df29b0067e100e97f29d286178685257816f0972 (patch) | |
| tree | fcd50174daca7557431c8cb01c0233950bef4f1d /engines/sci/gfx/operations.h | |
| parent | 8e108cc0a0c76814ac533c51b361737ba5e8c867 (diff) | |
| download | scummvm-rg350-df29b0067e100e97f29d286178685257816f0972.tar.gz scummvm-rg350-df29b0067e100e97f29d286178685257816f0972.tar.bz2 scummvm-rg350-df29b0067e100e97f29d286178685257816f0972.zip | |
- 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
Diffstat (limited to 'engines/sci/gfx/operations.h')
| -rw-r--r-- | engines/sci/gfx/operations.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sci/gfx/operations.h b/engines/sci/gfx/operations.h index f20bbf176a..84dace4394 100644 --- a/engines/sci/gfx/operations.h +++ b/engines/sci/gfx/operations.h @@ -136,15 +136,14 @@ struct GfxState { * Initializes a graphics mode. * * @param[in] state The state to initialize - * @param[in] xfact Horizontal scale factor - * @param[in] yfact Vertical scale factors + * @param[in] scaleFactor Scale factor * @param[in] mode Graphics mode to use * @param[in] options Rendering options * @param[in] resMan Resource manager to use */ void gfxop_init(GfxState *state, gfx_options_t *options, ResourceManager *resMan, - int xfact = 1, int yfact = 1); + SciGuiScreen *screen, int scaleFactor = 1); /** * Deinitializes a currently active driver. |
