2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CSEGSTATEMENTSET_HPP__
|
|
|
|
#define __URDE_CSEGSTATEMENTSET_HPP__
|
2016-04-11 23:35:37 +00:00
|
|
|
|
2016-04-16 03:24:25 +00:00
|
|
|
#include "CAnimPerSegmentData.hpp"
|
|
|
|
|
2016-04-11 23:35:37 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
2016-04-16 03:24:25 +00:00
|
|
|
class CSegIdList;
|
|
|
|
class CCharLayoutInfo;
|
2016-04-11 23:35:37 +00:00
|
|
|
|
|
|
|
class CSegStatementSet
|
|
|
|
{
|
2016-04-16 03:24:25 +00:00
|
|
|
public:
|
|
|
|
/* Used to be a pointer to arbitrary subclass-provided storage,
|
|
|
|
* now it's a self-stored array */
|
|
|
|
CAnimPerSegmentData x4_segData[100];
|
|
|
|
void Add(const CSegIdList& list, const CCharLayoutInfo& layout,
|
|
|
|
const CSegStatementSet& other, float weight);
|
2016-08-21 00:04:50 +00:00
|
|
|
|
|
|
|
CAnimPerSegmentData& operator[](size_t idx) { return x4_segData[idx]; }
|
2016-04-11 23:35:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CSEGSTATEMENTSET_HPP__
|