18#ifndef INCLUDED_ICMPCINEMAMANAGER
19#define INCLUDED_ICMPCINEMAMANAGER
57 virtual bool HasPath(
const CStrW& name)
const = 0;
62 virtual const std::map<CStrW, CCinemaPath>&
GetPaths()
const = 0;
68 virtual void SetPaths(
const std::map<CStrW, CCinemaPath>& newPaths) = 0;
Definition: CinemaPath.h:61
A simple fixed-point number class.
Definition: Fixed.h:129
Manages a dynamic list of cinema paths (predefined camera movements/cutscenes) as well as a queue of ...
Definition: ICmpCinemaManager.h:39
virtual void SetPaths(const std::map< CStrW, CCinemaPath > &newPaths)=0
Override the entire list of existing paths.
virtual bool IsPlayingQueue() const =0
Whether the first path of the queue is being played at the moment.
virtual void PushPathToQueue(const CStrW &name)=0
Push a path to the back of the queue.
virtual void ClearQueue()=0
Clear all paths from the queue.
virtual void StopPlayingQueue()=0
Stop playing the active path and the queue altogether.
virtual const std::map< CStrW, CCinemaPath > & GetPaths() const =0
Get all registered paths, keyed by their names.
virtual void StartPlayingQueue()=0
Start playing the paths in the queue one by one.
virtual void DeletePath(const CStrW &name)=0
Remove a path and its data entirely.
virtual bool HasPath(const CStrW &name) const =0
Check whether a path exists (is registered under the given name).
virtual CStrW GetActivePath() const =0
Get the name of the path currently playing, if any.
virtual void UpdateActivePath(const float deltaRealTime, CCamera &camera)=0
Send an update to the path currently playing for it to determine the new camera position.
virtual void AddPath(const CCinemaPath &path)=0
Register a new path.
virtual fixed GetActivePathElapsedTime() const =0
Get the time elapsed since the currently active path started playing.
Definition: IComponent.h:33
#define DECLARE_INTERFACE_TYPE(iname)
Definition: Interface.h:23