ScummVM API documentation
Ultima::Nuvie::ConverseInterpret Class Reference
Inheritance diagram for Ultima::Nuvie::ConverseInterpret:
Ultima::Nuvie::SETalkInterpret Ultima::Nuvie::U6ConverseInterpret Ultima::Nuvie::WOUConverseInterpret Ultima::Nuvie::MDTalkInterpret

Classes

struct  converse_db_s
 
struct  convi_frame_s
 
struct  in_val_s
 

Public Member Functions

 ConverseInterpret (Converse *owner)
 
bool waiting () const
 
void wait ()
 
void unwait ()
 
void stop ()
 
bool end ()
 
void step ()
 
virtual uint8 npc_num (uint32 n)
 
bool check_keywords (Std::string keystr, Std::string instr)
 
bool var_input () const
 
void assign_input ()
 
struct converse_db_sget_db (uint32 loc, uint32 i)
 
converse_value get_db_integer (uint32 loc, uint32 i)
 
void set_db_integer (uint32 loc, uint32 i, converse_value val)
 
char * get_db_string (uint32 loc, uint32 i)
 
converse_value find_db_string (uint32 loc, const char *dstring)
 
virtual bool is_print (converse_value check) const
 
virtual bool is_ctrl (converse_value code) const
 
virtual bool is_datasize (converse_value check) const
 
virtual bool is_valop (converse_value check) const
 
const char * evop_str (converse_value op)
 
const char * op_str (converse_value op)
 

Protected Member Functions

const char * get_rstr (uint32 sn) const
 
const stringget_ystr () const
 
void set_ystr (const char *s)
 
void set_rstr (uint32 sn, const char *s)
 
converse_value add_rstr (const char *s)
 
void let (uint8 v, uint8 t)
 
void let ()
 
void enter (converse_value c)
 
void leave ()
 
void leave_all ()
 
struct convi_frame_stop_frame () const
 
void do_frame (converse_value c)
 
void set_break (converse_value c)
 
converse_value get_break () const
 
void clear_break ()
 
void set_run (bool r)
 
bool get_run () const
 
virtual void collect_input ()
 
virtual struct in_val_s read_value ()
 
void eval (uint32 vi=0)
 
void add_val (converse_value c, uint8 d=0)
 
void add_text (unsigned char c=0)
 
uint32 val_count () const
 
converse_value get_val (uint32 vi)
 
uint8 get_val_size (uint32 vi)
 
converse_value pop_val ()
 
uint8 pop_val_size ()
 
const Std::stringget_text () const
 
void flush ()
 
void exec ()
 
void do_ctrl ()
 
void do_text ()
 
string get_formatted_text (const char *c_str)
 
converse_value pop_arg (Common::Stack< converse_typed_value > &vs)
 
converse_typed_value pop_typed_arg (Common::Stack< converse_typed_value > &vs)
 
virtual bool evop (Common::Stack< converse_typed_value > &i)
 
virtual bool op (Common::Stack< converse_typed_value > &i)
 
virtual bool op_create_new (Common::Stack< converse_typed_value > &i)
 
converse_value evop_eq (Common::Stack< converse_typed_value > &vs)
 

Protected Attributes

Converseconverse
 
bool is_waiting
 
bool stopped
 
uint8 answer_mode
 
vector< struct in_val_sin
 
uint32 in_start
 
string text
 
vector< Std::stringrstrings
 
string ystring
 
uint8 decl_v
 
uint8 decl_t
 
Common::Stack< struct convi_frame_s * > * b_frame
 
bool db_lvar
 
converse_value db_loc
 
converse_value db_offset
 

The documentation for this class was generated from the following file: