diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-04-19 09:41:31 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-04-19 09:41:31 -0400 |
commit | 1ba24673e7064e39406e6faf11d790c2dcc2ac00 (patch) | |
tree | 7e2645f6fdec1dcc63ae56366371246f62865dcd /src/map/magic.hpp | |
parent | c3e06ffe6437d27a2a7c6ddb2dc487ff2f007adf (diff) | |
parent | c786a93e91adaf68780a5fd7585f51d0528f92ed (diff) | |
download | tmwa-1ba24673e7064e39406e6faf11d790c2dcc2ac00.tar.gz tmwa-1ba24673e7064e39406e6faf11d790c2dcc2ac00.tar.bz2 tmwa-1ba24673e7064e39406e6faf11d790c2dcc2ac00.tar.xz tmwa-1ba24673e7064e39406e6faf11d790c2dcc2ac00.zip |
Merge self-fork from mekolat/magic-v3
Magic v3
Diffstat (limited to 'src/map/magic.hpp')
-rw-r--r-- | src/map/magic.hpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/map/magic.hpp b/src/map/magic.hpp deleted file mode 100644 index 70d40dc..0000000 --- a/src/map/magic.hpp +++ /dev/null @@ -1,48 +0,0 @@ -#pragma once -// magic.hpp - Entry to the magic system. -// -// Copyright © 2004-2011 The Mana World Development Team -// Copyright © 2011-2014 Ben Longbons <b.r.longbons@gmail.com> -// -// This file is part of The Mana World (Athena server) -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. - -#include "fwd.hpp" - -#include "map.t.hpp" -#include "../mmo/skill.t.hpp" - - -namespace tmwa -{ -namespace map -{ -namespace magic -{ -/** - * Try to cast magic. - * - * As an intended side effect, the magic message may be distorted (text only). - * No, it can't. Thank God. - * - * \param caster Player attempting to cast magic - * \param source_invocation The prospective incantation - * \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(dumb_ptr<map_session_data> caster, XString source_invocation); -} // namespace magic -} // namespace map -} // namespace tmwa |