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);
40 M4Surface(
const byte *src,
int sw,
int sh);
48 void rleDraw(
const byte *src,
int x = 0,
int y = 0);
53 void draw(
const Buffer &src,
int x,
int y,
bool forwards =
true,
54 const byte *depthCodes =
nullptr,
int srcDepth = -1,
55 const byte *inverseColorTable =
nullptr,
const byte *palette =
nullptr);
Definition: gr_surface.h:30
void rleDraw(const byte *src, int x=0, int y=0)
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)
Definition: database.h:28
Definition: m4_types.h:54