2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-10 21:22:59 +00:00
|
|
|
|
|
|
|
#include "IOStreams.hpp"
|
|
|
|
#include "CMetaTransFactory.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CTransition
|
|
|
|
{
|
|
|
|
u32 x0_id;
|
|
|
|
u32 x4_animA;
|
|
|
|
u32 x8_animB;
|
2016-04-13 06:07:23 +00:00
|
|
|
std::shared_ptr<IMetaTrans> xc_trans;
|
2016-04-10 21:22:59 +00:00
|
|
|
public:
|
|
|
|
CTransition(CInputStream& in);
|
2016-04-13 06:07:23 +00:00
|
|
|
u32 GetAnimA() const {return x4_animA;}
|
|
|
|
u32 GetAnimB() const {return x8_animB;}
|
|
|
|
std::pair<u32, u32> GetAnimPair() const {return {x4_animA, x8_animB};}
|
|
|
|
const std::shared_ptr<IMetaTrans>& GetMetaTrans() const {return xc_trans;}
|
2016-04-10 21:22:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|