30 #ifndef DLG_ENGINE_H__ 31 #define DLG_ENGINE_H__ 35 #include "win_select.h" 36 #include "win_theme.h" 90 void set_name (
const string & new_name);
97 void set_npc (
const string & new_npc);
118 void insert_plugin ();
161 vector <win_label*> cur_answers;
195 #endif // DLG_ENGINE_H__ Allows the running of dialogues through a nice interface.
#define s_int32
32 bits long signed integer
void set_portrait(const string &new_portrait)
Changes the displayed NPC portrait.
#define u_int32
32 bits long unsigned integer
The lowlevel dialog class.
#define u_int8
8 bits long unsigned integer
Base character class containing attributes and dialog stuff.
~dialog_screen()
Destructor.
void run()
Execute one step of the dialogue.
bool update()
React to (keyboard) input.
dialog_screen(character_base *mynpc, char *dlg_file, u_int8 size=1)
Constructor.
void set_npc(const string &new_npc)
Changes the whole NPC.
#define MAX_COLOR
Maximum number of colors used during a dialog.
Defines the dialog class.
void init(character_base *mynpc, char *dlg_file, u_int8 size=1)
Inits the dialogue engine (similar to a constructor call).
void set_name(const string &new_name)
Changes the displayed NPC name.