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