metaforce/Runtime/Character/CCharacterInfo.hpp

48 lines
1.1 KiB
C++
Raw Normal View History

2016-04-10 04:49:02 +00:00
#ifndef __PSHAG_CCHARACTERINFO_HPP__
#define __PSHAG_CCHARACTERINFO_HPP__
#include "IOStreams.hpp"
#include "CPASDatabase.hpp"
2016-04-10 21:22:59 +00:00
#include "zeus/CAABox.hpp"
#include "CEffectComponent.hpp"
2016-04-10 04:49:02 +00:00
namespace urde
{
class CCharacterInfo
{
2016-04-10 21:22:59 +00:00
public:
struct CParticleResData
{
std::vector<TResId> x0_part;
std::vector<TResId> x10_swhc;
std::vector<TResId> x20_;
std::vector<TResId> x30_elsc;
CParticleResData(CInputStream& in, u16 tableCount);
};
private:
2016-04-10 04:49:02 +00:00
u16 x0_tableCount;
std::string x4_name;
TResId x14_cmdl;
TResId x18_cskr;
TResId x1c_cinf;
std::vector<std::pair<u32, std::pair<std::string, std::string>>> x20_animInfo;
CPASDatabase x30_pasDatabase;
2016-04-10 21:22:59 +00:00
CParticleResData x44_partRes;
u32 x84_unk;
std::vector<std::pair<std::string, zeus::CAABox>> x88_aabbs;
std::vector<std::pair<std::string, std::vector<CEffectComponent>>> x98_effects;
TResId xa8_cmdlOverlay = 0;
TResId xac_cskrOverlay = 0;
std::vector<u32> xb0_animIdxs;
2016-04-10 04:49:02 +00:00
public:
CCharacterInfo(CInputStream& in);
};
}
#endif // __PSHAG_CCHARACTERINFO_HPP__