aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2005-05-08 17:44:54 +0000
committerMax Horn2005-05-08 17:44:54 +0000
commit0dffba3c436e4645556a77b9486580a79893c756 (patch)
treef09162a9be80e996372a29ef6e0b7984e7bb6ebf /common
parent74f15bea74f140a1c71db12be970f25f21e315a0 (diff)
downloadscummvm-rg350-0dffba3c436e4645556a77b9486580a79893c756.tar.gz
scummvm-rg350-0dffba3c436e4645556a77b9486580a79893c756.tar.bz2
scummvm-rg350-0dffba3c436e4645556a77b9486580a79893c756.zip
oops
svn-id: r17971
Diffstat (limited to 'common')
-rw-r--r--common/system.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/common/system.h b/common/system.h
index bcfdfe704a..262a88c3b9 100644
--- a/common/system.h
+++ b/common/system.h
@@ -28,10 +28,6 @@
#include "common/rect.h"
#include "common/singleton.h"
-namespace Graphics {
-class Surface;
-} // end of namespace Graphics
-
class SaveFileManager;
/**
@@ -365,16 +361,6 @@ public:
* API are probably going to remove it.
*/
virtual void setPalette(const byte *colors, uint start, uint num) = 0;
-
- /**
- * Grabs a specified part of the palette
- * format is like it is described in setPalette
- *
- * @param buf the buffer
- * @param start the first platte entry
- * @param num nummber of the entries
- */
- virtual void grabPalette(byte *colors, uint start, uint num) = 0;
/**
* Blit a bitmap to the virtual screen.
@@ -385,28 +371,6 @@ public:
* @see updateScreen
*/
virtual void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h) = 0;
-
- /**
- * Copies the screen to a surface
- * if bitsPerPixel = 15 a RGB555 format is used
- * if bitsPerPixel = 16 a RGB565 format is used
- * WARNING: surf->free() musst be called by the user
- *
- * @param surf the surfce to store the data in it
- * @param bitsPerPixel must be higher than 15 and lower than 16
- */
- virtual void grabScreen(Graphics::Surface *surf, int bitsPerPixel);
-
- /**
- * Copies the screen to a surface (with original bit depth)
- * It should return a 1 byte per pixel surface in all cases
- * because currently all games supported by ScummVM are
- * using 1 byte per pixel.
- * WARNING: surf->free() musst be called by the user
- *
- * @param surf the surfce to store the data in it
- */
- virtual void grabRawScreen(Graphics::Surface *surf) = 0;
/**
* Clear the screen to black.