aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/utils.h
diff options
context:
space:
mode:
authorStrangerke2012-06-11 20:24:25 +0200
committerStrangerke2012-06-11 20:24:25 +0200
commit02c8ccebcb20aa904dba3151d65a7b4fa67998fe (patch)
treed1b5e2137dc2d92b0ac34cc7fffae732497edc4b /engines/tony/utils.h
parent71329df502bb07f105f34ac6c4b871ee0e8e19e0 (diff)
downloadscummvm-rg350-02c8ccebcb20aa904dba3151d65a7b4fa67998fe.tar.gz
scummvm-rg350-02c8ccebcb20aa904dba3151d65a7b4fa67998fe.tar.bz2
scummvm-rg350-02c8ccebcb20aa904dba3151d65a7b4fa67998fe.zip
TONY: Rename variables in utils.h
Diffstat (limited to 'engines/tony/utils.h')
-rw-r--r--engines/tony/utils.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/tony/utils.h b/engines/tony/utils.h
index e649000e58..33e2db7d7e 100644
--- a/engines/tony/utils.h
+++ b/engines/tony/utils.h
@@ -212,7 +212,7 @@ private:
*/
class RMPoint {
public:
- int x, y;
+ int _x, _y;
public:
// Constructor
@@ -225,8 +225,8 @@ public:
// Set
void set(int x1, int y1) {
- x = x1;
- y = y1;
+ _x = x1;
+ _y = y1;
}
// Offset
@@ -251,8 +251,8 @@ public:
class RMRect {
public:
- int x1, y1;
- int x2, y2;
+ int _x1, _y1;
+ int _x2, _y2;
public:
RMRect();
@@ -298,7 +298,7 @@ public:
// Point in rect
bool ptInRect(const RMPoint &pt) {
- return (pt.x >= x1 && pt.x <= x2 && pt.y >= y1 && pt.y <= y2);
+ return (pt._x >= _x1 && pt._x <= _x2 && pt._y >= _y1 && pt._y <= _y2);
}
// Extract from data stream
@@ -310,10 +310,10 @@ public:
*/
class RMResUpdate {
struct ResUpdInfo {
- uint32 dwRes;
- uint32 offset;
- uint32 size;
- uint32 cmpSize;
+ uint32 _dwRes;
+ uint32 _offset;
+ uint32 _size;
+ uint32 _cmpSize;
};
uint32 _numUpd;