#include <ASlideshowState.h>
|
| virtual Toshi::TClass * | GetClass () override |
| |
| | ASlideshowState (const AGUISlideshow::Params &a_rSlideShowParams, AGameState *a_pNextGameState, TBOOL a_bShouldLocalise) |
| |
| virtual TBOOL | ProcessInput (const Toshi::TInputInterface::InputEvent *a_pInputEvent) override |
| |
| virtual TBOOL | ProcessCommand (AInputCommand a_eInputCommand, const Toshi::TInputInterface::InputEvent *a_pInputEvent, TBOOL &a_rStopEvents) override |
| |
| virtual TBOOL | OnUpdate (TFLOAT a_fDeltaTime) override |
| |
| virtual void | OnInsertion () override |
| |
| virtual void | OnActivate () override |
| |
| virtual void | OnDeactivate () override |
| |
| void | AddSlide (const Toshi::TPString8 &a_rName) |
| |
| | AGameState () |
| |
| | ~AGameState () |
| |
| virtual TBOOL | Unknown1 (void *a_pUnk1, void *a_pUnk2) |
| |
| virtual void | Unknown2 (void *a_pUnk1) |
| |
| virtual void | Unknown3 (void *a_pUnk1) |
| |
| virtual void | Unknown4 (void *a_pUnk1) |
| |
| virtual void | Unknown5 () |
| |
| virtual TBOOL | Unknown6 () |
| |
| virtual ASoundId | GetSound () |
| |
| virtual TBOOL | Unknown7 () |
| |
| virtual void | Unknown8 () |
| |
| virtual void | OnStarted () |
| |
| virtual void | Unknown10 () |
| |
| virtual void | Unknown11 (void *a_pUnk1, void *a_pUnk2) |
| |
| virtual void | Unknown12 (void *a_pUnk1, void *a_pUnk2) |
| |
| virtual TFLOAT | GetFOV () |
| |
| virtual void | OnRemoval () |
| |
| virtual void | OnSuspend () |
| |
| virtual void | OnResume (AGameState *a_pPreviousState) |
| |
| TBOOL | SendInputCommands (const Toshi::TInputInterface::InputEvent *a_pEvent) |
| |
| void | SetInputMap (const Toshi::TPString8 &a_MapName) |
| |
| void | Activate () |
| |
| void | Deactivate () |
| |
| void | Suspend () |
| |
| void | Remove () |
| |
| void | Destroy () |
| |
| void | Destroy (TBOOL a_bDeactivate) |
| |
| void | SetOverlay (OVERLAY a_eOverlay) |
| |
| OVERLAY | GetOverlay () const |
| |
| template<class RetT, class... Args> |
| void | ExecuteForAllChildStates (t_ExecuteForChildCb< RetT, Args... > a_fnCallback, TUINT32 a_uiOffset, Args... args) |
| |
| template<class... Args> |
| TBOOL | ExecuteForOneChildState (t_ExecuteForChildCb< TBOOL, Args... > a_fnCallback, TUINT32 a_uiOffset, Args... args) |
| |
|
| static constexpr Toshi::TClass * | PARENTCLASS = & AGameState::ms_oClass |
| |
| static Toshi::TClass | ms_oClass = Toshi::TClass( "ASlideshowState", ASlideshowState::PARENTCLASS, ASlideshowState::CreateTObject, ASlideshowState::CreateTObjectInPlace, ASlideshowState::InitialiseClass, ASlideshowState::DeinitialiseClass, 0, 1, sizeof( ASlideshowState ), alignof( ASlideshowState ) ) |
| |
| static constexpr Toshi::TClass * | PARENTCLASS = & Toshi::TObject::ms_oClass |
| |
| static Toshi::TClass | ms_oClass = Toshi::TClass( "AGameState", AGameState::PARENTCLASS, AGameState::CreateTObject, AGameState::CreateTObjectInPlace, AGameState::InitialiseClass, AGameState::DeinitialiseClass, 0, 1, sizeof( AGameState ), alignof( AGameState ) ) |
| |
Definition at line 6 of file ASlideshowState.h.
◆ BaseClass
◆ ThisClass
◆ ASlideshowState()
Definition at line 14 of file ASlideshowState.cpp.
15{
16 m_pNextState = a_pNextGameState;
18 m_Slideshow.Setup( &
m_HUDParams, a_rSlideShowParams, a_bShouldLocalise );
19}
ASlideshowState(const AGUISlideshow::Params &a_rSlideShowParams, AGameState *a_pNextGameState, TBOOL a_bShouldLocalise)
◆ AddSlide()
| void ASlideshowState::AddSlide |
( |
const Toshi::TPString8 & | a_rName | ) |
|
◆ CreateTObject()
| Toshi::TObject * ASlideshowState::CreateTObject |
( |
| ) |
|
|
static |
◆ CreateTObjectInPlace()
| Toshi::TObject * ASlideshowState::CreateTObjectInPlace |
( |
void * | a_pPtr | ) |
|
|
static |
◆ DeinitialiseClass()
| void ASlideshowState::DeinitialiseClass |
( |
| ) |
|
|
static |
◆ GetClass()
| Toshi::TClass * ASlideshowState::GetClass |
( |
| ) |
|
|
overridevirtual |
◆ GetClassStatic()
| static __forceinline Toshi::TClass * ASlideshowState::GetClassStatic |
( |
| ) |
|
|
inlinestatic |
◆ InitialiseClass()
| void ASlideshowState::InitialiseClass |
( |
| ) |
|
|
static |
◆ OnActivate()
| void ASlideshowState::OnActivate |
( |
| ) |
|
|
overridevirtual |
◆ OnDeactivate()
| void ASlideshowState::OnDeactivate |
( |
| ) |
|
|
overridevirtual |
Reimplemented from AGameState.
Definition at line 83 of file ASlideshowState.cpp.
84{
85 m_Slideshow.Deactivate();
86 m_Slideshow.Reset();
88}
virtual void OnDeactivate()
◆ OnInsertion()
| void ASlideshowState::OnInsertion |
( |
| ) |
|
|
overridevirtual |
Reimplemented from AGameState.
Definition at line 59 of file ASlideshowState.cpp.
60{
61 if ( !m_Slideshow.HasSlides() )
62 {
63 if ( m_pNextState )
64 {
65 AGameStateController::GetSingleton()->ReplaceState( m_pNextState );
66 }
67 else
68 {
70 }
71 }
72
75}
virtual void OnInsertion()
◆ OnUpdate()
Reimplemented from AGameState.
Definition at line 36 of file ASlideshowState.cpp.
37{
38 m_Slideshow.Update( a_fDeltaTime );
39
40 if ( m_Slideshow.IsSlideshowOver() )
41 {
42 if ( m_pNextState )
43 {
44 AGameStateController::GetSingleton()->ReplaceState( m_pNextState );
46 }
47 else
48 {
51 }
52 }
53 else
54 {
56 }
57}
virtual TBOOL OnUpdate(TFLOAT a_fDeltaTime)
◆ ProcessCommand()
| TBOOL ASlideshowState::ProcessCommand |
( |
AInputCommand | a_eInputCommand, |
|
|
const Toshi::TInputInterface::InputEvent * | a_pInputEvent, |
|
|
TBOOL & | a_rStopEvents ) |
|
overridevirtual |
◆ ProcessInput()
| TBOOL ASlideshowState::ProcessInput |
( |
const Toshi::TInputInterface::InputEvent * | a_pInputEvent | ) |
|
|
overridevirtual |
Reimplemented from AGameState.
Definition at line 21 of file ASlideshowState.cpp.
22{
23 if ( m_Slideshow.ProcessInput( a_pInputEvent ) )
24 {
26 }
27
29}
virtual TBOOL ProcessInput(const Toshi::TInputInterface::InputEvent *a_pInputEvent)
◆ ms_oClass
◆ PARENTCLASS
The documentation for this class was generated from the following files: