diff options
author | Eugene Sandulenko | 2015-12-21 20:55:20 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-27 15:40:58 +0100 |
commit | 80af9c9c711392ff888c747ce980a69518423d31 (patch) | |
tree | 22eac647331c82fe4011757c473bc7befe96470e /engines/wage/script.h | |
parent | 5c2f3301f0b02d080de43f06efabec117903cec2 (diff) | |
download | scummvm-rg350-80af9c9c711392ff888c747ce980a69518423d31.tar.gz scummvm-rg350-80af9c9c711392ff888c747ce980a69518423d31.tar.bz2 scummvm-rg350-80af9c9c711392ff888c747ce980a69518423d31.zip |
WAGE: Stubs for command processing
Diffstat (limited to 'engines/wage/script.h')
-rw-r--r-- | engines/wage/script.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/engines/wage/script.h b/engines/wage/script.h index e898d51249..5d5f9ef7e2 100644 --- a/engines/wage/script.h +++ b/engines/wage/script.h @@ -47,7 +47,7 @@ #ifndef WAGE_SCRIPT_H #define WAGE_SCRIPT_H - + namespace Wage { class Script { @@ -77,7 +77,7 @@ private: CLICK_INPUT = 5, TEXT_INPUT = 6 }; - + union { Obj *obj; Chr *chr; @@ -88,7 +88,7 @@ private: } _value; OperandTypes _type; String _str; - + Operand(Obj *value, OperandTypes type) { _value.obj = value; _str = value->toString(); @@ -135,9 +135,20 @@ private: void processLet(); void appendText(String str); - + void handleMoveCommand(Scene::Directions dir, const char *dirName); + void handleLookCommand(); + void handleInventoryCommand(); + void handleStatusCommand(); + void handleRestCommand(); + void handleAcceptCommand(); + + void handleTakeCommand(const char *target); + void handleDropCommand(const char *target); + void handleAimCommand(const char *target); + void handleWearCommand(const char *target); + void handleOfferCommand(const char *target); }; } // End of namespace Wage - + #endif |