renamed _bcr -> _costumeRenderer

svn-id: r8473
This commit is contained in:
Max Horn 2003-06-14 13:38:22 +00:00
parent af979a4a7a
commit 4e57157cda
3 changed files with 8 additions and 8 deletions

View File

@ -884,7 +884,7 @@ void Actor::drawActorCostume() {
setupActorScale();
BaseCostumeRenderer* bcr = _vm->_bcr;
BaseCostumeRenderer* bcr = _vm->_costumeRenderer;
bcr->updateNbStrips ();

View File

@ -421,7 +421,7 @@ protected:
public:
int _numCostumes; // FIXME - should be protected, used by Actor::remapActorPalette
BaseCostumeRenderer* _bcr;
BaseCostumeRenderer* _costumeRenderer;
char *_audioNames;
int32 _numAudioNames;

View File

@ -410,7 +410,7 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst)
_languageBuffer = NULL;
_languageIndex = NULL;
memset(_transText, 0, sizeof(_transText));
_bcr = NULL;
_costumeRenderer = NULL;
_2byteFontPtr = 0;
//
@ -725,7 +725,7 @@ Scumm::~Scumm () {
delete _languageBuffer;
delete _audioNames;
delete _bcr;
delete _costumeRenderer;
if (_shadowPalette)
free(_shadowPalette);
@ -741,12 +741,12 @@ void Scumm::setFeatures (uint32 newFeatures) {
_features = newFeatures;
if (!_bcr || newCostumes != newNewCostumes) {
delete _bcr;
if (!_costumeRenderer || newCostumes != newNewCostumes) {
delete _costumeRenderer;
if (newNewCostumes)
_bcr = new AkosRenderer(this);
_costumeRenderer = new AkosRenderer(this);
else
_bcr = new CostumeRenderer(this);
_costumeRenderer = new CostumeRenderer(this);
}
}