Skip to content

Commit

Permalink
ACCESS: MM - Add MM specific code in doEstablish
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Jan 30, 2015
1 parent 817730c commit 4176601
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions engines/access/amazon/amazon_game.cpp
Expand Up @@ -253,13 +253,24 @@ void AmazonEngine::doEstablish(int screenId, int estabIndex) {
_screen->setIconPalette();
_screen->forceFadeIn();

_fonts._charSet._lo = 1;
_fonts._charSet._hi = 10;
_fonts._charFor._lo = 29;
_fonts._charFor._hi = 32;
if (getGameID() == GType_MartianMemorandum) {
_fonts._charSet._lo = 1;
_fonts._charSet._hi = 10;
_fonts._charFor._lo = 0xF7;
_fonts._charFor._hi = 0xFF;

_screen->_maxChars = 50;
_screen->_printOrg = _screen->_printStart = Common::Point(24, 18);
} else {
_fonts._charSet._lo = 1;
_fonts._charSet._hi = 10;
_fonts._charFor._lo = 29;
_fonts._charFor._hi = 32;

_screen->_maxChars = 37;
_screen->_printOrg = _screen->_printStart = Common::Point(48, 35);
}

_screen->_maxChars = 37;
_screen->_printOrg = _screen->_printStart = Common::Point(48, 35);
loadEstablish(estabIndex);
_et = estabIndex;
uint16 msgOffset;
Expand Down

0 comments on commit 4176601

Please sign in to comment.