1 #ifndef CORE_SCRIPTS_BASEFUNCTIONS_HPP
2 #define CORE_SCRIPTS_BASEFUNCTIONS_HPP
4 #include <BLIB/Scripts/SymbolTable.hpp>
5 #include <BLIB/Tilemap/Position.hpp>
46 static bl::script::Value
makePosition(
const bl::tmap::Position& pos);
Core classes and functionality for both the editor and game.
Adds the built-in default functions to all Peoplemon scripts.
static bl::script::Value makePosition(const bl::tmap::Position &pos)
Helper function for other script functions to make script position values from the position component...
static void addDefaults(bl::script::SymbolTable &table, system::Systems &systems)
Adds the universal built-in functions to the given symbol table.
Owns all primary systems and a reference to the engine.