2014-04-02 01:31:55 +02:00
|
|
|
/*****************************************************************************
|
2023-01-01 11:58:01 +01:00
|
|
|
* Copyright (c) 2014-2023 OpenRCT2 developers
|
2015-10-20 20:16:30 +02:00
|
|
|
*
|
2018-06-15 14:07:34 +02:00
|
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
2015-10-20 20:16:30 +02:00
|
|
|
*
|
2018-06-15 14:07:34 +02:00
|
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
2014-04-02 01:31:55 +02:00
|
|
|
*****************************************************************************/
|
2015-10-20 20:16:30 +02:00
|
|
|
|
2016-11-21 01:16:47 +01:00
|
|
|
#pragma once
|
2014-04-02 01:31:55 +02:00
|
|
|
|
2018-03-31 13:55:54 +02:00
|
|
|
#include "../common.h"
|
|
|
|
|
2020-07-30 23:19:53 +02:00
|
|
|
struct ITitleSequencePlayer
|
2016-11-21 01:16:47 +01:00
|
|
|
{
|
|
|
|
virtual ~ITitleSequencePlayer() = default;
|
|
|
|
|
2018-06-20 17:28:51 +02:00
|
|
|
virtual int32_t GetCurrentPosition() const abstract;
|
2016-11-21 01:16:47 +01:00
|
|
|
|
2017-10-31 02:16:36 +01:00
|
|
|
virtual bool Begin(size_t titleSequenceId) abstract;
|
2016-11-21 01:16:47 +01:00
|
|
|
virtual void Reset() abstract;
|
|
|
|
virtual bool Update() abstract;
|
2018-06-20 17:28:51 +02:00
|
|
|
virtual void Seek(int32_t position) abstract;
|
2016-12-24 01:53:33 +01:00
|
|
|
virtual void Eject() abstract;
|
2016-11-21 01:16:47 +01:00
|
|
|
};
|