aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/script.h
diff options
context:
space:
mode:
authorEugene Sandulenko2015-12-21 20:55:20 +0100
committerEugene Sandulenko2015-12-27 15:40:58 +0100
commit80af9c9c711392ff888c747ce980a69518423d31 (patch)
tree22eac647331c82fe4011757c473bc7befe96470e /engines/wage/script.h
parent5c2f3301f0b02d080de43f06efabec117903cec2 (diff)
downloadscummvm-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.h21
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