mirror of
https://github.com/PrimeDecomp/prime.git
synced 2026-03-31 14:22:54 -07:00
d3798caf83
Former-commit-id: f0235c1de1
30 lines
755 B
C++
30 lines
755 B
C++
#ifndef _CWORLDTRANSMANAGER
|
|
#define _CWORLDTRANSMANAGER
|
|
|
|
#include "Kyoto/SObjectTag.hpp"
|
|
|
|
class CAnimRes;
|
|
class CVector3f;
|
|
|
|
class CWorldTransManager {
|
|
public:
|
|
enum ETransType { kTT_Disabled, kTT_Enabled, kTT_Text };
|
|
|
|
void SetSfx(ushort, uchar, uchar);
|
|
void SfxStart();
|
|
void SfxStop();
|
|
|
|
void EnableTransition(const CAnimRes&, const CAssetId, const CVector3f&, const CAssetId, const CVector3f&, bool);
|
|
void EnableTransition(int fontId, int stringId, int stringIdx, bool fadeWhite, float chFadeTime, float chFadeRate, float textStartTime);
|
|
void DisableTransition();
|
|
|
|
ETransType GetTransType() const { return x30_transType; }
|
|
|
|
private:
|
|
uchar x0_pad[0x30];
|
|
ETransType x30_transType;
|
|
uchar x34_pad[0x14];
|
|
};
|
|
|
|
#endif // _CWORLDTRANSMANAGER
|