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 int32 | getRandom (int min, int max, int32 n=1) |
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 46 of file functions.h.
|
private |
Definition at line 52 of file functions.h.
Engines::Jade::Functions::Functions | ( | Game & | game | ) |
Definition at line 53 of file functions.cpp.
References registerFunctions().
Engines::Jade::Functions::~Functions | ( | ) |
Definition at line 57 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(), Aurora::NWScript::FunctionContext::getReturn(), and Common::rad2deg().
|
private |
Definition at line 108 of file functions_action.cpp.
References Engines::Jade::Placeable::close(), Aurora::NWScript::FunctionContext::getCaller(), getParamObject(), Engines::Jade::ObjectContainer::toObject(), and Engines::Jade::ObjectContainer::toPlaceable().
|
private |
Definition at line 92 of file functions_action.cpp.
References _game, Engines::Jade::Module::delayScript(), Common::UString::empty(), Aurora::NWScript::FunctionContext::getCaller(), Engines::Jade::Game::getModule(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getScriptName(), and Aurora::NWScript::FunctionContext::getTriggerer().
|
private |
Definition at line 173 of file functions_action.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getParams(), Engines::Jade::Location::getPosition(), jumpTo(), Engines::Jade::ObjectContainer::toLocation(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 208 of file functions_action.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), getParamObject(), jumpTo(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 189 of file functions_action.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getParams(), Engines::Jade::Location::getPosition(), jumpTo(), Engines::Jade::ObjectContainer::toLocation(), Engines::Jade::ObjectContainer::toObject(), and unimplementedFunction().
|
private |
Definition at line 224 of file functions_action.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), getParamObject(), jumpTo(), Engines::Jade::ObjectContainer::toObject(), and unimplementedFunction().
|
private |
Definition at line 102 of file functions_action.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), getParamObject(), Engines::Jade::Placeable::open(), Engines::Jade::ObjectContainer::toObject(), and Engines::Jade::ObjectContainer::toPlaceable().
|
private |
Definition at line 159 of file functions_action.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getParams(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 114 of file functions_action.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getParams(), Engines::Jade::Object::speakString(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 121 of file functions_action.cpp.
References _game, Common::UString::c_str(), Common::UString::empty(), Aurora::NWScript::FunctionContext::getCaller(), Engines::Jade::Object::getConversation(), Engines::Jade::Game::getModule(), Engines::Jade::Object::getName(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Engines::Jade::Object::getPCSpeaker(), Aurora::NWScript::Object::getTag(), Engines::Jade::Module::startConversation(), Engines::Jade::ObjectContainer::toObject(), Engines::Jade::ObjectContainer::toPC(), and warning().
|
private |
Definition at line 60 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Common::rad2deg().
|
private |
Definition at line 47 of file functions_action.cpp.
References _game, Engines::Jade::Module::delayScript(), Common::UString::empty(), Engines::Jade::Game::getModule(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getScriptName(), and Aurora::NWScript::FunctionContext::getTriggerer().
|
private |
Definition at line 64 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Common::rad2deg().
|
private |
Definition at line 44 of file functions_math.cpp.
References Common::deg2rad(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 104 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 116 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 108 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 84 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 112 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 88 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 92 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 96 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 100 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 57 of file functions_action.cpp.
References _game, Engines::Jade::Module::delayScript(), Common::UString::empty(), Aurora::NWScript::FunctionContext::getCaller(), Engines::Jade::Game::getModule(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getScriptName(), and Aurora::NWScript::FunctionContext::getTriggerer().
|
private |
Definition at line 43 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::Jade::kScriptOnUserdefined.
|
private |
Definition at line 69 of file functions_action.cpp.
References Common::StackException::add(), Common::UString::c_str(), Aurora::NWScript::formatTag(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::kFileTypeNCS, Common::printException(), ResMan, Aurora::NWScript::NCSFile::run(), and Common::UString::truncate().
|
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 227 of file functions_string.cpp.
References Common::UString::end(), Common::UString::findFirst(), Aurora::NWScript::FunctionContext::getParams(), Common::UString::getPosition(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 38 of file functions_2da.cpp.
References Aurora::TwoDARow::getInt(), Aurora::TwoDAFile::getRow(), Aurora::TwoDARow::getString(), and TwoDAReg.
Referenced by get2DAEntryFloat(), get2DAEntryFloatByString(), get2DAEntryInt(), get2DAEntryIntByString(), get2DAEntryString(), get2DAEntryStringByString(), get2DANumColumn(), and get2DANumRows().
|
private |
Definition at line 124 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 112 of file functions_string.cpp.
References formatFloat(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
staticprivate |
Definition at line 114 of file functions.cpp.
References Common::UString::format().
Referenced by floatToString(), and printFloat().
|
private |
Definition at line 104 of file functions_2da.cpp.
References findTable(), Aurora::TwoDARow::getFloat(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::TwoDAFile::getRow().
|
private |
Definition at line 74 of file functions_2da.cpp.
References findTable(), Aurora::TwoDARow::getFloat(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::TwoDAFile::getRow().
|
private |
Definition at line 94 of file functions_2da.cpp.
References findTable(), Aurora::TwoDARow::getInt(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::TwoDAFile::getRow().
|
private |
Definition at line 64 of file functions_2da.cpp.
References findTable(), Aurora::TwoDARow::getInt(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::TwoDAFile::getRow().
|
private |
Definition at line 114 of file functions_2da.cpp.
References findTable(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::TwoDAFile::getRow(), and Aurora::TwoDARow::getString().
|
private |
Definition at line 84 of file functions_2da.cpp.
References findTable(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::TwoDAFile::getRow(), and Aurora::TwoDARow::getString().
|
private |
Definition at line 56 of file functions_2da.cpp.
References findTable(), Aurora::TwoDAFile::getColumnCount(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 48 of file functions_2da.cpp.
References findTable(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::TwoDAFile::getRowCount().
|
private |
Definition at line 150 of file functions_object.cpp.
References Engines::Jade::Object::getArea(), getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 39 of file functions_creature.cpp.
References Engines::Jade::Creature::getAutoBalance(), getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::Jade::ObjectContainer::toCreature().
|
private |
Definition at line 180 of file functions_object.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), getParamObject(), Engines::Jade::Object::getPosition(), Aurora::NWScript::FunctionContext::getReturn(), SQR, and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 48 of file functions_object.cpp.
References Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::FunctionContext::getTriggerer().
|
private |
Definition at line 53 of file functions_object.cpp.
References Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::FunctionContext::getTriggerer().
|
private |
Definition at line 45 of file functions_game.cpp.
References _game, Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::VariableContainer::getVariable(), and Aurora::NWScript::kTypeInt.
|
private |
Definition at line 53 of file functions_game.cpp.
References _game, Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::VariableContainer::getVariable(), and Aurora::NWScript::kTypeFloat.
|
private |
Definition at line 41 of file functions_game.cpp.
References _game, Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::VariableContainer::getVariable(), and Aurora::NWScript::kTypeInt.
|
private |
Definition at line 49 of file functions_game.cpp.
References _game, Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::VariableContainer::getVariable(), and Aurora::ActionScript::kTypeString.
|
private |
Definition at line 58 of file functions_object.cpp.
References getParamObject(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 62 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::Jade::ObjectContainer::toPC().
|
private |
Definition at line 73 of file functions_object.cpp.
References Common::UString::format(), Aurora::NWScript::Variable::getInt(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeInt.
|
private |
Definition at line 80 of file functions_object.cpp.
References Common::UString::format(), Aurora::NWScript::Variable::getFloat(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeFloat.
|
private |
Definition at line 66 of file functions_object.cpp.
References Common::UString::format(), Aurora::NWScript::Variable::getInt(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::kTypeInt.
|
private |
Definition at line 94 of file functions_object.cpp.
References Common::UString::format(), Aurora::NWScript::Variable::getObject(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::ActionScript::kTypeObject.
|
private |
Definition at line 87 of file functions_object.cpp.
References Common::UString::format(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::getString(), and Aurora::ActionScript::kTypeString.
|
private |
Definition at line 158 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 234 of file functions_object.cpp.
References _game, Aurora::NWScript::ObjectContainer::findObjects(), Engines::Jade::Object::getArea(), Engines::Jade::Game::getModule(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::Jade::Object::getType(), Engines::Jade::kObjectTypeInvalid, Engines::Jade::kObjectTypeMAX, and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 70 of file functions_module.cpp.
References Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 198 of file functions_object.cpp.
References _game, Common::UString::empty(), Aurora::NWScript::ObjectContainer::findObjectsByTag(), Engines::Jade::Game::getModule(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 320 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 136 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Engines::Jade::Object::getType(), and Engines::Jade::ObjectContainer::toObject().
|
staticprivate |
Definition at line 118 of file functions.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getParams(), Engines::Jade::Object::getType(), Engines::Jade::kObjectTypeInvalid, Engines::Jade::kObjectTypeSelf, and Engines::Jade::ObjectContainer::toObject().
Referenced by actionCloseDoor(), actionJumpToObject(), actionMoveToObject(), actionOpenDoor(), actionStartConversation(), assignCommand(), executeScript(), getArea(), getAutoBalance(), getDistanceToObject(), getIsObjectValid(), getIsPC(), getLocalBool(), getLocalFloat(), getLocalInt(), getLocalObject(), getLocalString(), getLocation(), getNearestObject(), getObjectConversationResref(), getObjectType(), getPosition(), getPriorActivation(), getTag(), jumpToObject(), sendMessageToPC(), setLocalBool(), setLocalFloat(), setLocalInt(), setLocalObject(), setLocalString(), setObjectNoCollide(), setUserDefinedEventNumber(), and signalEvent().
|
private |
Definition at line 66 of file functions_module.cpp.
References _game, Engines::Jade::Game::getModule(), Engines::Jade::Module::getPC(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 166 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::setVector(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 53 of file functions_module.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Engines::Jade::Location::getPosition(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Variable::setVector(), and Engines::Jade::ObjectContainer::toLocation().
|
private |
Definition at line 325 of file functions_object.cpp.
References Engines::Jade::Object::getLastTriggerer(), getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 240 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and TalkMan.
|
private |
Definition at line 177 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 150 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 158 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 162 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 154 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 207 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 142 of file functions_object.cpp.
References Common::UString::clear(), getParamObject(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::Variable::getString().
|
private |
Definition at line 62 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getCurrentEnvironment(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Object::getTag(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 214 of file functions_object.cpp.
References _game, Common::UString::empty(), Aurora::NWScript::ObjectContainer::findObjectsByTag(), Engines::Jade::Game::getModule(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Engines::Jade::ObjectContainer::toWaypoint().
|
private |
Definition at line 192 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 120 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 120 of file functions_string.cpp.
References Common::UString::format(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 108 of file functions_string.cpp.
References Common::composeString(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 129 of file functions.cpp.
References _game, Common::UString::c_str(), Engines::Jade::Object::getArea(), Engines::Jade::Game::getModule(), Engines::Jade::Module::getPC(), Engines::Jade::AreaLayout::getResRef(), GfxMan, Engines::Jade::Module::movedPC(), Engines::Jade::ObjectContainer::toObject(), and warning().
Referenced by actionJumpToLocation(), actionJumpToObject(), actionMoveToLocation(), actionMoveToObject(), jumpToLocation(), and jumpToObject().
|
private |
Definition at line 291 of file functions_object.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getParams(), Engines::Jade::Location::getPosition(), jumpTo(), Engines::Jade::ObjectContainer::toLocation(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 304 of file functions_object.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), getParamObject(), jumpTo(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 40 of file functions_module.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Engines::Jade::Location::setArea(), Engines::Jade::Location::setFacing(), Engines::Jade::Location::setPosition(), and Engines::Jade::ObjectContainer::toArea().
|
private |
Definition at line 68 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 92 of file functions_string.cpp.
References Common::UString::format(), Aurora::NWScript::formatTag(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 277 of file functions_object.cpp.
References Aurora::NWScript::FunctionContext::getCaller(), Aurora::NWScript::FunctionContext::getParams(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 72 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 74 of file functions_string.cpp.
References formatFloat(), Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 70 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 86 of file functions_string.cpp.
References Aurora::NWScript::formatTag(), Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 82 of file functions_string.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and status().
|
private |
Definition at line 99 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(), getRandom(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 61 of file functions.cpp.
References ARRAYSIZE, Engines::Jade::Functions::FunctionDefaults::defaults, Engines::Jade::Functions::FunctionPointer::func, FunctionMan, Engines::Jade::Functions::FunctionPointer::id, Engines::Jade::Functions::FunctionSignature::id, Engines::Jade::Functions::FunctionDefaults::id, kFunctionDefaults, kFunctionPointers, kFunctionSignatures, Aurora::NWScript::kTypeVoid, Engines::Jade::Functions::FunctionPointer::name, Engines::Jade::Functions::FunctionSignature::parameters, Engines::Jade::Functions::FunctionSignature::returnType, and unimplementedFunction().
Referenced by Functions().
|
private |
Definition at line 58 of file functions_string.cpp.
References Common::UString::c_str(), debugC(), Aurora::NWScript::FunctionContext::getName(), Engines::Jade::Object::getName(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Common::kDebugEngineScripts, Engines::Jade::ObjectContainer::toPC(), and warning().
|
private |
Definition at line 246 of file functions_string.cpp.
References Common::UString::format(), Aurora::NWScript::FunctionContext::getParams(), and TokenMan.
|
private |
Definition at line 61 of file functions_game.cpp.
References _game, Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::VariableContainer::setVariable().
|
private |
Definition at line 69 of file functions_game.cpp.
References _game, Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::VariableContainer::setVariable().
|
private |
Definition at line 57 of file functions_game.cpp.
References _game, Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::VariableContainer::setVariable().
|
private |
Definition at line 65 of file functions_game.cpp.
References _game, Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::VariableContainer::setVariable().
|
private |
Definition at line 108 of file functions_object.cpp.
References Common::UString::format(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 115 of file functions_object.cpp.
References Common::UString::format(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 101 of file functions_object.cpp.
References Common::UString::format(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 129 of file functions_object.cpp.
References Common::UString::format(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 122 of file functions_object.cpp.
References Common::UString::format(), getParamObject(), and Aurora::NWScript::FunctionContext::getParams().
|
private |
Definition at line 330 of file functions_object.cpp.
References getParamObject(), Aurora::NWScript::FunctionContext::getParams(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 74 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getCurrentEnvironment(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), Aurora::NWScript::Object::getTag(), Aurora::NWScript::kTypeVoid, Aurora::NWScript::VariableContainer::setVariable(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 49 of file functions_event.cpp.
References Aurora::NWScript::FunctionContext::getCurrentEnvironment(), getParamObject(), Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::Object::getTag(), Engines::Jade::kScriptOnUserdefined, Aurora::NWScript::VariableContainer::setVariable(), Engines::Jade::ObjectContainer::toEvent(), and Engines::Jade::ObjectContainer::toObject().
|
private |
Definition at line 48 of file functions_math.cpp.
References Common::deg2rad(), 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 137 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 124 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 52 of file functions_math.cpp.
References Common::deg2rad(), Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 97 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 actionMoveToLocation(), actionMoveToObject(), and registerFunctions().
|
private |
Definition at line 128 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::Variable::setVector().
|
private |
Definition at line 134 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), and Aurora::NWScript::FunctionContext::getReturn().
|
private |
Definition at line 141 of file functions_math.cpp.
References Aurora::NWScript::FunctionContext::getParams(), Aurora::NWScript::FunctionContext::getReturn(), and Aurora::NWScript::Variable::setVector().
|
private |
Definition at line 52 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 76 of file functions.h.
Referenced by actionDoCommand(), actionStartConversation(), assignCommand(), delayCommand(), getGlobalBool(), getGlobalFloat(), getGlobalInt(), getGlobalString(), getNearestObject(), getObjectByTag(), getPlayer(), getWaypointByTag(), jumpTo(), setGlobalBool(), setGlobalFloat(), setGlobalInt(), and setGlobalString().
|
staticprivate |
The table defining the default values for the parameters of each engine function.
Definition at line 73 of file functions.h.
Referenced by registerFunctions().
|
staticprivate |
The table defining the name and function pointer of each engine function.
Definition at line 71 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 72 of file functions.h.
Referenced by registerFunctions().