'unbreak' Residual - disable Zbuffer and (broken) screenblocks code by default. Add hacky commandline options for these.

This commit is contained in:
James Brown 2003-09-21 09:51:59 +00:00
parent f2ddfb59cf
commit 214e9a933b
8 changed files with 51 additions and 17 deletions

View file

@ -84,7 +84,7 @@ void Engine::mainLoop() {
// Run asynchronous tasks
lua_runtasks();
if (SCREENBLOCKS_GLOBAL == 1)
screenBlocksReset();
// Draw the screen
@ -118,8 +118,8 @@ void Engine::mainLoop() {
}
glDisable(GL_TEXTURE_2D);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
if (SCREENBLOCKS_GLOBAL == 1)
screenBlocksBlitDirtyBlocks();
Bitmap::prepareGL();