Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

int Cine::FWScript::o2_isSeqRunning (  )  [protected, inherited]

Todo:
Check whether this opcode's name is backwards (i.e. should it be o2_isSeqNotRunning?)

Definition at line 474 of file script_os.cpp.

References Cine::FWScript::_compare, Cine::FWScript::_line, and Cine::FWScript::getNextByte().

                              {
      byte a = getNextByte();
      byte b = getNextByte();

      debugC(5, kCineDebugScript, "Line: %d: o2_isSeqRunning(%d,%d)", _line, a, b);

      if (isSeqRunning(a, 0, b)) {
            _compare = 1;
      } else {
            _compare = 0;
      }
      return 0;
}


Generated by  Doxygen 1.6.0   Back to index