2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CTRANSITION_HPP__
|
|
|
|
#define __URDE_CTRANSITION_HPP__
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CTRANSITION_HPP__
|