22 #ifndef SCI_ENGINE_MESSAGE_H 23 #define SCI_ENGINE_MESSAGE_H 25 #include "sci/resource/resource.h" 26 #include "sci/engine/vm_types.h" 27 #include "common/stack.h" 40 MessageTuple(byte noun_ = 0, byte verb_ = 0, byte cond_ = 0, byte seq_ = 1)
41 : noun(noun_), verb(verb_), cond(cond_), seq(seq_) { }
45 noun, verb, cond, seq);
59 int getModule()
const {
return _module; }
60 void setModule(
int module) { _module = module; }
72 int nextMessage(
reg_t buf);
76 void pushCursorStack();
77 void popCursorStack();
80 bool getRecord(
CursorStack &stack,
bool recurse, MessageRecord &record);
83 int hexDigitToWrongInt(
char h);
89 CursorStackStack _cursorStackStack;
91 int _lastReturnedModule;
98 #endif // SCI_ENGINE_MESSAGE_H
static String format(MSVC_PRINTF const char *fmt,...) GCC_PRINTF(1
Definition: seg_manager.h:48
Definition: vm_types.h:39