Add zbuffer and screenblocks options in .residualrc.
Also, make ZBUFFER_GLOBAL and SCREENBLOCKS_GLOBAL into bool variables.
This commit is contained in:
parent
edb7c81ce8
commit
4b06c2226d
6 changed files with 41 additions and 14 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue