diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-03-16 14:55:57 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-03-24 19:27:09 -0700 |
commit | fe3d4ce758822d65a0a5d617b7b77df2dbc972d8 (patch) | |
tree | d048a7e356ba542ebc5647b1aedfce4b8257daa2 /src/map/magic-v2.hpp | |
parent | c812c92d1a1835f0bda783e709481188c8d92225 (diff) | |
download | tmwa-fe3d4ce758822d65a0a5d617b7b77df2dbc972d8.tar.gz tmwa-fe3d4ce758822d65a0a5d617b7b77df2dbc972d8.tar.bz2 tmwa-fe3d4ce758822d65a0a5d617b7b77df2dbc972d8.tar.xz tmwa-fe3d4ce758822d65a0a5d617b7b77df2dbc972d8.zip |
Implement new magic frontend using sexpr
Diffstat (limited to 'src/map/magic-v2.hpp')
-rw-r--r-- | src/map/magic-v2.hpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/map/magic-v2.hpp b/src/map/magic-v2.hpp new file mode 100644 index 0000000..d9140dc --- /dev/null +++ b/src/map/magic-v2.hpp @@ -0,0 +1,28 @@ +#ifndef TMWA_MAP_MAGIC_V2_HPP +#define TMWA_MAP_MAGIC_V2_HPP +// magic-v2.hpp - second generation magic parser +// +// Copyright © 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 "../strings/zstring.hpp" + +bool magic_init0(); +// must be called after itemdb initialization +bool load_magic_file_v2(ZString filename); + +#endif // TMWA_MAP_MAGIC_V2_HPP |