diff options
author | Einar Johan Trøan Sømåen | 2012-07-09 04:50:38 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-09 04:50:38 +0200 |
commit | 0a43bba003c5e5cbf302a667e8515d4066d72407 (patch) | |
tree | f47246629e29786bbc4239c286b19153dbb37e5d /engines/wintermute/Ad/AdPath.cpp | |
parent | 0ef77c57b6f6889471c7c5d902999fcf34c47a89 (diff) | |
download | scummvm-rg350-0a43bba003c5e5cbf302a667e8515d4066d72407.tar.gz scummvm-rg350-0a43bba003c5e5cbf302a667e8515d4066d72407.tar.bz2 scummvm-rg350-0a43bba003c5e5cbf302a667e8515d4066d72407.zip |
WINTERMUTE: Rename FuncName->funcName in coll_templ.h
Diffstat (limited to 'engines/wintermute/Ad/AdPath.cpp')
-rw-r--r-- | engines/wintermute/Ad/AdPath.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/wintermute/Ad/AdPath.cpp b/engines/wintermute/Ad/AdPath.cpp index bac9681cef..5ce603609f 100644 --- a/engines/wintermute/Ad/AdPath.cpp +++ b/engines/wintermute/Ad/AdPath.cpp @@ -49,10 +49,10 @@ CAdPath::~CAdPath() { //////////////////////////////////////////////////////////////////////////
void CAdPath::reset() {
- for (int i = 0; i < _points.GetSize(); i++)
+ for (int i = 0; i < _points.getSize(); i++)
delete _points[i];
- _points.RemoveAll();
+ _points.removeAll();
_currIndex = -1;
_ready = false;
}
@@ -60,7 +60,7 @@ void CAdPath::reset() { //////////////////////////////////////////////////////////////////////////
CBPoint *CAdPath::getFirst() {
- if (_points.GetSize() > 0) {
+ if (_points.getSize() > 0) {
_currIndex = 0;
return _points[_currIndex];
} else return NULL;
@@ -70,21 +70,21 @@ CBPoint *CAdPath::getFirst() { //////////////////////////////////////////////////////////////////////////
CBPoint *CAdPath::getNext() {
_currIndex++;
- if (_currIndex < _points.GetSize()) return _points[_currIndex];
+ if (_currIndex < _points.getSize()) return _points[_currIndex];
else return NULL;
}
//////////////////////////////////////////////////////////////////////////
CBPoint *CAdPath::getCurrent() {
- if (_currIndex >= 0 && _currIndex < _points.GetSize()) return _points[_currIndex];
+ if (_currIndex >= 0 && _currIndex < _points.getSize()) return _points[_currIndex];
else return NULL;
}
//////////////////////////////////////////////////////////////////////////
void CAdPath::addPoint(CBPoint *point) {
- _points.Add(point);
+ _points.add(point);
}
|