summaryrefslogtreecommitdiff
path: root/src/graphics/Renderer.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-09 00:17:01 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-09 00:17:01 (GMT)
commit3bdfd510b292db5acdcb2f74989dfa2fcd18a434 (patch)
tree9351688642e17d5951a6b6f241b4052647213bce /src/graphics/Renderer.h
parentbb99efdedf0f7b21bf716642217cc565ab40a915 (diff)
downloadpowder-3bdfd510b292db5acdcb2f74989dfa2fcd18a434.zip
powder-3bdfd510b292db5acdcb2f74989dfa2fcd18a434.tar.gz
Gravity lensing
Diffstat (limited to 'src/graphics/Renderer.h')
-rw-r--r--src/graphics/Renderer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphics/Renderer.h b/src/graphics/Renderer.h
index 3812d9f..6691ef1 100644
--- a/src/graphics/Renderer.h
+++ b/src/graphics/Renderer.h
@@ -66,7 +66,7 @@ public:
void RenderZoom();
void DrawWalls();
void DrawSigns();
- void render_gravlensing();
+ void render_gravlensing(pixel * source);
void render_fire();
void prepare_alpha(int size, float intensity);
void render_parts();
@@ -88,6 +88,7 @@ public:
#else
pixel * vid;
pixel * persistentVid;
+ pixel * warpVid;
void blendpixel(int x, int y, int r, int g, int b, int a);
void addpixel(int x, int y, int r, int g, int b, int a);