22 #ifndef ZVISION_RENDER_MANAGER_H 23 #define ZVISION_RENDER_MANAGER_H 25 #include "zvision/graphics/render_table.h" 26 #include "zvision/text/truetype_font.h" 28 #include "common/rect.h" 29 #include "common/hashmap.h" 31 #include "graphics/surface.h" 33 #include "zvision/graphics/graphics_effect.h" 39 class SeekableReadStream;
78 const int _screenCenterX;
80 const int _screenCenterY;
90 int16 _backgroundOffset;
92 uint16 _backgroundWidth;
94 uint16 _backgroundHeight;
129 SubtitleMap _subsList;
132 EffectsList _effects;
142 void renderSceneToScreen();
153 void renderImageToBackground(
const Common::Path &fileName, int16 destinationX, int16 destinationY);
163 void renderImageToBackground(
const Common::Path &fileName, int16 destX, int16 destY, uint32 colorkey);
174 void renderImageToBackground(
const Common::Path &fileName, int16 destX, int16 destY, int16 keyX, int16 keyY);
194 void setBackgroundPosition(
int offset);
208 uint32 getCurrentBackgroundOffset();
222 void scaleBuffer(
const void *src,
void *dst, uint32 srcWidth, uint32 srcHeight, byte bytesPerPixel, uint32 dstWidth, uint32 dstHeight);
229 void blitSurfaceToBkg(
const Graphics::Surface &src,
int x,
int y, int32 colorkey = -1);
235 void blitSurfaceToMenu(
const Graphics::Surface &src,
int x,
int y, int32 colorkey = -1);
239 void initSubArea(uint32 windowWidth, uint32 windowHeight,
const Common::Rect workingWindow);
243 uint16 createSubArea();
246 void deleteSubArea(uint16
id);
247 void deleteSubArea(uint16
id, int16 delay);
253 void processSubs(uint16 deltatime);
266 void clearMenuSurface();
270 void renderMenuToScreen();
273 void prepareBackground();
302 void deleteEffect(uint32 ID);
323 void bkgFill(uint8 r, uint8 g, uint8 b);
332 void rotateTo(int16 to, int16 time);
333 void updateRotation();
Definition: render_table.h:30
Definition: graphics_effect.h:35
Definition: algorithm.h:29
Definition: render_manager.h:48
Definition: avi_frames.h:36