24#include "common/system.h"
26#include "graphics/fonts/bgifont.h"
30const int kTextAreaSize = 320 * 70 + 4;
38 void fixPalette(
byte *palette, uint num = 768);
40 void setPalette(
byte palette[768], uint start = 0, uint num = 256);
43 void totalFadeOut(
byte red);
44 void partialFadeOut(
byte numCol);
46 void redFadeIn(
byte *palette);
47 void partialFadeIn(
byte numCol);
48 void updatePalette(
byte paletteIndex);
49 void fadePalettes(
byte *fromPalette,
byte *toPalette);
50 void copyPalette(
byte *from,
byte *to);
52 void putImg(uint coordx, uint coordy,
byte *image,
bool transparency =
false);
53 void getImg(uint coordx1, uint coordy1, uint coordx2, uint coordy2,
byte *image);
54 void putShape(uint coordx, uint coordy,
byte *image);
55 void putImageArea(uint putcoordx, uint putcoordy,
byte *backgroundScreen,
byte *image);
56 void getImageArea(uint getcoordx1, uint getcoordy1, uint getcoordx2, uint getcoordy2,
byte *backgroundScreen,
byte *image);
61 void biosText(
const Common::String &str,
int x,
int y, uint32 color);
65 void clearActionLine();
68 void drawFullScreen(
byte *screen);
69 void copyFromScreen(
byte *&screen);
70 void drawScreen(
byte *screen,
bool offsetSize =
true);
71 void restoreBackground();
72 void restoreBackgroundArea(uint x, uint y, uint x2, uint y2);
74 void sceneTransition(
bool fadeToBlack,
byte *screen,
byte effectNumber);
75 void sceneTransition(
bool fadeToBlack,
byte *screen);
77 void advancePaletteAnim();
78 void printColor(
int x,
int y,
int color);
79 void updateSceneArea(
int speed = 1);
103 signed char fadeData[256][256];
Definition: graphics.h:32
byte _pal[768]
Definition: graphics.h:96
byte _palAnimStep
Definition: graphics.h:88
byte _paletteAnimFrame
Definition: graphics.h:84
byte _palAnimSlice[768]
Definition: graphics.h:92
byte * _textAreaBackground
Definition: graphics.h:101
TextAlign
Definition: font.h:48
@ kTextAlignLeft
Align the text to the left.
Definition: font.h:51