summaryrefslogtreecommitdiff
path: root/src/graphics/Renderer.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-16 11:15:29 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-16 11:15:29 (GMT)
commitf19c7f62c77f6a3e8f5728e015166b0c625f5f67 (patch)
treedc4c5067c6a4d6b7108e33da0cc3a18549eb2066 /src/graphics/Renderer.h
parentca30e9f091376e81b61a0f72bc444a4f59fc4ae7 (diff)
downloadpowder-f19c7f62c77f6a3e8f5728e015166b0c625f5f67.zip
powder-f19c7f62c77f6a3e8f5728e015166b0c625f5f67.tar.gz
Air invert and grid mode switching
Diffstat (limited to 'src/graphics/Renderer.h')
-rw-r--r--src/graphics/Renderer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphics/Renderer.h b/src/graphics/Renderer.h
index 2f9f404..dc5d633 100644
--- a/src/graphics/Renderer.h
+++ b/src/graphics/Renderer.h
@@ -131,12 +131,16 @@ public:
void SetColourMode(unsigned int mode);
unsigned int GetColourMode();
+ int GetGridSize() { return gridSize; }
+ void SetGridSize(int value) { gridSize = value; }
+
static VideoBuffer * WallIcon(int wallID, int width, int height);
Renderer(Graphics * g, Simulation * sim);
~Renderer();
private:
+ int gridSize;
#ifdef OGLR
GLuint zoomTex, airBuf, fireAlpha, glowAlpha, blurAlpha, partsFboTex, partsFbo, partsTFX, partsTFY, airPV, airVY, airVX;
GLuint fireProg, airProg_Pressure, airProg_Velocity, airProg_Cracker, lensProg;