summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-13 09:34:46 +0000
committerIra Rice <irarice@gmail.com>2008-10-13 09:34:46 +0000
commita4d2f2c0373848fa8a886c1dddc6247b81527df3 (patch)
treeb4d0f0dcab4bd9ff06a4cd0613e26f61fffb45ce /src/particle.h
parent1c337aae30b334d99a5ec81269f2c6d35b8004ea (diff)
downloadmana-a4d2f2c0373848fa8a886c1dddc6247b81527df3.tar.gz
mana-a4d2f2c0373848fa8a886c1dddc6247b81527df3.tar.bz2
mana-a4d2f2c0373848fa8a886c1dddc6247b81527df3.tar.xz
mana-a4d2f2c0373848fa8a886c1dddc6247b81527df3.zip
Added mob particle attack effects to mobs. Inspired by the TMW patch in
their trunk client.
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particle.h b/src/particle.h
index f281864d..a21fe88b 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -109,7 +109,7 @@ class Particle : public Sprite
*/
Particle*
addEffect(const std::string &particleEffectFile,
- int pixelX, int pixelY);
+ int pixelX, int pixelY, int rotation = 0);
/**
* Creates a standalone text particle.
@@ -318,7 +318,7 @@ class Particle : public Sprite
// follow-point particles
Particle *mTarget; /**< The particle that attracts this particle*/
- float mAcceleration; /**< Acceleration towards the target particle in pixels per game-tick²*/
+ float mAcceleration; /**< Acceleration towards the target particle in pixels per game-tick�*/
float mInvDieDistance; /**< Distance in pixels from the target particle that causes the destruction of the particle*/
float mMomentum; /**< How much speed the particle retains after each game tick*/
};