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::DragonAge::Functions::Functions | ( | Game & | game | ) |
Definition at line 48 of file functions.cpp.
References registerFunctions().
Engines::DragonAge::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 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 230 of file functions_object.cpp.
References _game, Engines::DragonAge::Game::getCampaigns(), Engines::DragonAge::Campaign::getCurrentArea(), Engines::DragonAge::Campaigns::getCurrentCampaign(), getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::DragonAge::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 41 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 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 258 of file functions_object.cpp.
References getParamObject(), Engines::DragonAge::Object::getPosition(), Aurora::NWScript::FunctionContext::getReturn(), SQR, and Engines::DragonAge::ObjectContainer::toObject().
|
private |
Definition at line 67 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::DragonAge::ObjectContainer::toEvent().
|
private |
Definition at line 77 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::DragonAge::ObjectContainer::toEvent().
|
private |
Definition at line 57 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getType(), Engines::DragonAge::kEventTypeInvalid, and Engines::DragonAge::ObjectContainer::toEvent().
|
private |
Definition at line 43 of file functions_module.cpp.
References _game, Engines::DragonAge::Game::getCampaigns(), Engines::DragonAge::Campaigns::getCurrentCampaign(), Engines::DragonAge::Campaign::getPC(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 103 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 109 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 97 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 61 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeFloat.
|
private |
Definition at line 55 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeInt.
|
private |
Definition at line 115 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 85 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 73 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::ActionScript::kTypeObject.
|
private |
Definition at line 91 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeEngineType.
|
private |
Definition at line 79 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::ActionScript::kTypeString.
|
private |
Definition at line 67 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::ActionScript::kTypeString.
|
private |
Definition at line 39 of file functions_module.cpp.
References _game, Engines::DragonAge::Game::getCampaigns(), Engines::DragonAge::Campaigns::getCurrentCampaign(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 210 of file functions_object.cpp.
References Common::UString::empty(), getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), and Engines::DragonAge::ObjectContainer::toObject().
|
private |
Definition at line 296 of file functions_object.cpp.
References _game, Aurora::NWScript::ObjectContainer::findObjects(), Aurora::NWScript::Variable::getArray(), Engines::DragonAge::Game::getCampaigns(), Engines::DragonAge::Campaigns::getCurrentCampaign(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge::Object::getType(), Engines::DragonAge::kObjectTypeMAX, and Engines::DragonAge::ObjectContainer::toObject().
|
private |
Definition at line 352 of file functions_object.cpp.
References _game, Common::UString::empty(), Aurora::NWScript::ObjectContainer::findObjectsByTag(), Aurora::NWScript::Variable::getArray(), Engines::DragonAge::Game::getCampaigns(), Engines::DragonAge::Campaigns::getCurrentCampaign(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge::Object::getType(), Engines::DragonAge::kObjectTypeMAX, and Engines::DragonAge::ObjectContainer::toObject().
|
private |
Definition at line 276 of file functions_object.cpp.
References _game, Common::UString::empty(), Aurora::NWScript::ObjectContainer::findObjectsByTag(), Engines::DragonAge::Game::getCampaigns(), Engines::DragonAge::Campaigns::getCurrentCampaign(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 187 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge::Object::getType(), Engines::DragonAge::kObjectTypeInvalid, Engines::DragonAge::kObjectTypeMAX, and Engines::DragonAge::ObjectContainer::toObject().
|
staticprivate |
Definition at line 101 of file functions.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getParams(), Engines::DragonAge::Object::getType(), Engines::DragonAge::kObjectTypeInvalid, Engines::DragonAge::kObjectTypeSelf, and Engines::DragonAge::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 244 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::setVector(), and Engines::DragonAge::ObjectContainer::toObject().
|
private |
Definition at line 205 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), and Engines::DragonAge::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 197 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 107 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Engines::DragonAge::ScriptContainer::runScript(), and Engines::DragonAge::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 51 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge::kEventTypeInvalid, and Engines::DragonAge::ObjectContainer::toEvent().
|
private |
Definition at line 40 of file functions_creature.cpp.
References _game, Engines::DragonAge::Game::getCampaigns(), Engines::DragonAge::Campaigns::getCurrentCampaign(), getParamObject(), Engines::DragonAge::Campaign::getPC(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 51 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::DragonAge::Functions::FunctionDefaults::defaults, Engines::DragonAge::Functions::FunctionPointer::func, FunctionMan, Engines::DragonAge::Functions::FunctionPointer::id, Engines::DragonAge::Functions::FunctionSignature::id, Engines::DragonAge::Functions::FunctionDefaults::id, kFunctionDefaults, kFunctionPointers, kFunctionSignatures, Aurora::NWScript::kTypeVoid, Engines::DragonAge::Functions::FunctionPointer::name, Engines::DragonAge::Functions::FunctionSignature::parameters, Engines::DragonAge::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 97 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge::Event::setCreator(), and Engines::DragonAge::ObjectContainer::toEvent().
|
private |
Definition at line 87 of file functions_event.cpp.
References Aurora::NWScript::Variable::getEngineType(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::DragonAge::Event::setType(), and Engines::DragonAge::ObjectContainer::toEvent().
|
private |
Definition at line 169 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 175 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 163 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 127 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 121 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 181 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 151 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 139 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 157 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 145 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 133 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 222 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), and Engines::DragonAge::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 412 of file functions_object.cpp.
References _game, Common::UString::empty(), Aurora::NWScript::ObjectContainer::findObjectsByTag(), Engines::DragonAge::Game::getCampaigns(), Engines::DragonAge::Campaigns::getCurrentCampaign(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Object::getTag(), and Engines::DragonAge::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 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().