mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
43 lines
1.6 KiB
C++
43 lines
1.6 KiB
C++
//+----------------------------------------------------------------------------+
|
|
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
|
|
//| Copyright: (C) Twan van Laarhoven and the other MSE developers |
|
|
//| License: GNU General Public License 2 or later (see file COPYING) |
|
|
//+----------------------------------------------------------------------------+
|
|
|
|
#pragma once
|
|
|
|
/** @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_regex_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);
|
|
void init_script_spelling_functions(Context& ctx);
|
|
void init_script_construction_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_regex_functions(ctx);
|
|
init_script_image_functions(ctx);
|
|
init_script_editor_functions(ctx);
|
|
init_script_export_functions(ctx);
|
|
init_script_english_functions(ctx);
|
|
init_script_spelling_functions(ctx);
|
|
init_script_construction_functions(ctx);
|
|
}
|
|
|