120 assert((script >= 0) && (script <
kScriptMAX));
148 if (!scriptName.
empty())
183 return retVal.
getInt() != 0;
Handling version V3.2/V3.3 of BioWare's GFFs (generic file format).
const Common::UString & getScript(Script script) const
Common::UString _scripts[kScriptMAX]
A class holding an UTF-8 string.
static const ScriptName kScriptNames[]
#define ARRAYSIZE(x)
Macro which determines the number of entries in a fixed size array.
An NCS, BioWare's NWN Compile Script.
void exceptionDispatcherWarning(const char *s,...)
Exception dispatcher that prints the exception as a warning, and adds another reason on top...
Basic exceptions to throw.
const char * c_str() const
Return the (utf8 encoded) string data.
const Variable & run(Object *owner=0, Object *triggerer=0)
Run the current script, from start to finish.
Utility templates and functions.
bool empty() const
Is the string empty?
bool runScript(Script script, const Aurora::NWScript::ObjectReference owner=Aurora::NWScript::ObjectReference(), const Aurora::NWScript::ObjectReference triggerer=Aurora::NWScript::ObjectReference())
static ScriptState getEmptyState()
Handling BioWare's NWN Compiled Scripts.
bool hasScript(Script script) const
An object containing scripts.
Common::UString getString(const Common::UString &field, const Common::UString &def="") const
void readScripts(const Aurora::GFF3Struct &gff, bool clear=true)