22 #ifndef SCI_GRAPHICS_PICTURE_H 23 #define SCI_GRAPHICS_PICTURE_H 29 #define SCI_PATTERN_CODE_RECTANGLE 0x10 30 #define SCI_PATTERN_CODE_USE_TEXTURE 0x20 31 #define SCI_PATTERN_CODE_PENSIZE 0x07 34 SCI_PICTURE_TYPE_REGULAR = 0,
35 SCI_PICTURE_TYPE_SCI11 = 1,
36 SCI_PICTURE_TYPE_SCI32 = 2
42 class GfxCoordAdjuster16;
43 class ResourceManager;
55 GuiResourceId getResourceId();
56 void draw(
bool mirroredFlag,
bool addToFlag, int16 EGApaletteNo);
59 void initData(GuiResourceId resourceId);
64 void drawCelData(
const SciSpan<const byte> &inbuffer,
int headerPos,
int rlePos,
int literalPos, int16 drawX, int16 drawY, int16 pictureX, int16 pictureY,
bool isEGA);
66 bool vectorIsNonOpcode(byte pixel);
68 void vectorGetAbsCoordsNoMirror(
const SciSpan<const byte> &data, uint &curPos, int16 &x, int16 &y);
70 void vectorGetRelCoordsMed(
const SciSpan<const byte> &data, uint &curPos, int16 &x, int16 &y);
71 void vectorGetPatternTexture(
const SciSpan<const byte> &data, uint &curPos, int16 pattern_Code, int16 &pattern_Texture);
72 void vectorFloodFill(int16 x, int16 y, byte color, byte prio, byte control);
73 void vectorPattern(int16 x, int16 y, byte pic_color, byte pic_priority, byte pic_control, byte code, byte texture);
75 void vectorPatternTexturedBox(
Common::Rect box,
Common::Rect clipBox, byte color, byte prio, byte control, byte texture);
77 void vectorPatternTexturedCircle(
Common::Rect box,
Common::Rect clipBox, byte size, byte color, byte prio, byte control, byte texture);
95 bool _EGAdrawingVisualize;
100 #endif // SCI_GRAPHICS_PICTURE_H
Definition: resource.h:327
Definition: coordadjuster.h:37
Definition: resource.h:256