Fixing logger and windows version - remove terminal
This commit is contained in:
1 parent
76287dda46
commit
a7d17d9afd
27 files changed
+349
-243
No files matched your search
@@ -3,6 +3,7 @@
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include "utils/Utils.h"
|
||||
|
||||
namespace ZL::Cutscene {
|
||||
|
||||
@@ -68,7 +69,7 @@ bool CutsceneRuntime::start(const std::string& cutsceneId) {
|
||||
onLineStarted(firstLine.luaCallback);
|
||||
}
|
||||
|
||||
std::cout << "[CUTSCENE] start id=" << cutsceneId
|
||||
logger() << "[CUTSCENE] start id=" << cutsceneId
|
||||
<< " lines=" << def->lines.size()
|
||||
<< " totalDuration=" << cutsceneTotalDurationMs
|
||||
<< std::endl;
|
||||
@@ -176,7 +177,7 @@ void CutsceneRuntime::skip() {
|
||||
}
|
||||
|
||||
void CutsceneRuntime::finish() {
|
||||
std::cout << "[CUTSCENE] finish id=" << activeCutsceneId << std::endl;
|
||||
logger() << "[CUTSCENE] finish id=" << activeCutsceneId << std::endl;
|
||||
const std::string finishedId = activeCutsceneId;
|
||||
stop();
|
||||
if (onFinished && !finishedId.empty()) {
|
||||
|
||||
Reference in new issue
Block a user