summaryrefslogtreecommitdiff
path: root/src/Renderer.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-28 14:51:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-28 14:51:39 (GMT)
commitb5728a9e3e983460a957fa0e576b751ebfe87172 (patch)
treecb20500bc94da3fd00782981a45c9b05c6af36eb /src/Renderer.h
parent58ba7f8800403c572bae99115facc808c6dc34a3 (diff)
downloadpowder-b5728a9e3e983460a957fa0e576b751ebfe87172.zip
powder-b5728a9e3e983460a957fa0e576b751ebfe87172.tar.gz
Zoom
Diffstat (limited to 'src/Renderer.h')
-rw-r--r--src/Renderer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Renderer.h b/src/Renderer.h
index d43e0cb..9ed7dbb 100644
--- a/src/Renderer.h
+++ b/src/Renderer.h
@@ -5,6 +5,7 @@
#include "Config.h"
#include "simulation/Simulation.h"
#include "Graphics.h"
+#include "interface/Point.h"
class Simulation;
@@ -41,7 +42,15 @@ public:
Graphics * g;
gcache_item *graphicscache;
+ //Zoom window
+ ui::Point zoomWindowPosition;
+ ui::Point zoomScopePosition;
+ int zoomScopeSize;
+ bool zoomEnabled;
+ int ZFACTOR;
+
//Renderers
+ void RenderZoom();
void DrawWalls();
void DrawSigns();
void render_gravlensing();