80 Operand(
Obj *value, OperandType type) {
86 Operand(
Chr *value, OperandType type) {
92 Operand(
Scene *value, OperandType type) {
94 assert(type == SCENE);
98 Operand(
int value, OperandType type) {
99 _value.number = value;
100 assert(type == NUMBER);
105 _value.string = value;
106 assert(type == STRING || type == TEXT_INPUT);
110 Operand(
Designed *value, OperandType type) {
111 _value.inputClick = value;
112 assert(type == CLICK_INPUT);
118 delete _value.string;
131 void printLine(
int offset);
136 Operand *readOperand();
137 Operand *readStringOperand();
138 const char *readOperator();
142 bool compare(Operand *o1, Operand *o2,
int comparator);
143 bool eval(Operand *lhs,
const char *op, Operand *rhs);
144 bool evaluatePair(Operand *lhs,
const char *op, Operand *rhs);
145 Operand *convertOperand(Operand *operand,
int type);
146 bool evalClickCondition(Operand *lhs,
const char *op, Operand *rhs);
147 bool evalClickEquality(Operand *lhs, Operand *rhs,
bool partialMatch);
151 void assign(byte operandType,
int uservar, uint16 value);
153 void convertToText();
Definition: entities.h:231
Definition: entities.h:300
Definition: debugger.h:28
Definition: entities.h:130
Definition: entities.h:111