[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.75,1.76
David Eriksson
twogood at users.sourceforge.net
Sat Jan 10 08:04:02 CET 2004
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv10248
Modified Files:
talk.cpp
Log Message:
Text position for talking heads.
Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- talk.cpp 10 Jan 2004 15:53:51 -0000 1.75
+++ talk.cpp 10 Jan 2004 16:03:41 -0000 1.76
@@ -999,7 +999,34 @@
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;
More information about the Scummvm-git-logs
mailing list