From 0a43bba003c5e5cbf302a667e8515d4066d72407 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Mon, 9 Jul 2012 04:50:38 +0200 Subject: WINTERMUTE: Rename FuncName->funcName in coll_templ.h --- engines/wintermute/Ad/AdPath.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'engines/wintermute/Ad/AdPath.cpp') 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); } -- cgit v1.2.3