2016-07-13 20:33:39 -04:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
|
|
|
*
|
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2017-06-07 22:00:22 -04:00
|
|
|
#ifndef TITANIC_MARKED_CAMERA_MOVER_H
|
|
|
|
#define TITANIC_MARKED_CAMERA_MOVER_H
|
2016-07-13 20:33:39 -04:00
|
|
|
|
2017-04-16 11:35:32 -04:00
|
|
|
#include "titanic/star_control/camera_mover.h"
|
2017-06-07 21:50:03 -04:00
|
|
|
#include "titanic/star_control/marked_auto_mover.h"
|
2016-07-17 16:01:49 -04:00
|
|
|
|
2016-07-13 20:33:39 -04:00
|
|
|
namespace Titanic {
|
|
|
|
|
2017-08-28 19:28:15 -07:00
|
|
|
class FMatrix;
|
|
|
|
class FVector;
|
|
|
|
|
2017-06-07 22:00:22 -04:00
|
|
|
class CMarkedCameraMover : public CCameraMover {
|
2016-07-17 16:01:49 -04:00
|
|
|
private:
|
2017-06-07 21:50:03 -04:00
|
|
|
CMarkedAutoMover _autoMover;
|
2016-07-17 16:01:49 -04:00
|
|
|
public:
|
2017-06-07 22:00:22 -04:00
|
|
|
CMarkedCameraMover(const CNavigationInfo *src);
|
|
|
|
virtual ~CMarkedCameraMover() {}
|
2017-03-12 09:51:23 -04:00
|
|
|
|
2017-08-28 19:28:15 -07:00
|
|
|
/**
|
|
|
|
* Move the mover from an old position and orientation to a new
|
|
|
|
* position and orientation
|
|
|
|
*/
|
|
|
|
virtual void transitionBetweenPosOrients(const FVector &oldPos, const FVector &newPos,
|
2017-06-05 20:34:11 -04:00
|
|
|
const FMatrix &oldOrientation, const FMatrix &newOrientation);
|
2017-04-16 18:16:08 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Update the passed position and orientation matrix
|
|
|
|
*/
|
|
|
|
virtual void updatePosition(CErrorCode &errorCode, FVector &pos, FMatrix &orientation);
|
2016-07-13 20:33:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Titanic
|
|
|
|
|
2017-06-07 22:00:22 -04:00
|
|
|
#endif /* TITANIC_MARKED_CAMERA_MOVER_H */
|