aboutsummaryrefslogtreecommitdiff
path: root/src/magic.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-01 01:54:49 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-01 01:56:31 -0300
commit9b49eec185d94d91ae958aca7b0dfcb4b211cff9 (patch)
treef1387897442364dbab16a4368eb745a86e047787 /src/magic.hh
parentda5672b1e903cce47b9d76b2ffd19b0c42bd80f3 (diff)
downloadgame-9b49eec185d94d91ae958aca7b0dfcb4b211cff9.tar.gz
game-9b49eec185d94d91ae958aca7b0dfcb4b211cff9.zip
magic init functions
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_