aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BFrame.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-04 19:23:41 +0200
committerEinar Johan Trøan Sømåen2012-07-04 19:23:41 +0200
commit3f22d4372f2846d64b3801a892c8873e9811f5d5 (patch)
tree07915df12066bb18322938427aacb71e7ea368a1 /engines/wintermute/Base/BFrame.cpp
parentbe4ceeb44e455882a33dd81a76dc91d3a378dbfb (diff)
downloadscummvm-rg350-3f22d4372f2846d64b3801a892c8873e9811f5d5.tar.gz
scummvm-rg350-3f22d4372f2846d64b3801a892c8873e9811f5d5.tar.bz2
scummvm-rg350-3f22d4372f2846d64b3801a892c8873e9811f5d5.zip
WINTERMUTE: Mass rename VarName/FuncName -> varName/funcName alphabetically up until AdScene
Diffstat (limited to 'engines/wintermute/Base/BFrame.cpp')
-rw-r--r--engines/wintermute/Base/BFrame.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/wintermute/Base/BFrame.cpp b/engines/wintermute/Base/BFrame.cpp
index 8a20b87299..7818d40396 100644
--- a/engines/wintermute/Base/BFrame.cpp
+++ b/engines/wintermute/Base/BFrame.cpp
@@ -342,39 +342,39 @@ bool CBFrame::getBoundingRect(LPRECT Rect, int X, int Y, float ScaleX, float Sca
//////////////////////////////////////////////////////////////////////////
-HRESULT CBFrame::saveAsText(CBDynBuffer *Buffer, int Indent) {
- Buffer->putTextIndent(Indent, "FRAME {\n");
- Buffer->putTextIndent(Indent + 2, "DELAY = %d\n", _delay);
+HRESULT CBFrame::saveAsText(CBDynBuffer *buffer, int indent) {
+ buffer->putTextIndent(indent, "FRAME {\n");
+ buffer->putTextIndent(indent + 2, "DELAY = %d\n", _delay);
if (_moveX != 0 || _moveY != 0)
- Buffer->putTextIndent(Indent + 2, "MOVE {%d, %d}\n", _moveX, _moveY);
+ buffer->putTextIndent(indent + 2, "MOVE {%d, %d}\n", _moveX, _moveY);
if (_sound && _sound->_soundFilename)
- Buffer->putTextIndent(Indent + 2, "SOUND=\"%s\"\n", _sound->_soundFilename);
+ buffer->putTextIndent(indent + 2, "SOUND=\"%s\"\n", _sound->_soundFilename);
- Buffer->putTextIndent(Indent + 2, "KEYFRAME=%s\n", _keyframe ? "TRUE" : "FALSE");
+ buffer->putTextIndent(indent + 2, "KEYFRAME=%s\n", _keyframe ? "TRUE" : "FALSE");
if (_killSound)
- Buffer->putTextIndent(Indent + 2, "KILL_SOUND=%s\n", _killSound ? "TRUE" : "FALSE");
+ buffer->putTextIndent(indent + 2, "KILL_SOUND=%s\n", _killSound ? "TRUE" : "FALSE");
if (_editorExpanded)
- Buffer->putTextIndent(Indent + 2, "EDITOR_EXPANDED=%s\n", _editorExpanded ? "TRUE" : "FALSE");
+ buffer->putTextIndent(indent + 2, "EDITOR_EXPANDED=%s\n", _editorExpanded ? "TRUE" : "FALSE");
- if (_subframes.GetSize() > 0) _subframes[0]->saveAsText(Buffer, Indent, false);
+ if (_subframes.GetSize() > 0) _subframes[0]->saveAsText(buffer, indent, false);
int i;
for (i = 1; i < _subframes.GetSize(); i++) {
- _subframes[i]->saveAsText(Buffer, Indent + 2);
+ _subframes[i]->saveAsText(buffer, indent + 2);
}
for (i = 0; i < _applyEvent.GetSize(); i++) {
- Buffer->putTextIndent(Indent + 2, "APPLY_EVENT=\"%s\"\n", _applyEvent[i]);
+ buffer->putTextIndent(indent + 2, "APPLY_EVENT=\"%s\"\n", _applyEvent[i]);
}
- CBBase::saveAsText(Buffer, Indent + 2);
+ CBBase::saveAsText(buffer, indent + 2);
- Buffer->putTextIndent(Indent, "}\n\n");
+ buffer->putTextIndent(indent, "}\n\n");
return S_OK;
}