xoreos
0.0.5
|
#include <functions.h>
Classes | |
struct | FunctionDefaults |
struct | FunctionPointer |
struct | FunctionSignature |
Public Member Functions | |
Functions (Game &game) | |
~Functions () | |
Private Types | |
typedef void(Functions::* | funcPtr) (Aurora::NWScript::FunctionContext &ctx) |
Static Private Member Functions | |
static Common::UString | formatFloat (float f, int width=18, int decimals=9) |
static Aurora::NWScript::Object * | getParamObject (const Aurora::NWScript::FunctionContext &ctx, size_t n) |
Private Attributes | |
Game * | _game |
Static Private Attributes | |
static const FunctionPointer | kFunctionPointers [] |
The table defining the name and function pointer of each engine function. More... | |
static const FunctionSignature | kFunctionSignatures [] |
The table defining the signature (return type and type of parameters) of each engine function. More... | |
static const FunctionDefaults | kFunctionDefaults [] |
The table defining the default values for the parameters of each engine function. More... | |
Definition at line 44 of file functions.h.
|
private |
Definition at line 50 of file functions.h.
Engines::DragonAge2::Functions::Functions | ( | Game & | game | ) |
Definition at line 48 of file functions.cpp.
References registerFunctions().
Engines::DragonAge2::Functions::~Functions | ( | ) |
Definition at line 52 of file functions.cpp.
References FunctionMan.
|
private |
Definition at line 36 of file functions_math.cpp.
References ABS(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 56 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 60 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 64 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 231 of file functions_string.cpp.
References Common::UString::begin(), Common::UString::empty(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Common::UString::isASCII().
|
private |
Definition at line 44 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 71 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 53 of file functions_module.cpp.
References _game, Engines::DragonAge2::Game::getCampaigns(), Engines::DragonAge2::Campaigns::getCurrentCampaign(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::DragonAge2::Campaign::movePC().
|
private |
Definition at line 40 of file functions_math.cpp.
References ABS(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 329 of file functions_string.cpp.
References Common::UString::c_str(), debugC(), Common::UString::end(), Common::UString::findFirst(), Aurora::NWScript::FunctionContext::getName(), Aurora::NWScript::FunctionContext::getParams(), Common::UString::getPosition(), Aurora::NWScript::FunctionContext::getReturn(), Common::kDebugEngineScripts, Common::UString::size(), and Common::UString::substr().
|
private |
Definition at line 92 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 122 of file functions_string.cpp.
References formatFloat(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
Referenced by toString().
|
staticprivate |
Definition at line 97 of file functions.cpp.
References Common::UString::format().
Referenced by floatToString(), and printFloat().
|
private |
Definition at line 275 of file functions_object.cpp.
References _game, Engines::DragonAge2::Game::getCampaigns(), Engines::DragonAge2::Campaign::getCurrentArea(), Engines::DragonAge2::Campaigns::getCurrentCampaign(), getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::DragonAge2::ObjectContainer::toObject().
|
private |
Definition at line 127 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 42 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getCurrentEnvironment(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::VariableContainer::getVariable(), and Aurora::NWScript::VariableContainer::hasVariable().
|
private |
Definition at line 52 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getCurrentEnvironment(), Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getType(), Aurora::NWScript::VariableContainer::getVariable(), Aurora::NWScript::VariableContainer::hasVariable(), Engines::DragonAge2::kEventTypeInvalid, and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 364 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getCurrentScript(), Aurora::NWScript::NCSFile::getName(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 374 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getCurrentScript(), Aurora::NWScript::NCSFile::getName(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 303 of file functions_object.cpp.
References getParamObject(), Engines::DragonAge2::Object::getPosition(), Aurora::NWScript::FunctionContext::getReturn(), SQR, and Engines::DragonAge2::ObjectContainer::toObject().
|
private |
Definition at line 82 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 136 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 92 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 150 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 72 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getType(), Engines::DragonAge2::kEventTypeInvalid, and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 122 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getType(), Engines::DragonAge2::kEventTypeInvalid, and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 43 of file functions_module.cpp.
References _game, Engines::DragonAge2::Game::getCampaigns(), Engines::DragonAge2::Campaigns::getCurrentCampaign(), Engines::DragonAge2::Campaign::getPC(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 120 of file functions_object.cpp.
References Common::composeString(), Aurora::NWScript::Variable::getEngineType(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 128 of file functions_object.cpp.
References Common::composeString(), Aurora::NWScript::Variable::getEngineType(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 112 of file functions_object.cpp.
References Common::composeString(), Aurora::NWScript::Variable::getEngineType(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 64 of file functions_object.cpp.
References Common::composeString(), Aurora::NWScript::Variable::getFloat(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeFloat.
|
private |
Definition at line 56 of file functions_object.cpp.
References Common::composeString(), Aurora::NWScript::Variable::getInt(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeInt.
|
private |
Definition at line 136 of file functions_object.cpp.
References Common::composeString(), Aurora::NWScript::Variable::getEngineType(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 96 of file functions_object.cpp.
References Common::composeString(), Aurora::NWScript::Variable::getEngineType(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 80 of file functions_object.cpp.
References Common::composeString(), Aurora::NWScript::Variable::getObject(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::ActionScript::kTypeObject.
|
private |
Definition at line 104 of file functions_object.cpp.
References Common::composeString(), Aurora::NWScript::Variable::getEngineType(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 88 of file functions_object.cpp.
References Common::composeString(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), and Aurora::ActionScript::kTypeString.
|
private |
Definition at line 72 of file functions_object.cpp.
References Common::composeString(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), and Aurora::ActionScript::kTypeString.
|
private |
Definition at line 39 of file functions_module.cpp.
References _game, Engines::DragonAge2::Game::getCampaigns(), Engines::DragonAge2::Campaigns::getCurrentCampaign(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 255 of file functions_object.cpp.
References Common::UString::empty(), getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), and Engines::DragonAge2::ObjectContainer::toObject().
|
private |
Definition at line 341 of file functions_object.cpp.
References _game, Aurora::NWScript::ObjectContainer::findObjects(), Aurora::NWScript::Variable::getArray(), Engines::DragonAge2::Game::getCampaigns(), Engines::DragonAge2::Campaigns::getCurrentCampaign(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge2::Object::getType(), Engines::DragonAge2::kObjectTypeMAX, and Engines::DragonAge2::ObjectContainer::toObject().
|
private |
Definition at line 397 of file functions_object.cpp.
References _game, Common::UString::empty(), Aurora::NWScript::ObjectContainer::findObjectsByTag(), Aurora::NWScript::Variable::getArray(), Engines::DragonAge2::Game::getCampaigns(), Engines::DragonAge2::Campaigns::getCurrentCampaign(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge2::Object::getType(), Engines::DragonAge2::kObjectTypeMAX, and Engines::DragonAge2::ObjectContainer::toObject().
|
private |
Definition at line 321 of file functions_object.cpp.
References _game, Common::UString::empty(), Aurora::NWScript::ObjectContainer::findObjectsByTag(), Engines::DragonAge2::Game::getCampaigns(), Engines::DragonAge2::Campaigns::getCurrentCampaign(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 232 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge2::Object::getType(), Engines::DragonAge2::kObjectTypeInvalid, Engines::DragonAge2::kObjectTypeMAX, and Engines::DragonAge2::ObjectContainer::toObject().
|
staticprivate |
Definition at line 101 of file functions.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getParams(), Engines::DragonAge2::Object::getType(), Engines::DragonAge2::kObjectTypeInvalid, Engines::DragonAge2::kObjectTypeSelf, and Engines::DragonAge2::ObjectContainer::toObject().
Referenced by getArea(), getDistanceBetween(), getLocalCommand(), getLocalEffect(), getLocalEvent(), getLocalFloat(), getLocalInt(), getLocalItemProperty(), getLocalLocation(), getLocalObject(), getLocalPlayer(), getLocalResource(), getLocalString(), getName(), getNearestObject(), getNearestObjectByTag(), getObjectType(), getPosition(), getResRef(), getTag(), isHero(), isObjectValid(), setLocalCommand(), setLocalEffect(), setLocalEvent(), setLocalFloat(), setLocalInt(), setLocalItemProperty(), setLocalLocation(), setLocalObject(), setLocalPlayer(), setLocalResource(), setLocalString(), setName(), and UT_getNearestObjectByTag().
|
private |
Definition at line 289 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::setVector(), and Engines::DragonAge2::ObjectContainer::toObject().
|
private |
Definition at line 250 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), and Engines::DragonAge2::ObjectContainer::toObject().
|
private |
Definition at line 351 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::kLanguageGenderMale, and TalkMan.
|
private |
Definition at line 252 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 242 of file functions_object.cpp.
References Common::UString::clear(), getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::Variable::getString().
|
private |
Definition at line 357 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and TalkMan.
|
private |
Definition at line 111 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 118 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::Variable::setVector().
|
private |
Definition at line 188 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Engines::DragonAge2::ScriptContainer::runScript(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 200 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Engines::DragonAge2::ScriptContainer::runScript(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 294 of file functions_string.cpp.
References Common::UString::c_str(), Common::UString::clear(), debugC(), Aurora::NWScript::FunctionContext::getName(), Aurora::NWScript::FunctionContext::getParams(), Common::UString::getPosition(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), Common::UString::insert(), and Common::kDebugEngineScripts.
|
private |
Definition at line 244 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 88 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 177 of file functions_string.cpp.
References Common::UString::format(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 118 of file functions_string.cpp.
References Common::composeString(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
Referenced by toString().
|
private |
Definition at line 66 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge2::kEventTypeInvalid, and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 40 of file functions_creature.cpp.
References _game, Engines::DragonAge2::Game::getCampaigns(), Engines::DragonAge2::Campaigns::getCurrentCampaign(), getParamObject(), Engines::DragonAge2::Campaign::getPC(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 52 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 248 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 102 of file functions_math.cpp.
References ABS(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and kEpsilon.
|
private |
Definition at line 112 of file functions.cpp.
|
private |
Definition at line 68 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 59 of file functions_string.cpp.
References Common::UString::c_str(), Common::DateTime::formatDateTimeISO(), Aurora::NWScript::formatTag(), Aurora::NWScript::FunctionContext::getParams(), Common::DateTime::kUTC, and status().
|
private |
Definition at line 130 of file functions_string.cpp.
References Common::UString::format(), Aurora::NWScript::formatTag(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
Referenced by toString().
|
private |
Definition at line 72 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 84 of file functions_string.cpp.
References formatFloat(), Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 80 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 96 of file functions_string.cpp.
References Aurora::NWScript::formatTag(), Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 112 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 92 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 45 of file functions_string.cpp.
References Common::UString::c_str(), Common::DateTime::formatDateTimeISO(), Aurora::NWScript::FunctionContext::getParams(), Common::DateTime::kUTC, and status().
|
private |
Definition at line 51 of file functions_string.cpp.
References Common::UString::c_str(), Common::DateTime::formatDateTimeISO(), Aurora::NWScript::FunctionContext::getParams(), Common::DateTime::kUTC, and status().
|
private |
Definition at line 75 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 103 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 67 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 80 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 84 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 56 of file functions.cpp.
References ARRAYSIZE, Engines::DragonAge2::Functions::FunctionDefaults::defaults, Engines::DragonAge2::Functions::FunctionPointer::func, FunctionMan, Engines::DragonAge2::Functions::FunctionPointer::id, Engines::DragonAge2::Functions::FunctionSignature::id, Engines::DragonAge2::Functions::FunctionDefaults::id, kFunctionDefaults, kFunctionPointers, kFunctionSignatures, Aurora::NWScript::kTypeVoid, Engines::DragonAge2::Functions::FunctionPointer::name, Engines::DragonAge2::Functions::FunctionSignature::parameters, Engines::DragonAge2::Functions::FunctionSignature::returnType, and unimplementedFunction().
Referenced by Functions().
|
private |
Definition at line 144 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 112 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge2::Event::setCreator(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 176 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Engines::DragonAge2::Event::setCreator(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 102 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge2::Event::setType(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 164 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Engines::DragonAge2::Event::setType(), and Engines::DragonAge2::ObjectContainer::toEvent().
|
private |
Definition at line 208 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 216 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 200 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 152 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 144 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 224 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 184 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 168 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 192 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 176 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 160 of file functions_object.cpp.
References Common::composeString(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 267 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), and Engines::DragonAge2::ObjectContainer::toObject().
|
private |
Definition at line 48 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 76 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 279 of file functions_string.cpp.
References Common::UString::begin(), Common::UString::c_str(), Common::UString::clear(), debugC(), Aurora::NWScript::FunctionContext::getName(), Aurora::NWScript::FunctionContext::getParams(), Common::UString::getPosition(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), Common::kDebugEngineScripts, Common::UString::size(), and Common::UString::substr().
|
private |
Definition at line 260 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 264 of file functions_string.cpp.
References Common::UString::c_str(), Common::UString::clear(), debugC(), Common::UString::end(), Aurora::NWScript::FunctionContext::getName(), Aurora::NWScript::FunctionContext::getParams(), Common::UString::getPosition(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), Common::kDebugEngineScripts, Common::UString::size(), and Common::UString::substr().
|
private |
Definition at line 194 of file functions_string.cpp.
References Common::UString::c_str(), debugC(), Aurora::NWScript::FunctionContext::getName(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Common::kDebugEngineScripts, Common::parseString(), and Common::StackException::what().
|
private |
Definition at line 181 of file functions_string.cpp.
References Common::UString::c_str(), debugC(), Aurora::NWScript::FunctionContext::getName(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Common::kDebugEngineScripts, Common::parseString(), and Common::StackException::what().
|
private |
Definition at line 207 of file functions_string.cpp.
References Common::UString::c_str(), debugC(), Aurora::NWScript::FunctionContext::getName(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Common::kDebugEngineScripts, Common::parseString(), Aurora::NWScript::Variable::setVector(), Common::UString::split(), and Common::StackException::what().
|
private |
Definition at line 256 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 309 of file functions_string.cpp.
References Common::UString::c_str(), Common::UString::clear(), debugC(), Aurora::NWScript::FunctionContext::getName(), Aurora::NWScript::FunctionContext::getParams(), Common::UString::getPosition(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), Common::kDebugEngineScripts, Common::UString::size(), and Common::UString::substr().
|
private |
Definition at line 52 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 148 of file functions_string.cpp.
References floatToString(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), intToString(), Aurora::NWScript::kTypeFloat, Aurora::NWScript::kTypeInt, Aurora::NWScript::kTypeObject, Aurora::NWScript::kTypeString, Aurora::NWScript::kTypeVector, objectToString(), and vectorToString().
|
private |
Definition at line 92 of file functions.cpp.
References Common::UString::c_str(), Aurora::NWScript::formatParams(), Aurora::NWScript::formatType(), Aurora::NWScript::FunctionContext::getName(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getType(), and warning().
Referenced by registerFunctions().
|
private |
Definition at line 457 of file functions_object.cpp.
References _game, Common::UString::empty(), Aurora::NWScript::ObjectContainer::findObjectsByTag(), Engines::DragonAge2::Game::getCampaigns(), Engines::DragonAge2::Campaigns::getCurrentCampaign(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Object::getTag(), and Engines::DragonAge2::ObjectContainer::toObject().
|
private |
Definition at line 96 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::Variable::setVector().
|
private |
Definition at line 137 of file functions_string.cpp.
References Common::UString::format(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
Referenced by toString().
|
private |
Definition at line 74 of file functions.h.
Referenced by doAreaTransition(), getArea(), getHero(), getModule(), getNearestObject(), getNearestObjectByTag(), getObjectByTag(), isHero(), and UT_getNearestObjectByTag().
|
staticprivate |
The table defining the default values for the parameters of each engine function.
Definition at line 71 of file functions.h.
Referenced by registerFunctions().
|
staticprivate |
The table defining the name and function pointer of each engine function.
Definition at line 69 of file functions.h.
Referenced by registerFunctions().
|
staticprivate |
The table defining the signature (return type and type of parameters) of each engine function.
Definition at line 70 of file functions.h.
Referenced by registerFunctions().