2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CWORLDTRANSMANAGER
|
|
|
|
#define _CWORLDTRANSMANAGER
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-11-08 23:04:51 +00:00
|
|
|
class CAnimRes;
|
|
|
|
class CVector3f;
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
class CWorldTransManager {
|
|
|
|
public:
|
2022-10-13 23:31:53 +00:00
|
|
|
enum ETransType { kTT_Disabled, kTT_Enabled, kTT_Text };
|
|
|
|
|
2022-11-08 23:04:51 +00:00
|
|
|
void SetSfx(ushort, uchar, uchar);
|
|
|
|
void SfxStart();
|
|
|
|
void SfxStop();
|
|
|
|
|
|
|
|
void EnableTransition(const CAnimRes&, unsigned int, const CVector3f&, unsigned int, const CVector3f&, bool);
|
|
|
|
void EnableTransition(int fontId, int stringId, int stringIdx, bool fadeWhite, float chFadeTime, float chFadeRate, float textStartTime);
|
|
|
|
void DisableTransition();
|
|
|
|
|
2022-10-13 23:31:53 +00:00
|
|
|
ETransType GetTransType() const { return x30_transType; }
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
private:
|
2022-10-13 23:31:53 +00:00
|
|
|
uchar x0_pad[0x30];
|
|
|
|
ETransType x30_transType;
|
|
|
|
uchar x34_pad[0x14];
|
2022-04-10 00:17:06 +00:00
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CWORLDTRANSMANAGER
|