Split play into body, items, interactions, autofeed and camera, with events, commands and literal strings
This commit is contained in:
1 parent
167f1a5ddd
commit
3e9a0cbd34
21 files changed
+2504
-2431
No files matched your search
+4
-2
@@ -12,7 +12,7 @@ enum TextMode
|
||||
};
|
||||
|
||||
// Plays out a dialogue entry a character at a time with its effects, then offers its choices or the entry it leads to.
|
||||
// A scene holds the game still until its last entry finishes.
|
||||
// A scene holds the game still until its last entry finishes. The UI shows it and passes on the player's input.
|
||||
class Text
|
||||
{
|
||||
public:
|
||||
@@ -31,7 +31,9 @@ public:
|
||||
bool isStarted = false;
|
||||
|
||||
void set(Play& play, Entry* next, TextMode mode = TEXT_INTERRUPTIBLE, const std::string& onEnd = "");
|
||||
void update(Play& play, Vec2 screenSize);
|
||||
void update(Play& play);
|
||||
void advance(Play& play);
|
||||
void choose(Play& play, int choice);
|
||||
void clear(Play& play);
|
||||
bool is_interruptible();
|
||||
|
||||
|
||||
Reference in new issue
Block a user