diff options
author | Filippos Karapetis | 2009-01-02 16:52:38 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-01-02 16:52:38 +0000 |
commit | d5b6996c4521d4d02b2caae3802f5b120c632783 (patch) | |
tree | c1690def198ed98dba013de57dd447b81440ec0e /engines/saga/font.cpp | |
parent | a09a7678f4c4af4aadd1e0b58fd62becc1a6125e (diff) | |
download | scummvm-rg350-d5b6996c4521d4d02b2caae3802f5b120c632783.tar.gz scummvm-rg350-d5b6996c4521d4d02b2caae3802f5b120c632783.tar.bz2 scummvm-rg350-d5b6996c4521d4d02b2caae3802f5b120c632783.zip |
- Split the IHNM script functions into a different file
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS)
svn-id: r35672
Diffstat (limited to 'engines/saga/font.cpp')
-rw-r--r-- | engines/saga/font.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp index 5ea7124184..ab73f07968 100644 --- a/engines/saga/font.cpp +++ b/engines/saga/font.cpp @@ -681,6 +681,7 @@ Font::FontId Font::knownFont2FontIdx(KnownFont font) { fontId = _vm->_font->valid(kBigFont) ? kBigFont : kMediumFont; break; } +#ifdef ENABLE_IHNM } else if (_vm->getGameId() == GID_IHNM && !(_vm->getFeatures() & GF_IHNM_DEMO)) { switch (font) { case (kKnownFontSmall): @@ -703,6 +704,7 @@ Font::FontId Font::knownFont2FontIdx(KnownFont font) { fontId = kMediumFont; // unchecked break; } +#endif } return fontId; } |