diff options
author | Max Horn | 2010-05-04 11:58:12 +0000 |
---|---|---|
committer | Max Horn | 2010-05-04 11:58:12 +0000 |
commit | b3e404109c31160c978a17ebe497b9bdef9ff51a (patch) | |
tree | 816b6a2d9d1ba5b7634d0a606a8507c9b9ab6e7b /engines/engine.h | |
parent | 5568a8473b975dc2e7e0d1f1ae075ebd6d96f2f3 (diff) | |
download | scummvm-rg350-b3e404109c31160c978a17ebe497b9bdef9ff51a.tar.gz scummvm-rg350-b3e404109c31160c978a17ebe497b9bdef9ff51a.tar.bz2 scummvm-rg350-b3e404109c31160c978a17ebe497b9bdef9ff51a.zip |
Move initGraphics and initCommonGFX from to new header.
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.
svn-id: r48934
Diffstat (limited to 'engines/engine.h')
-rw-r--r-- | engines/engine.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/engines/engine.h b/engines/engine.h index fc05a0bed4..ead1526d72 100644 --- a/engines/engine.h +++ b/engines/engine.h @@ -28,8 +28,6 @@ #include "common/scummsys.h" #include "common/error.h" #include "common/str.h" -#include "common/list.h" -#include "graphics/pixelformat.h" class OSystem; @@ -47,28 +45,6 @@ namespace GUI { } /** - * Setup the backend's graphics mode. - */ -void initCommonGFX(bool defaultTo1XScaler); - -/** - * Setup the backend's screen size and graphics mode. - * - * Shows an various warnings on certain backend graphics - * transaction failures (aspect switch, fullscreen switch, etc.). - * - * Errors out when backend is not able to switch to the specified - * mode. - * - * Defaults to 256 color paletted mode if no graphics format is provided. - * Uses the backend's preferred format if graphics format pointer is NULL. - * Finds the best compatible format if a list of graphics formats is provided. - */ -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. */ void GUIErrorMessage(const Common::String msg); |