22 #ifndef TRECISION_GRAPHICS_H 23 #define TRECISION_GRAPHICS_H 25 #include "common/rect.h" 26 #include "graphics/pixelformat.h" 27 #include "graphics/surface.h" 30 class SeekableReadStream;
35 class TrecisionEngine;
62 uint16 aliasing(uint32 val1, uint32 val2, uint8 num);
66 void paintObjAnm(uint16 curBox);
76 void copyToScreen(
int x,
int y,
int w,
int h);
77 void copyToScreenBuffer(
const Graphics::Surface *surface,
int x,
int y,
const byte *palette);
78 void blitToScreenBuffer(
const Graphics::Surface *surface,
int x,
int y,
const byte *palette,
bool useSmkBg);
79 void paintScreen(
bool flag);
81 void clearScreenBuffer();
82 void clearScreenBufferTop();
83 void clearScreenBufferInventory();
84 void clearScreenBufferSaveSlotDescriptions();
85 void drawLeftInventoryArrow(byte startLine);
86 void drawRightInventoryArrow(byte startLine);
87 void drawInventoryIcon(byte iconIndex, byte iconSlot, byte startLine);
88 void drawSaveSlotThumbnail(byte iconIndex, byte iconSlot, byte startLine);
92 void drawTexturePixel(uint16 textureX, uint16 textureY, uint16 screenX, uint16 screenY);
94 uint16 convertToScreenFormat(uint16 color)
const;
96 void shadow(uint16 x, uint16 y, uint8 num);
97 void pixelAliasing(uint16 x, uint16 y);
100 void addDirtyRect(
Common::Rect rect,
bool translateRect);
102 uint16 getCharWidth(byte character);
105 bool isCursorVisible();
Definition: trecision.h:112
Definition: graphics.h:37
Definition: algorithm.h:29
Definition: graphics.h:42