summaryrefslogtreecommitdiff
path: root/ZAPD/GameConfig.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2023-04-29 21:19:27 -0400
committerGitHub <noreply@github.com>2023-04-29 21:19:27 -0400
commit546f01cbfe2f1d7ed7f3e69f967ad84c10e7b10b (patch)
tree5c2f3fb0e79f5ac5ecc7e57815bf64fb2a0acad5 /ZAPD/GameConfig.cpp
parent1c0178b0e5311188d24986c2667c72b0ae0d184f (diff)
Added setting for ZBackground screen width/height (#278)
Diffstat (limited to 'ZAPD/GameConfig.cpp')
-rw-r--r--ZAPD/GameConfig.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ZAPD/GameConfig.cpp b/ZAPD/GameConfig.cpp
index 777cf9d..b27e816 100644
--- a/ZAPD/GameConfig.cpp
+++ b/ZAPD/GameConfig.cpp
@@ -124,6 +124,7 @@ void GameConfig::ConfigFunc_BGConfig(const tinyxml2::XMLElement& element)
{
bgScreenWidth = element.IntAttribute("ScreenWidth", 320);
bgScreenHeight = element.IntAttribute("ScreenHeight", 240);
+ useScreenWidthHeightConstants = element.BoolAttribute("UseScreenWidthHeightConstants", true);
}
void GameConfig::ConfigFunc_ExternalXMLFolder(const tinyxml2::XMLElement& element)