39 TCHAR szFormattedName[ 256 ];
40 auto eLang = ALocaleManager::GetSingleton()->GetLanguage();
45 Toshi::TStringManager::String8Copy(
52 Toshi::TStringManager::String8Format( szFormattedName,
sizeof( szFormattedName ),
"%s%s", a_szName, szLang );
53 a_szName = szFormattedName;
56 a_rOutName = Toshi::TPString8( a_szName );
71 AGUISystem::GetSingleton()->SetPicture(
m_Images[ 0 ] );
75 Toshi::TPString8 pictureName;
77 AGUISystem::GetSingleton()->SetPicture( pictureName );
101 if ( fOpacity > 1.0f )
116 if ( fOpacity >= 1.0f )
118 Toshi::TPString8 pictureName;
120 AGUISystem::GetSingleton()->SetPicture( pictureName );
191 Toshi::TPString8 pictureName;
193 AGUISystem::GetSingleton()->SetPicture( pictureName );
201 AGUISystem::GetSingleton()->SetPicture( Toshi::TPString8() );
215 if ( a_rParams.
iUnk1 != 0 )
227 if ( a_rParams.
bUnk2 )
258 AGUI2::GetSingleton()->GetDimensions( fWidth, fHeight );
273 if ( a_pEvent->GetEventType() == Toshi::TInputInterface::EVENT_TYPE_GONE_DOWN )
#define HASANYFLAG(STATE, FLAG)
TFORCEINLINE T2Allocator * GetGlobalAllocator()
#define TDEFINE_CLASS(...)
@ AGUI2ATTACHMENT_TOPCENTER
static AGUI2Element * GetRootElement()
void AddChildTail(AGUI2Element &a_rElement)
AGUI2Rectangle m_FadeOverlay
TBOOL ProcessCommand(AInputCommand a_eCommand)
AGameState::HUDParams * m_pHUDParams
void Update(TFLOAT a_fDeltaTime)
TBOOL ProcessInput(const Toshi::TInputInterface::InputEvent *a_pEvent)
TBOOL Setup(AGameState::HUDParams *a_pHUDParams, const Params &a_rParams, TBOOL a_bShouldLocalise)
Toshi::T2DynamicVector< Toshi::TPString8 >::Iterator m_ImageIterator
Toshi::T2DynamicVector< Toshi::TPString8 > m_Images
TFLOAT m_fCurrentSlideTime
void SwitchToNextSlide(TBOOL a_bUnused=true)
static Toshi::TPString8 * LocaliseBackgroundFileName(Toshi::TPString8 &a_rOutName, const Toshi::TPString8 &a_rName)
static ALocaleManager * Interface()