![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Adds the built-in default functions to all Peoplemon scripts. More...
#include <BaseFunctions.hpp>
Static Public Member Functions | |
static void | addDefaults (bl::script::SymbolTable &table, system::Systems &systems) |
Adds the universal built-in functions to the given symbol table. More... | |
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. More... | |
Adds the built-in default functions to all Peoplemon scripts.
Definition at line 30 of file BaseFunctions.hpp.
|
static |
Adds the universal built-in functions to the given symbol table.
table | The table to add the functions to |
systems | The primary systems objects |
Definition at line 167 of file BaseFunctions.cpp.
|
static |
Helper function for other script functions to make script position values from the position component.
pos | The position to convert |
Definition at line 240 of file BaseFunctions.cpp.