diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-16 17:47:51 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-24 10:02:00 -0800 |
commit | b52127bcbf817ff8285b36d22198b275327e16bb (patch) | |
tree | 7bc596289c011e719168bef846b8cf63bf5d4947 /src/map/magic.hpp | |
parent | 4bd7eeec09629d3c0f900d42c899fe23c69e07b6 (diff) | |
download | tmwa-b52127bcbf817ff8285b36d22198b275327e16bb.tar.gz tmwa-b52127bcbf817ff8285b36d22198b275327e16bb.tar.bz2 tmwa-b52127bcbf817ff8285b36d22198b275327e16bb.tar.xz tmwa-b52127bcbf817ff8285b36d22198b275327e16bb.zip |
Cleanup headers and remove all uses of va_list except logging
Diffstat (limited to 'src/map/magic.hpp')
-rw-r--r-- | src/map/magic.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/map/magic.hpp b/src/map/magic.hpp index fecb975..4cdce18 100644 --- a/src/map/magic.hpp +++ b/src/map/magic.hpp @@ -22,14 +22,14 @@ struct invocation; /* Spell invocation */ * \return 1 or -1 if the input message was magic and was handled by this function, 0 otherwise. -1 is returned when the * message should not be repeated. */ -int magic_message(character_t * caster, char *spell, size_t spell_len); +int magic_message(character_t *caster, char *spell, size_t spell_len); /** * Removes the shroud from a character * * \param character The character to remove the shroud from */ -void magic_unshroud(character_t * character); +void magic_unshroud(character_t *character); /** * Notifies a running spell that a status_change timer triggered by the spell has expired @@ -39,8 +39,7 @@ void magic_unshroud(character_t * character); * \param type sc_id ID of the status change entry that finished * \param supplanted Whether the status_change finished normally (0) or was supplanted by a new status_change (1) */ -void -spell_effect_report_termination(int invocation, int bl_id, +void spell_effect_report_termination(int invocation, int bl_id, StatusChange sc_id, int supplanted); /** @@ -76,7 +75,7 @@ void spell_execute_script(struct invocation *invocation); * Stops all magic bound to the specified character * */ -void magic_stop_completely(character_t * c); +void magic_stop_completely(character_t *c); /** * Attacks with a magical spell charged to the character @@ -87,4 +86,4 @@ int spell_attack(int caster, int target); void spell_free_invocation(struct invocation *invocation); -#endif /* !defined(MAGIC_H_) */ +#endif // MAGIC_HPP |