22 #ifndef SCI_GRAPHICS_PAINT16_H 23 #define SCI_GRAPHICS_PAINT16_H 44 void debugSetEGAdrawingVisualize(
bool state);
46 void drawPicture(GuiResourceId pictureId,
bool mirroredFlag,
bool addToFlag, GuiResourceId paletteId);
47 void drawCelAndShow(GuiResourceId viewId, int16 loopNo, int16 celNo, uint16 leftPos, uint16 topPos, byte priority, uint16 paletteNo, uint16 scaleX = 128, uint16 scaleY = 128, uint16 scaleSignal = 0);
48 void drawCel(GuiResourceId viewId, int16 loopNo, int16 celNo,
const Common::Rect &celRect, byte priority, uint16 paletteNo, uint16 scaleX = 128, uint16 scaleY = 128, uint16 scaleSignal = 0);
49 void drawCel(
GfxView *view, int16 loopNo, int16 celNo,
const Common::Rect &celRect, byte priority, uint16 paletteNo, uint16 scaleX = 128, uint16 scaleY = 128, uint16 scaleSignal = 0);
50 void drawHiresCelAndShow(GuiResourceId viewId, int16 loopNo, int16 celNo, uint16 leftPos, uint16 topPos, byte priority, uint16 paletteNo,
reg_t hiresHandle,
bool storeDrawingInfo);
51 void redrawHiresCels();
53 void clearScreen(byte color = 255);
58 void fillRect(
const Common::Rect &rect, int16 drawFlags, byte color, byte priority = 0, byte control = 0);
62 reg_t bitsSave(
const Common::Rect &rect, byte screenFlags,
bool hiresFlag =
false);
64 void bitsRestore(
reg_t memoryHandle);
65 void bitsFree(
reg_t memoryHandle);
67 void kernelDrawPicture(GuiResourceId pictureId, int16 animationNr,
bool animationBlackoutFlag,
bool mirroredFlag,
bool addToFlag, int16 EGApaletteNo);
68 void kernelDrawCel(GuiResourceId viewId, int16 loopNo, int16 celNo, uint16 leftPos, uint16 topPos, int16 priority, uint16 paletteNo, uint16 scaleX, uint16 scaleY,
bool hiresMode,
reg_t hiresHandle);
70 void kernelGraphFillBoxForeground(
const Common::Rect &rect);
71 void kernelGraphFillBoxBackground(
const Common::Rect &rect);
72 void kernelGraphFillBox(
const Common::Rect &rect, uint16 colorMask, int16 color, int16 priority, int16 control);
73 void kernelGraphFrameBox(
const Common::Rect &rect, int16 color);
76 void kernelGraphRestoreBox(
reg_t handle);
80 reg_t kernelDisplay(
const char *text, uint16 languageSplitter,
int argc,
reg_t *argv);
83 void kernelPortraitShow(
const Common::String &resourceName,
Common::Point position, uint16 resourceNum, uint16 noun, uint16 verb, uint16 cond, uint16 seq);
84 void kernelPortraitUnload(uint16 portraitId);
100 bool _EGAdrawingVisualize;
106 void removeHiresDrawObject(
reg_t handle);
109 HiresDrawData *_hiresDrawObjs;
110 bool _hiresPortraitWorkaroundFlag;
115 #endif // SCI_GRAPHICS_PAINT16_H
Definition: resource.h:327
Definition: coordadjuster.h:37
Definition: seg_manager.h:48
Definition: transitions.h:62
Definition: vm_types.h:39