|
| SuccUBusScript (int val1, const char *charClass, int v2, const char *charName, int v3, int val2, int v4, int v5, int v6, int v7) |
|
int | chooseResponse (const TTroomScript *roomScript, const TTsentence *sentence, uint tag) override |
|
int | process (const TTroomScript *roomScript, const TTsentence *sentence) override |
|
ScriptChangedResult | scriptChanged (const TTroomScript *roomScript, uint id) override |
|
int | updateState (uint oldId, uint newId, int index) override |
|
int | doSentenceEntry (int val1, const int *srcIdP, const TTroomScript *roomScript, const TTsentence *sentence) override |
|
| 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 int | handleQuote (const TTroomScript *roomScript, const TTsentence *sentence, uint tag1, uint tag2, uint remainder) |
|
virtual bool | isQuoteDialled () const |
|
virtual uint | getRangeValue (uint id) |
|
virtual void | resetRange (int id) |
|
virtual int | preResponse (uint id) |
|
virtual uint | getDialsBitset () const |
|
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 bool | randomResponse (uint index) |
|
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) |
|
|
static void | init () |
|
static void | deinit () |
|
int | _charId |
|
int | _id |
|
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 |
|
static int | getRoom54 (int roomId) |
|
static CPetControl * | getPetControl (CGameManager *gameManager) |
|
static bool | sentence2C (const TTsentence *sentence) |
|
Common::Array< TTnpcScriptResponse > | _responses |
|
int | _valuesPerResponse |
|
Common::Array< TTscriptRange > | _ranges |
|
TTscriptMappings | _mappings |
|
TTsentenceEntries | _entries |
|
TTtagMappings | _tagMappings |
|
TTwordEntries | _words |
|
TThandleQuoteEntries | _quotes |
|
int | _entryCount |
|
int | _field68 |
|
int | _field6C |
|
int | _rangeResetCtr |
|
int | _currentDialNum |
|
int | _dialDelta |
|
int | _field7C |
|
const char * | _itemStringP |
|
int | _dialValues [10] |
|
TTnpcData | _data |
|
bool | _field2CC |
|
int | _field54 |
|
int | _val2 |
|
TTnode * | _nodesP |
|
TThist * | _hist1P |
|
TTstring | _charName |
|
TTstring | _charClass |
|
int | _field20 |
|
int | _field24 |
|
int | _field28 |
|
int | _field2C |
|
int | _field30 |
|
int | _state |
|
TThist * | _hist2P |
|
int | _field3C |
|
TTresponse * | _respTailP |
|
TTresponse * | _respHeadP |
|
TTresponse * | _oldResponseP |
|
int | _status |
|
static TTsentenceEntries * | _defaultEntries |
|