mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 04:34:50 +00:00
Added some debug info for loop statuses and dialogues.
svn-id: r43295
This commit is contained in:
parent
9093e179cc
commit
3b0895dd2f
@ -270,6 +270,9 @@ void Game::loop() {
|
||||
|
||||
Surface *surface = _vm->_screen->getSurface();
|
||||
|
||||
debugC(6, kDraciLogicDebugLevel, "loopstatus: %d, loopsubstatus: %d",
|
||||
_loopStatus, _loopSubstatus);
|
||||
|
||||
do {
|
||||
|
||||
_vm->handleEvents();
|
||||
@ -534,7 +537,9 @@ void Game::dialogueMenu(int dialogueID) {
|
||||
_dialogueExit = false;
|
||||
hit = dialogueDraw();
|
||||
|
||||
debug(2, "Hit: %d, _lines[hit]: %d", hit, _lines[hit]);
|
||||
debug(7, kDraciLogicDebugLevel,
|
||||
"hit: %d, _lines[hit]: %d, lastblock: %d, dialogueLines: %d, dialogueExit: %d",
|
||||
hit, _lines[hit], _lastBlock, _dialogueLines, _dialogueExit);
|
||||
|
||||
if ((!_dialogueExit) && (hit != -1) && (_lines[hit] != -1)) {
|
||||
if ((oldLines == 1) && (_dialogueLines == 1) && (_lines[hit] == _lastBlock)) {
|
||||
|
Loading…
Reference in New Issue
Block a user