aboutsummaryrefslogtreecommitdiff
path: root/src/magic.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/magic.hh')
-rw-r--r--src/magic.hh22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/magic.hh b/src/magic.hh
index d24edd8..91b7c0a 100644
--- a/src/magic.hh
+++ b/src/magic.hh
@@ -2,8 +2,7 @@
#define TIBIA_MAGIC_HH_ 1
#include "common.hh"
-
-struct TCreature;
+#include "creature.hh"
struct TImpact{
// VIRTUAL FUNCTIONS
@@ -85,6 +84,25 @@ struct TDamageImpact: TImpact{
bool AllowDefense;
};
+struct TCircle {
+ int x[32];
+ int y[32];
+ int Count;
+};
+
+struct TSpellList {
+ uint8 Syllable[10];
+ uint8 RuneGr;
+ uint8 RuneNr;
+ const char *Comment;
+ uint16 Level;
+ uint16 RuneLevel;
+ uint16 Flags;
+ int Mana;
+ int SoulPoints;
+ int Amount;
+};
+
void CheckMana(TCreature *Creature, int ManaPoints, int SoulPoints, int Delay);
#endif //TIBIA_MAGIC_HH_