From 0b358dbdce1be8dcb170a603e359b603ba51e882 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 18 Sep 2013 19:21:51 +0400 Subject: FULLPIPE: CStepArray -> StepArray --- engines/fullpipe/statics.cpp | 10 +++++----- engines/fullpipe/statics.h | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'engines') diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp index ac80e809c1..023099547e 100644 --- a/engines/fullpipe/statics.cpp +++ b/engines/fullpipe/statics.cpp @@ -33,7 +33,7 @@ namespace Fullpipe { -CStepArray::CStepArray() { +StepArray::StepArray() { _points = 0; _maxPointIndex = 0; _currPointIndex = 0; @@ -41,7 +41,7 @@ CStepArray::CStepArray() { _isEos = 0; } -CStepArray::~CStepArray() { +StepArray::~StepArray() { if (_pointsCount) { for (int i = 0; i < _pointsCount; i++) delete _points[i]; @@ -52,7 +52,7 @@ CStepArray::~CStepArray() { } } -void CStepArray::clear() { +void StepArray::clear() { _currPointIndex = 0; _maxPointIndex = 0; _isEos = 0; @@ -63,7 +63,7 @@ void CStepArray::clear() { } } -Common::Point *CStepArray::getCurrPoint(Common::Point *point) { +Common::Point *StepArray::getCurrPoint(Common::Point *point) { if (_isEos || _points == 0) { point->x = 0; point->y = 0; @@ -73,7 +73,7 @@ Common::Point *CStepArray::getCurrPoint(Common::Point *point) { return point; } -bool CStepArray::gotoNextPoint() { +bool StepArray::gotoNextPoint() { if (_currPointIndex < _maxPointIndex) { _currPointIndex++; return true; diff --git a/engines/fullpipe/statics.h b/engines/fullpipe/statics.h index 44ea8b3da1..1767a5720e 100644 --- a/engines/fullpipe/statics.h +++ b/engines/fullpipe/statics.h @@ -29,7 +29,7 @@ namespace Fullpipe { class ExCommand; -class CStepArray : public CObject { +class StepArray : public CObject { int _currPointIndex; Common::Point **_points; int _maxPointIndex; @@ -37,8 +37,8 @@ class CStepArray : public CObject { int _isEos; public: - CStepArray(); - ~CStepArray(); + StepArray(); + ~StepArray(); void clear(); int getCurrPointIndex() { return _currPointIndex; } @@ -174,7 +174,7 @@ class StaticANIObject : public GameObject { void (*_callback2)(int *); PtrList _movements; PtrList _staticsList; - CStepArray _stepArray; + StepArray _stepArray; int16 _field_96; int _messageQueueId; int _messageNum; -- cgit v1.2.3