[Scummvm-cvs-logs] SF.net SVN: scummvm: [28215] scummvm/trunk/engines/saga/font.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Jul 26 16:39:06 CEST 2007
Revision: 28215
http://scummvm.svn.sourceforge.net/scummvm/?rev=28215&view=rev
Author: thebluegr
Date: 2007-07-26 07:39:05 -0700 (Thu, 26 Jul 2007)
Log Message:
-----------
The demo version of IHNM has 3 font types (like ITE), not 6 (like the full version of IHNM)
Modified Paths:
--------------
scummvm/trunk/engines/saga/font.cpp
Modified: scummvm/trunk/engines/saga/font.cpp
===================================================================
--- scummvm/trunk/engines/saga/font.cpp 2007-07-26 13:26:34 UTC (rev 28214)
+++ scummvm/trunk/engines/saga/font.cpp 2007-07-26 14:39:05 UTC (rev 28215)
@@ -629,7 +629,8 @@
Font::FontId Font::knownFont2FontIdx(KnownFont font) {
FontId fontId = kSmallFont;
- if (_vm->getGameType() == GType_ITE) {
+ // The demo version of IHNM has 3 font types (like ITE), not 6 (like the full version of IHNM)
+ if (_vm->getGameType() == GType_ITE || _vm->getGameId() == GID_IHNM_DEMO) {
switch (font)
{
case (kKnownFontSmall):
@@ -652,7 +653,7 @@
fontId = _vm->_font->valid(kBigFont) ? kBigFont : kMediumFont;
break;
}
- } else if (_vm->getGameType() == GType_IHNM) {
+ } else if (_vm->getGameType() == GType_IHNM && _vm->getGameId() != GID_IHNM_DEMO) {
switch (font)
{
case (kKnownFontSmall):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list