[Scummvm-cvs-logs] SF.net SVN: scummvm:[42994] scummvm/branches/gsoc2009-draci/engines/draci

Robert Špalek rspalek at gmail.com
Sun Aug 2 18:51:43 CEST 2009


On Sat, Aug 1, 2009 at 10:21 PM, <dkasak13 at users.sourceforge.net> wrote:

> Revision: 42994
>          http://scummvm.svn.sourceforge.net/scummvm/?rev=42994&view=rev
> Author:   dkasak13
> Date:     2009-08-02 05:21:21 +0000 (Sun, 02 Aug 2009)
>


>
> Modified: scummvm/branches/gsoc2009-draci/engines/draci/game.cpp
> ===================================================================
> --- scummvm/branches/gsoc2009-draci/engines/draci/game.cpp      2009-08-02
> 05:16:36 UTC (rev 42993)
> +++ scummvm/branches/gsoc2009-draci/engines/draci/game.cpp      2009-08-02
> 05:21:21 UTC (rev 42994)
> @@ -277,6 +277,21 @@
>                        debugC(2, kDraciAnimationDebugLevel, "Anim under
> cursor: %d", animUnderCursor);
>                }
>
> +               if (_loopSubstatus == kStatusTalk) {
> +                       Animation *speechAnim =
> _vm->_anims->getAnimation(kSpeechText);
> +                       Text *speechFrame = reinterpret_cast<Text
> *>(speechAnim->getFrame());
> +
> +                       uint speechDuration = kBaseSpeechDuration +
> +
> speechFrame->getLength() * kSpeechTimeUnit /
> +                                                                 (128 / 16
> + 1);
>

what does this numeric constant denote?  why isn't it already incorporated
into kSpeechTimeUnit?

-- 
Robert Špalek <rspalek at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-git-logs/attachments/20090802/d91281c6/attachment.html>


More information about the Scummvm-git-logs mailing list