22 #ifndef SCI_GRAPHICS_PAINT16_H 23 #define SCI_GRAPHICS_PAINT16_H 43 void debugSetEGAdrawingVisualize(
bool state);
45 void drawPicture(GuiResourceId pictureId,
bool mirroredFlag,
bool addToFlag, GuiResourceId paletteId);
46 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);
47 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);
48 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);
49 void drawHiresCelAndShow(GuiResourceId viewId, int16 loopNo, int16 celNo, uint16 leftPos, uint16 topPos, byte priority, uint16 paletteNo,
reg_t upscaledHiresHandle, uint16 scaleX = 128, uint16 scaleY = 128);
51 void clearScreen(byte color = 255);
56 void fillRect(
const Common::Rect &rect, int16 drawFlags, byte color, byte priority = 0, byte control = 0);
60 reg_t bitsSave(
const Common::Rect &rect, byte screenFlags,
bool hiresFlag =
false);
62 void bitsRestore(
reg_t memoryHandle);
63 void bitsFree(
reg_t memoryHandle);
65 void kernelDrawPicture(GuiResourceId pictureId, int16 animationNr,
bool animationBlackoutFlag,
bool mirroredFlag,
bool addToFlag, int16 EGApaletteNo);
66 void kernelDrawCel(GuiResourceId viewId, int16 loopNo, int16 celNo, uint16 leftPos, uint16 topPos, int16 priority, uint16 paletteNo, uint16 scaleX, uint16 scaleY,
bool hiresMode,
reg_t upscaledHiresHandle);
68 void kernelGraphFillBoxForeground(
const Common::Rect &rect);
69 void kernelGraphFillBoxBackground(
const Common::Rect &rect);
70 void kernelGraphFillBox(
const Common::Rect &rect, uint16 colorMask, int16 color, int16 priority, int16 control);
71 void kernelGraphFrameBox(
const Common::Rect &rect, int16 color);
74 void kernelGraphRestoreBox(
reg_t handle);
78 reg_t kernelDisplay(
const char *text, uint16 languageSplitter,
int argc,
reg_t *argv);
81 void kernelPortraitShow(
const Common::String &resourceName,
Common::Point position, uint16 resourceNum, uint16 noun, uint16 verb, uint16 cond, uint16 seq);
82 void kernelPortraitUnload(uint16 portraitId);
98 bool _EGAdrawingVisualize;
103 #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