mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
2662f9d4bf
The plan is to deprecate rule form completely, so instead of replace_rule(match:..) write replace_text@(match: ...) git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@987 0fc631ac-6414-0410-93d0-97cfa31319b6
40 lines
1.5 KiB
C++
40 lines
1.5 KiB
C++
//+----------------------------------------------------------------------------+
|
|
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
|
|
//| Copyright: (C) 2001 - 2008 Twan van Laarhoven and "coppro" |
|
|
//| License: GNU General Public License 2 or later (see file COPYING) |
|
|
//+----------------------------------------------------------------------------+
|
|
|
|
#ifndef HEADER_SCRIPT_FUNCTIONS_FUNCTIONS
|
|
#define HEADER_SCRIPT_FUNCTIONS_FUNCTIONS
|
|
|
|
/** @file script/functions/functions.cpp
|
|
*
|
|
* @brief Header for buildin script functions.
|
|
*/
|
|
|
|
// ----------------------------------------------------------------------------- : Includes
|
|
|
|
#include <util/prec.hpp>
|
|
|
|
class Context;
|
|
|
|
// ----------------------------------------------------------------------------- : Script functions
|
|
|
|
void init_script_basic_functions(Context& ctx);
|
|
void init_script_image_functions(Context& ctx);
|
|
void init_script_editor_functions(Context& ctx);
|
|
void init_script_export_functions(Context& ctx);
|
|
void init_script_english_functions(Context& ctx);
|
|
|
|
/// Initialize all built in functions for a context
|
|
inline void init_script_functions(Context& ctx) {
|
|
init_script_basic_functions(ctx);
|
|
init_script_image_functions(ctx);
|
|
init_script_editor_functions(ctx);
|
|
init_script_export_functions(ctx);
|
|
init_script_english_functions(ctx);
|
|
}
|
|
|
|
// ----------------------------------------------------------------------------- : EOF
|
|
#endif
|