metaforce/Runtime/Character/CTransitionDatabaseGame.hpp

26 lines
843 B
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_CTRANSITIONDATABASEGAME_HPP__
#define __URDE_CTRANSITIONDATABASEGAME_HPP__
2015-08-22 01:58:41 +00:00
#include "CTransitionDatabase.hpp"
2016-03-04 23:04:53 +00:00
namespace urde
2015-08-22 01:58:41 +00:00
{
2016-04-13 06:07:23 +00:00
class CTransition;
class CHalfTransition;
2015-08-22 01:58:41 +00:00
class CTransitionDatabaseGame final : public CTransitionDatabase
2015-08-22 01:58:41 +00:00
{
2016-04-13 06:07:23 +00:00
std::shared_ptr<IMetaTrans> x10_defaultTrans;
std::vector<std::pair<std::pair<u32, u32>, std::shared_ptr<IMetaTrans>>> x14_transitions;
std::vector<std::pair<u32, std::shared_ptr<IMetaTrans>>> x24_halfTransitions;
2015-08-22 01:58:41 +00:00
public:
2016-04-13 06:07:23 +00:00
CTransitionDatabaseGame(const std::vector<CTransition>& transitions,
const std::vector<CHalfTransition>& halfTransitions,
const std::shared_ptr<IMetaTrans>& defaultTrans);
const std::shared_ptr<IMetaTrans>& GetMetaTrans(u32, u32) const;
2015-08-22 01:58:41 +00:00
};
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CTRANSITIONDATABASEGAME_HPP__