dCinema improvements

* Visiblity and effect records
* Recorder will catch effects from behaviors
* Documentation for setting up a scene to play automatically.
* Documentation for server-side preconditions.
This commit is contained in:
wincent
2023-10-29 17:37:26 +01:00
parent e4320d3e63
commit cdc9dda3c4
14 changed files with 418 additions and 25 deletions

View File

@@ -34,7 +34,13 @@ void dConfig::ReloadConfig() {
}
const std::string& dConfig::GetValue(std::string key) {
return this->m_ConfigValues[key];
static std::string emptyString{};
const auto& it = this->m_ConfigValues.find(key);
if (it == this->m_ConfigValues.end()) return emptyString;
return it->second;
}
void dConfig::ProcessLine(const std::string& line) {