22 #ifndef MADS_MSURFACE_H 23 #define MADS_MSURFACE_H 25 #include "common/scummsys.h" 26 #include "common/path.h" 27 #include "common/rect.h" 28 #include "graphics/screen.h" 29 #include "mads/palette.h" 46 byte *inverseColorTable;
60 int scaleValue(
int value,
int scale,
int err);
128 void scrollX(
int xAmount);
134 void scrollY(
int yAmount);
144 void translate(byte map[PALETTE_COUNT]);
155 void copyRectTranslate(
BaseSurface &srcSurface,
const byte *paletteMap,
169 int scale,
bool flipped,
int transparentColor = -1);
Definition: msurface.h:55
int _depthStyle
Definition: msurface.h:189
BaseSurface()
Definition: msurface.h:77
const void * getBasePtr(int x, int y) const
Definition: managed_surface.h:250
BaseSurface(int width, int height)
Definition: msurface.h:84
Common::Rect getBounds()
Definition: msurface.h:94
void addDirtyRect(const Common::Rect &r) override
Definition: msurface.h:178
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)
void * getPixels()
Definition: managed_surface.h:269
Definition: msurface.h:184
Definition: formatinfo.h:28
static void setVm(MADSEngine *vm)
Definition: msurface.h:67
DepthSurface()
Definition: msurface.h:194
virtual void load(const Common::Path &resName)
Definition: msurface.h:72
const byte * getBasePtr(int x, int y) const
Definition: msurface.h:114
const void * getPixels() const
Definition: msurface.h:104
~BaseSurface() override
Definition: msurface.h:89
Definition: msurface.h:172
byte * getPixels()
Definition: msurface.h:99
Definition: msurface.h:40
byte * getBasePtr(int x, int y)
Definition: msurface.h:109
Definition: sprites.h:109