diff options
Diffstat (limited to 'engines/gargoyle/conf.cpp')
-rw-r--r-- | engines/gargoyle/conf.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/engines/gargoyle/conf.cpp b/engines/gargoyle/conf.cpp index 7e11a2f295..31e2c5fb05 100644 --- a/engines/gargoyle/conf.cpp +++ b/engines/gargoyle/conf.cpp @@ -69,6 +69,8 @@ Conf::Conf() { _imageW = g_system->getWidth(); _imageH = g_system->getHeight(); _cellW = _cellH = 8; + _leading = 8; + _baseLine = 0; get("moreprompt", _morePrompt, "\207 more \207"); get("morecolor", _moreColor); @@ -89,11 +91,18 @@ Conf::Conf() { get("propi", _propI); get("propz", _propZ); get("propfont", _propFont, "Linux Libertine O"); - get("leading", _leading, 8); - get("baseline", _baseLine, 15); get("rows", _rows, 25); get("cols", _cols, 60); + /* Disabled for now, since Fonts constructor resets them + if (ConfMan.hasKey("leading")) + _leading = atof(ConfMan.get("leading").c_str()) + 0.5; + if (ConfMan.hasKey("baseline")) + _baseLine = atof(ConfMan.get("baseline").c_str()) + 0.5; + if (!_baseLine) + _baseLine = _propSize + 0.5; + */ + if (ConfMan.hasKey("minrows")) _rows = MAX(_rows, strToInt(ConfMan.get("minrows").c_str())); if (ConfMan.hasKey("maxrows")) |