22 #ifndef NEVERHOOD_SCREEN_H 23 #define NEVERHOOD_SCREEN_H 25 #include "common/array.h" 26 #include "graphics/surface.h" 27 #include "neverhood/neverhood.h" 28 #include "neverhood/microtiles.h" 29 #include "neverhood/graphics.h" 41 int16 _srcX, _srcY, _width, _height;
46 bool operator==(
const RenderItem &second)
const {
48 _surface == second._surface &&
49 _shadowSurface == second._shadowSurface &&
50 _destX == second._destX &&
51 _destY == second._destY &&
52 _srcX == second._srcX &&
53 _srcY == second._srcY &&
54 _width == second._width &&
55 _height == second._height &&
56 _transparent == second._transparent &&
57 _version == second._version &&
58 _alphaColor == second._alphaColor;
69 uint32 getNextFrameTime();
74 void setYOffset(int16 yOffset);
76 void setPaletteData(byte *paletteData);
77 void unsetPaletteData(byte *paletteData);
78 byte *getPaletteData() {
return _paletteData; }
79 void testPalette(byte *paletteData);
82 void clearRenderQueue();
89 void drawSurfaceClipRects(
const Graphics::Surface *surface,
NDrawRect &drawRect,
NRect *clipRects, uint clipRectsCount,
bool transparent, byte version);
91 void queueBlit(
const Graphics::Surface *surface, int16 destX, int16 destY,
NRect &ddRect,
bool transparent, byte version,
100 int32 _frameDelay, _savedFrameDelay;
102 bool _paletteChanged;
103 int16 _yOffset, _savedYOffset;
105 RenderQueue *_renderQueue, *_prevRenderQueue;
Definition: background.h:30
Definition: neverhood.h:60
Definition: microtiles.h:40
Definition: smk_decoder.h:76
Definition: graphics.h:42
Definition: graphics.h:67
Definition: avi_frames.h:36