SCUMM: improve verb and sentence handling

- execute sentence if verb was clicked twice
- reuse the first object if a new verb is selected (but no preposition is used yet)
This commit is contained in:
Tobias Gunkel 2012-01-10 23:17:40 +01:00
parent 8392d23e6b
commit e14bc5fd6d
2 changed files with 38 additions and 15 deletions

View file

@ -97,6 +97,7 @@ protected:
virtual void runSentenceScript();
virtual void checkAndRunSentenceScript();
bool checkSentenceComplete();
virtual void checkExecVerbs();
virtual void handleMouseOver(bool updateInventory);
int verbPrepIdType(int verbid);