|
| DeskbotScript (int val1, const char *charClass, int v2, const char *charName, int v3, int val2) |
|
int | process (const TTroomScript *roomScript, const TTsentence *sentence) override |
|
ScriptChangedResult | scriptChanged (const TTroomScript *roomScript, uint id) override |
|
int | handleQuote (const TTroomScript *roomScript, const TTsentence *sentence, uint tag1, uint tag2, uint remainder) override |
|
int | updateState (uint oldId, uint newId, int index) override |
|
int | preResponse (uint id) override |
|
uint | getDialsBitset () const override |
|
int | doSentenceEntry (int val1, const int *srcIdP, const TTroomScript *roomScript, const TTsentence *sentence) override |
|
bool | randomResponse (uint index) override |
|
virtual bool | isDial0Medium () const |
|
virtual bool | isDial0Low () const |
|
bool | isDial1Medium () const |
|
virtual bool | isDial1Low () const |
|
| TTnpcScript (int charId, const char *charClass, int v2, const char *charName, int v3, int val2, int v4, int v5, int v6, int v7) |
|
void | addResponse (int id) override |
|
int | chooseResponse (const TTroomScript *roomScript, const TTsentence *sentence, uint tag) override |
|
int | process (const TTroomScript *roomScript, const TTsentence *sentence) override |
|
int | proc8 () const override |
|
ScriptChangedResult | scriptChanged (uint id) override |
|
ScriptChangedResult | scriptChanged (const TTroomScript *roomScript, uint id) override |
|
int | proc11 () const override |
|
int | proc12 () const override |
|
virtual void | selectResponse (int id) |
|
virtual bool | handleWord (uint id) const |
|
virtual bool | isQuoteDialled () const |
|
virtual uint | getRangeValue (uint id) |
|
virtual void | resetRange (int id) |
|
virtual const TTscriptMapping * | getMapping (int index) |
|
virtual void | postResponse (int v1, const TTsentenceEntry *entry, const TTroomScript *roomScript, const TTsentence *sentence) |
|
virtual void | save (SimpleFile *file) |
|
virtual void | load (SimpleFile *file) |
|
virtual void | saveBody (SimpleFile *file) |
|
virtual void | loadBody (SimpleFile *file) |
|
virtual int | getRangesCount () const |
|
virtual void | setDialRegion (int dialNum, int region) |
|
virtual void | setDial (int dialNum, int value) |
|
virtual int | getDialRegion (int dialNum) const |
|
virtual int | getDialLevel (uint dialNum, bool randomizeFlag=true) |
|
virtual uint | translateId (uint id) const |
|
void | preLoad () |
|
ScriptChangedResult | notifyScript (TTroomScript *roomScript, int id) |
|
| TTnpcScriptBase (int charId, const char *charClass, int v2, const char *charName, int v3, int val2, int v4, int v5, int v6, int v7) |
|
int | charId () const |
|
| TTscriptBase (int scriptId, const char *charClass, int v2, const char *charName, int v3, int v4, int v5, int v6, int v7) |
|
virtual void | addResponse (const TTstring &str) |
|
virtual void | applyResponse () |
|
bool | isValid () |
|
int | getId () const |
|
int | getStatus () const |
|
const TTstring | getText () |
|
int | scriptPreprocess (TTsentence *sentence) |
|
|
int | preprocess (const TTroomScript *roomScript, const TTsentence *sentence) |
|
uint | addAssignedRoomDialogue () |
|
void | loadResponses (const char *name, int valuesPerResponse=1) |
|
void | loadRanges (const char *name) |
|
void | resetFlags () |
|
void | setupDials (int dial1, int dial2, int dial3) |
|
int | getValue (int testNum) const |
|
uint | getRandomNumber (int max) const |
|
uint | getRandomBit () const |
|
uint | getDialogueId (uint tagId) |
|
void | addRange (uint id, const Common::Array< uint > &values, bool isRandom, bool isSequential) |
|
TTscriptRange * | findRange (uint id) |
|
int | processEntries (const TTsentenceEntries *entries, uint entryCount, const TTroomScript *roomScript, const TTsentence *sentence) |
|
int | processEntries (const TTroomScript *roomScript, const TTsentence *sentence) |
|
bool | defaultProcess (const TTroomScript *roomScript, const TTsentence *sentence) |
|
void | checkItems (const TTroomScript *roomScript, const TTsentence *sentence) |
|
bool | addRandomResponse (bool flag) |
|
void | updateCurrentDial (bool changeDial) |
|
bool | fn10 (bool flag) |
|
bool | getStateValue () const |
|
void | getAssignedRoom (int *roomNum, int *floorNum, int *elevatorNum) const |
|
void | setResponseFromArray (int index, int id) |
|
void | deleteResponses () |
|
void | appendResponse (int index, int *maxP, int id) |
|
void | appendResponse (int index, int *maxP, const TTstring &str) |
|
void | appendResponse2 (int index, int *maxP, const TTstring &str) |
|
void | setState (int state) |
|
int | getState () const |
|