summaryrefslogtreecommitdiff
path: root/src/map/magic.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-12-13 16:25:50 -0800
committerBen Longbons <b.r.longbons@gmail.com>2012-12-14 16:18:22 -0800
commit069f39e8a1ebee3e4a4ce8302d0099842876782b (patch)
tree57d8de5f57d65878f8ef560e2884b9dee08e9323 /src/map/magic.hpp
parentf9563edf69f083287630f4b17db70d97524196d6 (diff)
downloadtmwa-069f39e8a1ebee3e4a4ce8302d0099842876782b.tar.gz
tmwa-069f39e8a1ebee3e4a4ce8302d0099842876782b.tar.bz2
tmwa-069f39e8a1ebee3e4a4ce8302d0099842876782b.tar.xz
tmwa-069f39e8a1ebee3e4a4ce8302d0099842876782b.zip
Some formatting fixes before I go insane
Also delete the French translation from ladmin.
Diffstat (limited to 'src/map/magic.hpp')
-rw-r--r--src/map/magic.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/map/magic.hpp b/src/map/magic.hpp
index 168a05f..f7e832c 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
@@ -40,51 +40,51 @@ void magic_unshroud (character_t * character);
* \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, int sc_id,
+spell_effect_report_termination(int invocation, int bl_id, int sc_id,
int supplanted);
/**
* Initialise all spells, read config data
*/
-void do_init_magic (void);
+void do_init_magic(void);
/**
* Identifies the invocation used to trigger a spell
*
* Returns NULL if not found
*/
-const char *magic_find_invocation (const char *spellame);
+const char *magic_find_invocation(const char *spellame);
/**
* Identifies the invocation used to denote a teleport location
*
* Returns NULL if not found
*/
-const char *magic_find_anchor_invocation (const char *teleport_location);
+const char *magic_find_anchor_invocation(const char *teleport_location);
/**
* Execute a spell invocation and sets up timers to finish
*/
-void spell_execute (struct invocation *invocation);
+void spell_execute(struct invocation *invocation);
/**
* Continue an NPC script embedded in a spell
*/
-void spell_execute_script (struct invocation *invocation);
+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
*
* Returns 0 if there is no charged spell or the spell is depleted.
*/
-int spell_attack (int caster, int target);
+int spell_attack(int caster, int target);
-void spell_free_invocation (struct invocation *invocation);
+void spell_free_invocation(struct invocation *invocation);
#endif /* !defined(MAGIC_H_) */