22 #ifndef ZVISION_RENDER_MANAGER_H 23 #define ZVISION_RENDER_MANAGER_H 25 #include "common/hashmap.h" 26 #include "common/rect.h" 27 #include "graphics/framelimiter.h" 28 #include "graphics/managed_surface.h" 29 #include "graphics/screen.h" 30 #include "graphics/surface.h" 31 #include "zvision/graphics/graphics_effect.h" 32 #include "zvision/graphics/render_table.h" 33 #include "zvision/text/truetype_font.h" 39 class SeekableReadStream;
96 int16 _backgroundOffset;
98 uint16 _backgroundWidth;
100 uint16 _backgroundHeight;
155 EffectsList _effects;
163 void initialize(
bool hiRes =
false);
170 bool renderSceneToScreen(
bool immediate =
false,
bool overlayOnly =
false,
bool preStream =
false);
188 void renderImageToBackground(
const Common::Path &fileName, int16 destinationX, int16 destinationY);
198 void renderImageToBackground(
const Common::Path &fileName, int16 destX, int16 destY, uint32 colorkey);
209 void renderImageToBackground(
const Common::Path &fileName, int16 destX, int16 destY, int16 keyX, int16 keyY);
229 void setBackgroundPosition(
int offset);
243 uint32 getCurrentBackgroundOffset();
257 void scaleBuffer(
const void *src,
void *dst, uint32 srcWidth, uint32 srcHeight, byte bytesPerPixel, uint32 dstWidth, uint32 dstHeight);
272 void blitSurfaceToSurface(
const Graphics::Surface &src,
Graphics::Surface &dst,
int _x,
int _y, uint32 colorkey) {blitSurfaceToSurface(src,
Common::Rect(src.
w, src.
h), dst, _x, _y, colorkey);}
275 void blitSurfaceToBkg(
const Graphics::Surface &src,
int x,
int y, int32 colorkey = -1);
287 void blitSurfaceToMenu(
const Graphics::Surface &src, int16 x, int16 y, int32 colorkey = 0);
296 void blitSurfaceToText(
const Graphics::Surface &src, int16 x, int16 y, int32 colorkey = 0);
309 void clearMenuSurface(
bool force =
false, int32 colorkey = -1);
312 void clearTextSurface(
bool force =
false, int32 colorkey = -1);
315 void prepareBackground();
344 void deleteEffect(uint32 ID);
369 void rotateTo(int16 to, int16 time);
370 void updateRotation();
Definition: managed_surface.h:51
Definition: framelimiter.h:40
int16 h
Definition: surface.h:76
Definition: render_table.h:71
Definition: graphics_effect.h:34
Definition: focus_list.h:27
Definition: algorithm.h:29
int16 w
Definition: surface.h:71
Definition: render_manager.h:48
Definition: avi_frames.h:36