aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/render_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/render_manager.h')
-rw-r--r--engines/zvision/render_manager.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/zvision/render_manager.h b/engines/zvision/render_manager.h
index 137ec51d5a..e481c26666 100644
--- a/engines/zvision/render_manager.h
+++ b/engines/zvision/render_manager.h
@@ -25,17 +25,20 @@
#include "common/types.h"
+#include "zvision/dense_2d_array.h"
+
class OSystem;
namespace Common {
class String;
+class Point;
}
namespace ZVision {
class RenderManager {
public:
- RenderManager(OSystem *system);
+ RenderManager(OSystem *system, const int width, const int height);
public:
enum RenderState {
@@ -46,6 +49,8 @@ public:
private:
OSystem *_system;
+ const int _width;
+ const int _height;
RenderState _renderState;
struct {
@@ -59,10 +64,13 @@ private:
uint16 linearScale;
} _tiltOptions;
+ Dense2DArray<Common::Point> _renderTable;
+
bool _needsScreenUpdate;
public:
void renderImageToScreen(const Common::String &fileName, uint32 x, uint32 y);
+ void generatePanoramaLookupTable();
};
} // End of namespace ZVision