2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2015-08-22 01:58:41 +00:00
|
|
|
|
|
|
|
#include <set>
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <string_view>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "Runtime/RetroTypes.hpp"
|
2015-08-22 01:58:41 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2015-08-22 01:58:41 +00:00
|
|
|
class CPrimitive;
|
2019-09-28 02:53:03 +00:00
|
|
|
class IMetaAnim;
|
2015-08-22 01:58:41 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CAnimationDatabase {
|
2015-08-22 01:58:41 +00:00
|
|
|
public:
|
2018-12-15 06:29:41 +00:00
|
|
|
virtual const std::shared_ptr<IMetaAnim>& GetMetaAnim(s32) const = 0;
|
2018-12-08 05:30:43 +00:00
|
|
|
virtual u32 GetNumMetaAnims() const = 0;
|
2018-12-15 06:29:41 +00:00
|
|
|
virtual const char* GetMetaAnimName(s32) const = 0;
|
2018-12-08 05:30:43 +00:00
|
|
|
virtual void GetAllUniquePrimitives(std::vector<CPrimitive>&) const = 0;
|
|
|
|
virtual void GetUniquePrimitivesFromMetaAnim(std::set<CPrimitive>&, std::string_view) const = 0;
|
2015-08-22 01:58:41 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|