aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-06-14 13:38:22 +0000
committerMax Horn2003-06-14 13:38:22 +0000
commit4e57157cda3e627381d0e3d7e83e46c2c5ab96dc (patch)
tree76696853744021ec7de6f312746be2bcb8619b6e
parentaf979a4a7abc1fc2b09511c39aa69c9da6b52108 (diff)
downloadscummvm-rg350-4e57157cda3e627381d0e3d7e83e46c2c5ab96dc.tar.gz
scummvm-rg350-4e57157cda3e627381d0e3d7e83e46c2c5ab96dc.tar.bz2
scummvm-rg350-4e57157cda3e627381d0e3d7e83e46c2c5ab96dc.zip
renamed _bcr -> _costumeRenderer
svn-id: r8473
-rw-r--r--scumm/actor.cpp2
-rw-r--r--scumm/scumm.h2
-rw-r--r--scumm/scummvm.cpp12
3 files changed, 8 insertions, 8 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 633097630c..42db57b271 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -884,7 +884,7 @@ void Actor::drawActorCostume() {
setupActorScale();
- BaseCostumeRenderer* bcr = _vm->_bcr;
+ BaseCostumeRenderer* bcr = _vm->_costumeRenderer;
bcr->updateNbStrips ();
diff --git a/scumm/scumm.h b/scumm/scumm.h
index 7f30aeaf90..b4dd2cb6e9 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -421,7 +421,7 @@ protected:
public:
int _numCostumes; // FIXME - should be protected, used by Actor::remapActorPalette
- BaseCostumeRenderer* _bcr;
+ BaseCostumeRenderer* _costumeRenderer;
char *_audioNames;
int32 _numAudioNames;
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 3596c8d5b5..bd9fb86ff2 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -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);
}
}