diff options
author | Jody Northup | 2009-07-10 10:43:48 +0000 |
---|---|---|
committer | Jody Northup | 2009-07-10 10:43:48 +0000 |
commit | 2f370ef8ab65db8443c496c47de98740b31c4220 (patch) | |
tree | d01b76ed537ee529d3ed834e334556db7e83bec1 /engines/engine.h | |
parent | cf6d4c0b209e7bdce7a948e2a01882f3f2d53d31 (diff) | |
download | scummvm-rg350-2f370ef8ab65db8443c496c47de98740b31c4220.tar.gz scummvm-rg350-2f370ef8ab65db8443c496c47de98740b31c4220.tar.bz2 scummvm-rg350-2f370ef8ab65db8443c496c47de98740b31c4220.zip |
Overloaded initGraphics to provide for simpler procedures for engines supporting more than one format.
svn-id: r42330
Diffstat (limited to 'engines/engine.h')
-rw-r--r-- | engines/engine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/engine.h b/engines/engine.h index d570f18073..0f5585378b 100644 --- a/engines/engine.h +++ b/engines/engine.h @@ -62,7 +62,9 @@ void initCommonGFX(bool defaultTo1XScaler); * * Defaults to 256 color paletted mode if no graphics format is provided. */ -void initGraphics(int width, int height, bool defaultTo1xScaler, const Graphics::PixelFormat *format = NULL); +void initGraphics(int width, int height, bool defaultTo1xScaler); +void initGraphics(int width, int height, bool defaultTo1xScaler, const Graphics::PixelFormat *format); +void initGraphics(int width, int height, bool defaultTo1xScaler, const Common::List<Graphics::PixelFormat> &formatList); /** * Initializes graphics and shows error message. |