49 kTransitionScrollWipe,
50 kTransitionScrollBlack,
51 kTransitionScrollBounce,
52 kTransitionTransporter,
53 kTransitionReadFirstFrame,
54 kTransitionReadNextFrame
64 uint16 fadeNumIn(uint16 num, uint16 res, uint16 counter);
65 uint16 fadeNumOut(uint16 num, uint16 res, uint16 counter);
72 void createBox(uint16 y2);
77 void createScreen(
bool hiRes);
83 void copyPage(uint16 width, uint16 height, uint16 nheight, uint16 startline,
byte *mem);
93 void doScrollBounce();
103 void drawHLine(uint16 x, uint16 y1, uint16 y2,
byte color);
108 void drawVLine(uint16 x1, uint16 y, uint16 x2,
byte color);
126 bool _actionMessageShown;
128 byte _curVgaPal[256 * 3];
129 byte *_currentDisplayBuffer;
136 void loadBackPict(
const Common::String &fileName, uint16 *highPal);
141 void readPict(
const Common::String &filename,
bool playOnce =
true,
bool onlyDiffData =
false,
byte *memoryBuffer =
nullptr);
181 void setActionMessage(
bool val) { _actionMessageShown = val; }
186 void rectFill(uint16 x1, uint16 y1, uint16 x2, uint16 y2,
byte color);
188 void rectFillScaled(uint16 x1, uint16 y1, uint16 x2, uint16 y2,
byte color);
206 bool centerh,
bool centerv,
bool output,
Common::Rect textRect,
const char *text,
Image *targetImage =
nullptr);
227 void setPalette(
void *newPal, uint16 numColors);
244 void scrollDisplayX(int16 dx, uint16 x1, uint16 y1, uint16 x2, uint16 y2,
byte *buffer);
249 void scrollDisplayY(int16 dy, uint16 x1, uint16 y1, uint16 x2, uint16 y2,
byte *buffer);
250 void fade(
bool fadein);
262 bool _longWinInFront;
263 bool _lastMessageLong;
264 uint32 _screenBytesPerPage;
267 byte *_displayBuffer;
268 uint16 *_fadePalette;
void doTransition(TransitionType transitionType, const Common::String &filename)
void readPict(const Common::String &filename, bool playOnce=true, bool onlyDiffData=false, byte *memoryBuffer=nullptr)
uint16 textHeight(TextFont *tf)
void setAmigaPal(uint16 *pal)
void writeColorRegs(byte *buf, uint16 first, uint16 numReg)
void freeFont(TextFont **font)
void drawMessage(Common::String str, bool isActionMessage)
void scrollDisplayX(int16 dx, uint16 x1, uint16 y1, uint16 x2, uint16 y2, byte *buffer)
void rectFill(uint16 x1, uint16 y1, uint16 x2, uint16 y2, byte color)
byte * getCurrentDrawingBuffer()
void checkerBoardEffect(uint16 penColor, uint16 x1, uint16 y1, uint16 x2, uint16 y2)
void scrollDisplayY(int16 dy, uint16 x1, uint16 y1, uint16 x2, uint16 y2, byte *buffer)
int flowText(TextFont *font, int16 spacing, byte penColor, byte backPen, bool fillBack, bool centerh, bool centerv, bool output, Common::Rect textRect, const char *text, Image *targetImage=nullptr)