2016-02-13 09:02:47 +00:00
|
|
|
#ifndef __PSHAG_CANIMATIONDATABASE_HPP__
|
|
|
|
#define __PSHAG_CANIMATIONDATABASE_HPP__
|
2015-08-22 01:58:41 +00:00
|
|
|
|
|
|
|
#include "../RetroTypes.hpp"
|
|
|
|
#include <vector>
|
|
|
|
#include <set>
|
|
|
|
#include <string>
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace pshag
|
2015-08-22 01:58:41 +00:00
|
|
|
{
|
|
|
|
class IMetaAnim;
|
|
|
|
class CPrimitive;
|
|
|
|
|
|
|
|
class CAnimationDatabase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual const IMetaAnim* GetMetaAnim(u32) const=0;
|
|
|
|
virtual u32 GetNumMetaAnims() const=0;
|
|
|
|
virtual const char* GetMetaAnimName(u32) const=0;
|
|
|
|
virtual void GetAllUniquePrimitives(std::vector<CPrimitive>&) const=0;
|
|
|
|
virtual void GetUniquePrimitivesFromMetaAnim(std::set<CPrimitive>&, const std::string&) const=0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
#endif // __PSHAG_CANIMATIONDATABASE_HPP__
|