diff options
| author | Eugene Sandulenko | 2014-01-03 22:43:46 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2014-01-03 22:43:46 +0200 | 
| commit | 25aa1b72d95505514ea3e6b6d1c342972891a4a0 (patch) | |
| tree | 3f5d6155920baac302ca7205dd7e73b0dfd4c0a5 | |
| parent | 2fe89767006d406d32f84fc7f0743359243aa366 (diff) | |
| download | scummvm-rg350-25aa1b72d95505514ea3e6b6d1c342972891a4a0.tar.gz scummvm-rg350-25aa1b72d95505514ea3e6b6d1c342972891a4a0.tar.bz2 scummvm-rg350-25aa1b72d95505514ea3e6b6d1c342972891a4a0.zip | |
FULLPIPE: Renames in class MovGraphReact
| -rw-r--r-- | engines/fullpipe/motion.cpp | 16 | ||||
| -rw-r--r-- | engines/fullpipe/motion.h | 10 | 
2 files changed, 13 insertions, 13 deletions
| diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index 9e978c953f..f82fe53a80 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -2027,20 +2027,20 @@ void ReactParallel::createRegion() {  	// GdiObject::Attach(_rgn, CreatePolygonRgn(_points, 4, 2);  } -void ReactParallel::method14() { -	warning("STUB: ReactParallel::method14()"); +void ReactParallel::setCenter() { +	warning("STUB: ReactParallel::setCenter()");  }  ReactPolygonal::ReactPolygonal() { -	_field_C = 0; -	_field_10 = 0; +	_centerX = 0; +	_centerY = 0;  }  bool ReactPolygonal::load(MfcArchive &file) {  	debug(5, "ReactPolygonal::load()"); -	_field_C = file.readUint32LE(); -	_field_10 = file.readUint32LE(); +	_centerX = file.readUint32LE(); +	_centerY = file.readUint32LE();  	_pointCount = file.readUint32LE();  	if (_pointCount > 0) { @@ -2067,8 +2067,8 @@ void ReactPolygonal::createRegion() {  	}  } -void ReactPolygonal::method14() { -	warning("STUB: ReactPolygonal::method14()"); +void ReactPolygonal::setCenter() { +	warning("STUB: ReactPolygonal::setCenter()");  }  bool MovGraphReact::pointInRegion(int x, int y) { diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h index 1f1e7a733a..e482c0c476 100644 --- a/engines/fullpipe/motion.h +++ b/engines/fullpipe/motion.h @@ -74,7 +74,7 @@ public:  	MovGraphReact() : _pointCount(0), _points(0) {}  	~MovGraphReact() { free(_points); } -	virtual void method14() {} +	virtual void setCenter() {}  	virtual void createRegion() {}  	virtual bool pointInRegion(int x, int y);  }; @@ -247,20 +247,20 @@ class ReactParallel : public MovGraphReact {  	ReactParallel();  	virtual bool load(MfcArchive &file); -	virtual void method14(); +	virtual void setCenter();  	virtual void createRegion();  };  class ReactPolygonal : public MovGraphReact {  	//CRgn _rgn; -	int _field_C; -	int _field_10; +	int _centerX; +	int _centerY;    public:  	ReactPolygonal();  	virtual bool load(MfcArchive &file); -	virtual void method14(); +	virtual void setCenter();  	virtual void createRegion();  }; | 
