22 #ifndef TITANIC_DIRECT_DRAW_SURFACE_H 23 #define TITANIC_DIRECT_DRAW_SURFACE_H 25 #include "common/scummsys.h" 26 #include "common/array.h" 27 #include "graphics/managed_surface.h" 28 #include "titanic/support/rect.h" 41 DDSurfaceDesc(
int w,
int h,
int bpp) : _w(w), _h(h), _bpp(bpp),
42 _flags(0x1006), _caps(64) {}
48 DisposeAfterUse::Flag _disposeAfterUse;
56 void create(
int w,
int h,
int bpp);
107 void fill(
const Rect *bounds, uint32 color);
112 void fillRect(
Rect *rect, byte r, byte g, byte b);
Definition: managed_surface.h:51
int16 & w
Definition: managed_surface.h:117
Definition: direct_draw_surface.h:45
int32 & pitch
Definition: managed_surface.h:119
int getSize() const
Definition: direct_draw_surface.h:71
int16 & h
Definition: managed_surface.h:118
int getHeight() const
Definition: direct_draw_surface.h:81
const Graphics::PixelFormat & getFormat()
Definition: direct_draw_surface.h:91
signed char * fill(signed char *first, signed char *last, Value val)
Definition: algorithm.h:168
Definition: direct_draw_surface.h:34
PixelFormat & format
Definition: managed_surface.h:120
int getWidth() const
Definition: direct_draw_surface.h:76
int getPitch() const
Definition: direct_draw_surface.h:86