virtual void invoke(logrec_t& r) { PageID pid = r.pid(); if (pid != currentPage) { dumpCurrent(); logrecs = 0; volume = 0; currentPage = pid; pageCount++; } logrecs++; volume += r.length(); }
void DreamWebEngine::allPalette() { memcpy(_startPal, _mainPal, 3 * 256); dumpCurrent(); }
void DreamWebEngine::clearPalette() { _fadeDirection = 0; clearStartPal(); dumpCurrent(); }
virtual void finalize() { dumpCurrent(); pageCount++; cout << "TOTAL_PAGES=" << pageCount << endl; };