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

@ -155,7 +155,7 @@ void Scene::Setup::setupCamera() const {
void Scene::setSetup(int num) {
currSetup_ = setups_ + num;
if (SCREENBLOCKS_GLOBAL == 0)
if (! SCREENBLOCKS_GLOBAL)
return;
if(currSetup_->bkgnd_zbm_)
screenBlocksInit( currSetup_->bkgnd_zbm_->getData() );