diff options
author | David Eriksson | 2004-01-10 16:03:41 +0000 |
---|---|---|
committer | David Eriksson | 2004-01-10 16:03:41 +0000 |
commit | 5d50f01b2f9e5f9bea99dab066e5f0551fb93ac0 (patch) | |
tree | 74d5a1888b18304459b2c953e08173a4a7296a25 /queen/talk.cpp | |
parent | c27915b46d74c2d04695c4f3124f7f18a0bf505b (diff) | |
download | scummvm-rg350-5d50f01b2f9e5f9bea99dab066e5f0551fb93ac0.tar.gz scummvm-rg350-5d50f01b2f9e5f9bea99dab066e5f0551fb93ac0.tar.bz2 scummvm-rg350-5d50f01b2f9e5f9bea99dab066e5f0551fb93ac0.zip |
Text position for talking heads.
svn-id: r12300
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 7206a5fb9b..3e448d97ef 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -999,7 +999,34 @@ void Talk::speakSegment( if (_talkHead) { // talk.c lines 1491-1533 - warning("Text position for talking heads not yet handled"); + if (isJoe) { + switch (_vm->logic()->currentRoom()) { + case FAYE_HEAD: + case AZURA_HEAD: + textX = 15; + break; + + default: + textX = 150; + break; + } + textY = 30; + } + else { + // XXX spaces = (spaces * 5) / 2; + switch (_vm->logic()->currentRoom()) { + case FAYE_HEAD: + case AZURA_HEAD: + textX = 15; + textY = 60; + break; + + default: // Frank + textX = 150; + textY = 60; + break; + } + } } else { textX = bob->x; |