[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.208,2.209 scumm.h,1.240,1.241

Max Horn max at quendi.de
Wed Jun 4 16:15:06 CEST 2003


Am Donnerstag, 05.06.03 um 01:02 Uhr schrieb Bertrand Augereau:

> Update of /cvsroot/scummvm/scummvm/scumm
> In directory sc8-pr-cvs1:/tmp/cvs-serv20436
>
> Modified Files:
> 	scummvm.cpp scumm.h
> Log Message:
> put a setFeatures member that allows to precompute game-wide stuff, 
> such as CostumeRenderer, when features change, ie extremely rarely
>

Strictly spoken, they shouldn't be just rare - there should be only a 
single one, in the constructor. I just made a brief check, and that 
seems to be correct. So maybe the easier "solution" would be to drop 
setFeatures again, and just make _features a const, then put whatever 
code was going into setFeatures into the constructor (or scummInit, or 
another suitable places.

hehe anyway, grepping for "_features =" lead to me a glich in 
script_v5.cpp (line 1522), so it definitely was good for something :-)


Cheers,

Max





More information about the Scummvm-git-logs mailing list