add dialogue and cutscene system
This commit is contained in:
1 parent
178f69967b
commit
7125674308
23 files changed
+1619
-2
No files matched your search
@@ -17,6 +17,7 @@
|
||||
#include <render/TextRenderer.h>
|
||||
#include "MenuManager.h"
|
||||
#include "ScriptEngine.h"
|
||||
#include "dialogue/DialogueSystem.h"
|
||||
|
||||
#include <unordered_set>
|
||||
|
||||
@@ -33,6 +34,9 @@ namespace ZL {
|
||||
void render();
|
||||
|
||||
bool shouldExit() const { return Environment::exitGameLoop; }
|
||||
bool requestDialogueStart(const std::string& dialogueId);
|
||||
void setDialogueFlag(const std::string& flag, int value);
|
||||
int getDialogueFlag(const std::string& flag) const;
|
||||
|
||||
Renderer renderer;
|
||||
TaskManager taskManager;
|
||||
@@ -94,6 +98,7 @@ namespace ZL {
|
||||
static const size_t CONST_MAX_TIME_INTERVAL = 1000;
|
||||
|
||||
MenuManager menuManager;
|
||||
Dialogue::DialogueSystem dialogueSystem;
|
||||
ScriptEngine scriptEngine;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user