Add zbuffer and screenblocks options in .residualrc.

Also, make ZBUFFER_GLOBAL and SCREENBLOCKS_GLOBAL into bool variables.
This commit is contained in:
Daniel Schepler 2004-03-24 12:20:46 +00:00
parent edb7c81ce8
commit 4b06c2226d
6 changed files with 41 additions and 14 deletions

View file

@ -96,7 +96,7 @@ void Engine::mainLoop() {
}
g_driver->flipBuffer();
} else if (_mode == ENGINE_MODE_NORMAL) {
if (SCREENBLOCKS_GLOBAL == 1)
if (SCREENBLOCKS_GLOBAL)
screenBlocksReset();
// Update actor costumes
@ -109,7 +109,7 @@ void Engine::mainLoop() {
g_driver->clearScreen();
if (SCREENBLOCKS_GLOBAL == 1)
if (SCREENBLOCKS_GLOBAL)
screenBlocksBlitDirtyBlocks();
if (currScene_ != NULL) {