aboutsummaryrefslogtreecommitdiff
path: root/gob/anim.h
diff options
context:
space:
mode:
authorEugene Sandulenko2006-01-03 23:14:39 +0000
committerEugene Sandulenko2006-01-03 23:14:39 +0000
commitfd8ac69fc45fb346a931f61701e8aec04278159b (patch)
treefc4ca73bf00b17f7c42569a789baf0f4e64a91c3 /gob/anim.h
parentf046a14bb22f1d6c138ed82efa03d5ff89ae85e0 (diff)
downloadscummvm-rg350-fd8ac69fc45fb346a931f61701e8aec04278159b.tar.gz
scummvm-rg350-fd8ac69fc45fb346a931f61701e8aec04278159b.tar.bz2
scummvm-rg350-fd8ac69fc45fb346a931f61701e8aec04278159b.zip
Patch #1395615 "GobEngine code wrapped in classes". With some cosmetic changes.
svn-id: r19899
Diffstat (limited to 'gob/anim.h')
-rw-r--r--gob/anim.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/gob/anim.h b/gob/anim.h
index 2557e7d0ba..741816a710 100644
--- a/gob/anim.h
+++ b/gob/anim.h
@@ -24,11 +24,16 @@
namespace Gob {
-extern int16 anim_animAreaLeft;
-extern int16 anim_animAreaTop;
-extern int16 anim_animAreaWidth;
-extern int16 anim_animAreaHeight;
-extern SurfaceDesc *anim_underAnimSurf;
+class Anim {
+public:
+ int16 _areaLeft;
+ int16 _areaTop;
+ int16 _areaWidth;
+ int16 _areaHeight;
+ Video::SurfaceDesc *_animSurf;
+
+ Anim();
+};
} // End of namespace Gob