summaryrefslogtreecommitdiff
path: root/src/graphics/Graphics.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-09-21 01:37:36 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-25 19:09:43 (GMT)
commitb57d956ca84061974efe1be882b08b77633f26d2 (patch)
treef5c1cb2c83b333dec3bc1aeff04171e6190e8b08 /src/graphics/Graphics.cpp
parent187a5189d597786e51a89221b16393e4ccc37256 (diff)
downloadpowder-b57d956ca84061974efe1be882b08b77633f26d2.zip
powder-b57d956ca84061974efe1be882b08b77633f26d2.tar.gz
Icons and tooltips for everything in renderview. (Empty space not filled yet)
Diffstat (limited to 'src/graphics/Graphics.cpp')
-rw-r--r--src/graphics/Graphics.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/graphics/Graphics.cpp b/src/graphics/Graphics.cpp
index 8051a08..144f302 100644
--- a/src/graphics/Graphics.cpp
+++ b/src/graphics/Graphics.cpp
@@ -874,6 +874,51 @@ void Graphics::draw_icon(int x, int y, Icon icon, unsigned char alpha, bool inve
drawchar(x, y, 0x89, 255, 255, 255, alpha);
}
break;
+ case IconVelocity:
+ drawchar(x, y, 0x98, 128, 160, 255, 255);
+ break;
+ case IconPressure:
+ drawchar(x, y, 0x99, 255, 212, 32, 255);
+ break;
+ case IconPersistant:
+ drawchar(x, y, 0x9A, 212, 212, 212, 255);
+ break;
+ case IconFire:
+ drawchar(x+1, y, 0x9B, 255, 0, 0, 255);
+ drawchar(x+1, y, 0x9C, 255, 255, 64, 255);
+ break;
+ case IconBlob:
+ drawchar(x, y, 0xBF, 55, 255, 55, 255);
+ break;
+ case IconHeat:
+ drawchar(x+2, y, 0xBE, 255, 0, 0, 255);
+ drawchar(x+2, y, 0xBD, 255, 255, 255, 255);
+ break;
+ case IconBlur:
+ drawchar(x, y, 0xC4, 100, 150, 255, 255);
+ break;
+ case IconGradient:
+ drawchar(x, y, 0xD3, 255, 50, 255, 255);
+ break;
+ case IconLife:
+ drawchar(x, y, 0xE0, 255, 255, 255, 255);
+ break;
+ case IconEffect:
+ drawchar(x, y, 0xE1, 255, 255, 160, 255);
+ break;
+ case IconGlow:
+ drawchar(x, y, 0xDF, 200, 255, 255, 255);
+ break;
+ case IconWarp:
+ drawchar(x, y, 0xDE, 255, 255, 255, 255);
+ break;
+ case IconBasic:
+ drawchar(x, y, 0xDB, 255, 255, 200, 255);
+ break;
+ case IconAltAir:
+ drawchar(x, y, 0xD4, 255, 55, 55, 255);
+ drawchar(x, y, 0xD5, 55, 255, 55, 255);
+ break;
default:
if(invert)
drawchar(x, y, 't', 0, 0 ,0 ,alpha);