22 #ifndef ILLUSIONS_CAMERA_H 23 #define ILLUSIONS_CAMERA_H 25 #include "illusions/graphics.h" 26 #include "common/rect.h" 27 #include "common/stack.h" 31 class BackgroundInstance;
40 int _panXShl, _panYShl;
45 uint32 _pauseStartTime;
70 void panCenterObject(uint32 objectId, int16 panSpeed);
71 void panTrackObject(uint32 objectId);
72 void panToPoint(
Common::Point pt, int16 panSpeed, uint32 panNotifyId);
73 void panEdgeFollow(uint32 objectId, int16 panSpeed);
77 void pushCameraMode();
79 void clearCameraModeStack();
80 void update(uint32 currTime);
82 void setBoundsToDimensions(
WidthHeight &dimensions);
86 bool isAtPanLimit(
int limitNum);
95 int16 _screenWidth, _screenHeight;
96 int16 _screenMidX, _screenMidY;
99 int16 _trackObjectTrackingLimitsPanSpeed;
101 void updateMode1(uint32 currTime);
102 void updateMode2(uint32 currTime);
103 void updateMode3(uint32 currTime);
104 bool updatePan(uint32 currTime);
105 bool isPanFinished();
107 void recalcPan(uint32 currTime);
109 void clipPanTargetPoint();
117 #endif // ILLUSIONS_CAMERA_H Definition: graphics.h:44
Definition: graphics.h:31
Definition: backgroundresource.h:183
Definition: illusions.h:92