aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BObject.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-26 00:41:05 +0200
committerEinar Johan Trøan Sømåen2012-06-26 00:41:05 +0200
commit37079a633591c386731c6287800a09cb093ae78b (patch)
tree5ab996372ffd14273bafb9dc87898e0f940bb358 /engines/wintermute/Base/BObject.cpp
parent4f1989e6b82ed493b59a06df7744c62b668b5929 (diff)
downloadscummvm-rg350-37079a633591c386731c6287800a09cb093ae78b.tar.gz
scummvm-rg350-37079a633591c386731c6287800a09cb093ae78b.tar.bz2
scummvm-rg350-37079a633591c386731c6287800a09cb093ae78b.zip
WINTERMUTE: Rename FuncName->funcName in BNamedObject and BScriptHolder
Diffstat (limited to 'engines/wintermute/Base/BObject.cpp')
-rw-r--r--engines/wintermute/Base/BObject.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/Base/BObject.cpp b/engines/wintermute/Base/BObject.cpp
index 7eee851e65..107ab2537c 100644
--- a/engines/wintermute/Base/BObject.cpp
+++ b/engines/wintermute/Base/BObject.cpp
@@ -101,15 +101,15 @@ CBObject::CBObject(CBGame *inGame): CBScriptHolder(inGame) {
//////////////////////////////////////////////////////////////////////
CBObject::~CBObject() {
- Cleanup();
+ cleanup();
}
//////////////////////////////////////////////////////////////////////////
-HRESULT CBObject::Cleanup() {
+HRESULT CBObject::cleanup() {
if (Game && Game->_activeObject == this) Game->_activeObject = NULL;
- CBScriptHolder::Cleanup();
+ CBScriptHolder::cleanup();
delete[] _soundEvent;
_soundEvent = NULL;
@@ -157,7 +157,7 @@ char *CBObject::GetCaption(int Case) {
//////////////////////////////////////////////////////////////////////////
-HRESULT CBObject::Listen(CBScriptHolder *param1, uint32 param2) {
+HRESULT CBObject::listen(CBScriptHolder *param1, uint32 param2) {
return E_FAIL;
}
@@ -1060,7 +1060,7 @@ HRESULT CBObject::SetSFXVolume(int Volume) {
HRESULT CBObject::UpdateSounds() {
if (_soundEvent) {
if (_sFX && !_sFX->IsPlaying()) {
- ApplyEvent(_soundEvent);
+ applyEvent(_soundEvent);
SetSoundEvent(NULL);
}
}