Moved the cel count calculation to the new graphics code
svn-id: r45379
This commit is contained in:
parent
1a4b617398
commit
b5feeb60b6
6 changed files with 21 additions and 44 deletions
|
@ -1077,9 +1077,9 @@ bool Console::cmdViewInfo(int argc, const char **argv) {
|
|||
DebugPrintf("has %d loops:\n", loops);
|
||||
|
||||
for (i = 0; i < loops; i++) {
|
||||
int j, cels;
|
||||
int j, cels = _vm->_gamestate->_gui->getCelCount(view, i);
|
||||
|
||||
DebugPrintf("Loop %d: %d cels.\n", i, cels = gfxop_lookup_view_get_cels(_vm->_gamestate->gfx_state, view, i));
|
||||
DebugPrintf("Loop %d: %d cels.\n", i, cels);
|
||||
for (j = 0; j < cels; j++) {
|
||||
int width;
|
||||
int height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue