aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-18 19:21:51 +0400
committerEugene Sandulenko2013-09-18 19:39:53 +0400
commit0b358dbdce1be8dcb170a603e359b603ba51e882 (patch)
tree9c6fa58b35628fc91dd0f4225c1a237fa18a0fa0 /engines
parentfb2d0c02dfbabf0f3b17938d3346bb4477bea384 (diff)
downloadscummvm-rg350-0b358dbdce1be8dcb170a603e359b603ba51e882.tar.gz
scummvm-rg350-0b358dbdce1be8dcb170a603e359b603ba51e882.tar.bz2
scummvm-rg350-0b358dbdce1be8dcb170a603e359b603ba51e882.zip
FULLPIPE: CStepArray -> StepArray
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/statics.cpp10
-rw-r--r--engines/fullpipe/statics.h8
2 files changed, 9 insertions, 9 deletions
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;