From fd8ac69fc45fb346a931f61701e8aec04278159b Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 3 Jan 2006 23:14:39 +0000 Subject: Patch #1395615 "GobEngine code wrapped in classes". With some cosmetic changes. svn-id: r19899 --- gob/anim.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'gob/anim.h') 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 -- cgit v1.2.3