summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-05-04 13:09:25 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-05-04 13:09:25 +0000
commit00fb4bde7974a20aacfc1c52e48fff2faee2d385 (patch)
tree2097ef003495d7e6b4a8cf697ad7896039aac113 /src/graphics.h
parentb3376bfe4e26591e1dc1066d8f2270baf4f9f759 (diff)
downloadmana-00fb4bde7974a20aacfc1c52e48fff2faee2d385.tar.gz
mana-00fb4bde7974a20aacfc1c52e48fff2faee2d385.tar.bz2
mana-00fb4bde7974a20aacfc1c52e48fff2faee2d385.tar.xz
mana-00fb4bde7974a20aacfc1c52e48fff2faee2d385.zip
Merged particle engine into main eAthena branch.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index b3d36653..abef794f 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -97,6 +97,14 @@ class Graphics : public gcn::SDLGraphics {
int dstX, int dstY,
int width, int height);
+ /**
+ * Blits an image onto the screen with an alpha factor
+ *
+ * @return <code>true</code> if the image was blitted properly
+ * <code>false</code> otherwise.
+ */
+ bool drawImageTransparent(Image *image, int x, int y, float opacity);
+
virtual void
drawImagePattern(Image *image,
int x, int y,