|
Tramway SDK v0.1.1
|
#include <framework/script.h>#include <cstring>#include <iostream>#include <algorithm>#include <framework/core.h>#include <framework/entity.h>#include <framework/event.h>#include <framework/ui.h>#include <framework/logging.h>#include <framework/worldcell.h>#include <audio/audio.h>#include <entities/script.h>#include <physics/physics.h>#include <physics/collisionshape.h>#include <physics/collisionmodel.h>#include <render/render.h>#include <render/material.h>#include <render/model.h>#include <render/sprite.h>#include <render/api.h>#include <components/render.h>#include <components/animation.h>#include <components/light.h>Namespaces | |
| namespace | tram::Script |
| Scripting API. | |
| namespace | tram |
| Serialization, i.e. | |
Functions | |
| void | tram::Script::SetGlobal (name_t name, value_t value) |
| value_t | tram::Script::GetGlobal (name_t name) |
| void | tram::Script::SetFunction (name_t name, std::vector< Type > parameters, value_t(*function)(valuearray_t)) |
| value_t | tram::Script::CallFunction (name_t name, std::vector< Value > parameters) |
| value_t | tram::Script::Evaluate (const char *code) |
| void | tram::Script::SetInterface (Interface *new_language) |
| void | tram::Script::LoadScript (const char *path) |
| void | tram::Script::Init () |