diff options
author | Filippos Karapetis | 2009-03-18 11:07:29 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-03-18 11:07:29 +0000 |
commit | c9eff6e1f87231f63b3cd4a5dce4b04ffac96075 (patch) | |
tree | 85bd3b70fd6ea022d3ae4876dae33e25df7bf40e /engines/sci/gfx/operations.h | |
parent | 739181c3b7bdc9dac18c696e0928819a836e1bf0 (diff) | |
download | scummvm-rg350-c9eff6e1f87231f63b3cd4a5dce4b04ffac96075.tar.gz scummvm-rg350-c9eff6e1f87231f63b3cd4a5dce4b04ffac96075.tar.bz2 scummvm-rg350-c9eff6e1f87231f63b3cd4a5dce4b04ffac96075.zip |
Cleaned up graphics initialization a bit
svn-id: r39513
Diffstat (limited to 'engines/sci/gfx/operations.h')
-rw-r--r-- | engines/sci/gfx/operations.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/engines/sci/gfx/operations.h b/engines/sci/gfx/operations.h index e3ed29533b..6a5965d9bc 100644 --- a/engines/sci/gfx/operations.h +++ b/engines/sci/gfx/operations.h @@ -139,18 +139,9 @@ struct gfx_state_t { /* Fundamental operations */ /**************************/ -int gfxop_init_default(gfx_state_t *state, gfx_options_t *options, ResourceManager *resManager); -/* Initializes a graphics mode suggested by the graphics driver -** Parameters: (gfx_state_ t *) state: The state to initialize in that mode -** (gfx_options_t *) options: Rendering options -** (void *) misc_info: Additional information for the interpreter -** part of the resource loader -** Returns : (int) GFX_OK on success, GFX_FATAL otherwise -*/ - -int gfxop_init(gfx_state_t *state, int xfact, int yfact, gfx_color_mode_t bpp, - gfx_options_t *options, ResourceManager *resManager); -/* Initializes a custom graphics mode +int gfxop_init(gfx_state_t *state, gfx_options_t *options, ResourceManager *resManager, + int xfact = 1, int yfact = 1, gfx_color_mode_t bpp = GFX_COLOR_MODE_INDEX); +/* Initializes a graphics mode ** Parameters: (gfx_state_t *) state: The state to initialize ** (int x int) xfact, yfact: Horizontal and vertical scale factors ** (gfx_color_mode_t) bpp: Bytes per pixel to initialize with, or |