22 #ifndef M4_GRAPHICS_GR_SURFACE_H 23 #define M4_GRAPHICS_GR_SURFACE_H 25 #include "common/types.h" 26 #include "m4/m4_types.h" 32 DisposeAfterUse::Flag _disposeAfterUse = DisposeAfterUse::NO;
34 void drawInner(
const Buffer &src,
const byte *depthCodes,
int x,
int y,
35 bool forwards,
int srcDepth,
const byte *palette,
const byte *inverseColorTable);
41 M4Surface(
const byte *src,
int sw,
int sh);
49 void rleDraw(
const byte *src,
int x = 0,
int y = 0);
54 void draw(
const Buffer &src,
int x,
int y,
bool forwards =
true,
55 const byte *depthCodes =
nullptr,
int srcDepth = -1,
56 const byte *inverseColorTable =
nullptr,
const byte *palette =
nullptr);
void draw(const Buffer &src, int x, int y, bool forwards=true, const byte *depthCodes=nullptr, int srcDepth=-1, const byte *inverseColorTable=nullptr, const byte *palette=nullptr)
void rleDraw(const byte *src, int x=0, int y=0)
Definition: m4_types.h:67
Definition: database.h:28
Definition: gr_surface.h:30