From 74829245d9f05fe51414e26c13c8b18db89b9e2a Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Thu, 8 Jan 2004 10:25:18 +0000 Subject: mostly cleanup : - moved main update() method to QueenEngine - merged update() & checkPlayer() - added a method in Logic class to handle the CUTAWAY_SPECIAL stuff - Journal remembers last seen page - no need to call loadPanel() to restore panel palette, use palSetPanel() instead svn-id: r12240 --- queen/graphics.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'queen/graphics.cpp') diff --git a/queen/graphics.cpp b/queen/graphics.cpp index 178bb5cbb1..10b5c0dee2 100644 --- a/queen/graphics.cpp +++ b/queen/graphics.cpp @@ -844,17 +844,6 @@ void Graphics::eraseAllAnims() { } -void Graphics::loadPanel() { - uint8 *pcxbuf = _vm->resource()->loadFile("panel.pcx"); - if (pcxbuf == NULL) { - error("Unable to open panel file"); - } - uint32 size = _vm->resource()->fileSize("panel.pcx"); - _vm->display()->readPCXPanel(pcxbuf, size); - delete[] pcxbuf; -} - - void BamScene::updateCarAnimation() { if (_flag != F_STOP) { const BamDataBlock *bdb = &_carData[_index]; -- cgit v1.2.3