diff options
author | Filippos Karapetis | 2011-12-12 20:00:45 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-12 20:02:34 +0200 |
commit | 30b2c37e53852fba8ee73f692492f489b4d86e5a (patch) | |
tree | bf29afcaf519b1687d8c7b5a021a5096da30fa52 /engines/dreamweb/people.cpp | |
parent | d1628feb761acc9f4607f64de3eb620fea53bcc9 (diff) | |
download | scummvm-rg350-30b2c37e53852fba8ee73f692492f489b4d86e5a.tar.gz scummvm-rg350-30b2c37e53852fba8ee73f692492f489b4d86e5a.tar.bz2 scummvm-rg350-30b2c37e53852fba8ee73f692492f489b4d86e5a.zip |
DREAMWEB: Convert 'setuptimeduse', 'entrytexts' to C++ and move priestText() to DreamBase
Diffstat (limited to 'engines/dreamweb/people.cpp')
-rw-r--r-- | engines/dreamweb/people.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/engines/dreamweb/people.cpp b/engines/dreamweb/people.cpp index 889a430a22..efb9a028b6 100644 --- a/engines/dreamweb/people.cpp +++ b/engines/dreamweb/people.cpp @@ -629,25 +629,16 @@ void DreamGenContext::priest(ReelRoutine &routine) { if (checkSpeed(routine)) { routine.incReelPointer(); - push(es); - push(bx); priestText(routine); - bx = pop(); - es = pop(); } } -void DreamGenContext::priestText(ReelRoutine &routine) { +void DreamBase::priestText(ReelRoutine &routine) { uint16 reel = routine.reelPointer(); if (reel < 2 || reel >= 7 || (reel & 1)) return; // nopriesttext - al = ((reel & 0xFF) >> 1) + 50; - bl = 72; - bh = 80; - cx = 54; - dx = 1; - setupTimedUse(); + setupTimedUse((reel >> 1) + 50, 54, 1, 72, 80); } void DreamGenContext::monkAndRyan(ReelRoutine &routine) { |