summaryrefslogtreecommitdiff
path: root/src/graphics/Graphics.h
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2012-08-15 03:18:39 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2012-08-15 03:18:39 (GMT)
commit42d707f8a432afa001d58611fc960d6ce6021676 (patch)
tree63654e26cb9dfddc6b82250cb3703e1f86f98ec9 /src/graphics/Graphics.h
parentc8080cb0251890b3a9513756e2438ca0f03ffbd6 (diff)
downloadpowder-42d707f8a432afa001d58611fc960d6ce6021676.zip
powder-42d707f8a432afa001d58611fc960d6ce6021676.tar.gz
Very very basic wall rendering for opengl
Diffstat (limited to 'src/graphics/Graphics.h')
-rw-r--r--src/graphics/Graphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/Graphics.h b/src/graphics/Graphics.h
index 46d28b4..01318c8 100644
--- a/src/graphics/Graphics.h
+++ b/src/graphics/Graphics.h
@@ -160,7 +160,7 @@ public:
void xor_bitmap(unsigned char * bitmap, int x, int y, int w, int h);
void draw_line(int x, int y, int x2, int y2, int r, int g, int b, int a);
- void drawrect(int x, int y, int width, int height, int r, int g, int b, int a);
+ void drawrect(int x, int y, int width, int height, int r, int g, int b, int a,bool hollow=true);
void fillrect(int x, int y, int width, int height, int r, int g, int b, int a);
void clearrect(int x, int y, int width, int height);
void gradientrect(int x, int y, int width, int height, int r, int g, int b, int a, int r2, int g2, int b2, int a2);