Adapted LavosSpawn's idea for more efficient screen updating. It still

renders the entire screen every frame, but it tries to update (i.e. copy to
the backend) only the parts of the screen that actually changed. At least
approximately so.

svn-id: r12142
This commit is contained in:
Torbjörn Andersson 2004-01-04 15:11:30 +00:00
parent 5607f41e2d
commit 8a91ae3257
9 changed files with 118 additions and 24 deletions

View file

@ -623,7 +623,6 @@ int32 Logic::fnPlayCredits(int32 *params) {
bool foundStartLine = false;
_vm->_graphics->clearScene();
_vm->_graphics->setNeedFullRedraw();
for (i = startLine; i < lineCount; i++) {
// Free any sprites that have scrolled off the screen