summaryrefslogtreecommitdiff
path: root/src/graphics/Renderer.h
diff options
context:
space:
mode:
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;