From 7b97e8cd9370095b999b22371c1aef606a8464a1 Mon Sep 17 00:00:00 2001 From: Benjamin Haisch Date: Sat, 20 Sep 2008 19:06:41 +0000 Subject: TOLTECS: A lot of changes in the graphics code: - Optimized drawing code; now only items (sprites, text, screen masks) which have changed from the previous frame are redrawn, this speeds up things a lot - Implemented dirty rectangles using a microtile array - The previously committed Microtile Array implementation from SEL seemed buggy so I wrote my own version which works nicely so far (and is less code and GPL), only MicroTileArray::getRectangles uses parts from the old version, this will be changed later - One known bug related to dirty rectangles remains: Sometimes the background isn't restored correctly and gfx artifacts are visible --- engines/toltecs/saveload.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'engines/toltecs/saveload.cpp') diff --git a/engines/toltecs/saveload.cpp b/engines/toltecs/saveload.cpp index 99bbc0519c..b631b1d529 100644 --- a/engines/toltecs/saveload.cpp +++ b/engines/toltecs/saveload.cpp @@ -139,7 +139,6 @@ void ToltecsEngine::loadgame(const char *filename) { delete in; loadScene(_sceneResIndex); - _screen->clearSprites(); _newCameraX = _cameraX; _newCameraY = _cameraY; -- cgit v1.2.3