2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2015-08-22 01:58:41 +00:00
|
|
|
|
|
|
|
#include "../RetroTypes.hpp"
|
|
|
|
#include <vector>
|
|
|
|
#include <set>
|
|
|
|
#include <string>
|
|
|
|
|
2016-03-04 23:04:53 +00:00
|
|
|
namespace urde
|
2015-08-22 01:58:41 +00:00
|
|
|
{
|
|
|
|
class IMetaAnim;
|
|
|
|
class CPrimitive;
|
|
|
|
|
|
|
|
class CAnimationDatabase
|
|
|
|
{
|
|
|
|
public:
|
2016-04-13 06:07:23 +00:00
|
|
|
virtual const std::shared_ptr<IMetaAnim>& GetMetaAnim(u32) const=0;
|
2015-08-22 01:58:41 +00:00
|
|
|
virtual u32 GetNumMetaAnims() const=0;
|
|
|
|
virtual const char* GetMetaAnimName(u32) const=0;
|
|
|
|
virtual void GetAllUniquePrimitives(std::vector<CPrimitive>&) const=0;
|
2017-11-13 06:19:18 +00:00
|
|
|
virtual void GetUniquePrimitivesFromMetaAnim(std::set<CPrimitive>&, std::string_view) const=0;
|
2015-08-22 01:58:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|