Adding a basic line by line dialog engine

This commit is contained in:
Anonymus Raccoon
2020-04-02 14:35:41 +02:00
parent 6e2097c3e1
commit 2f27e2e812
7 changed files with 125 additions and 27 deletions
+5 -4
View File
@@ -15,16 +15,17 @@ struct dialog_holder {
char **text;
bool single_usage;
bool has_seen;
int current_line;
char *current_text;
struct tile *tile;
};
const struct dialog_holder dialog_holder;
struct dialog_manager {
gc_system base;
bool is_dialog_open;
int dialog_id;
int current_line;
char *current_text;
struct dialog_holder *current_dialog;
};
const struct dialog_manager dialog_manager;