2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

Character factory support classes

This commit is contained in:
Jack Andersen
2016-04-12 20:07:23 -10:00
parent 1d2c2bf31f
commit 5de5c3d85f
186 changed files with 898 additions and 553 deletions

View File

@@ -1,5 +1,5 @@
#ifndef __PSHAG_CANIMATIONDATABASE_HPP__
#define __PSHAG_CANIMATIONDATABASE_HPP__
#ifndef __URDE_CANIMATIONDATABASE_HPP__
#define __URDE_CANIMATIONDATABASE_HPP__
#include "../RetroTypes.hpp"
#include <vector>
@@ -14,7 +14,7 @@ class CPrimitive;
class CAnimationDatabase
{
public:
virtual const IMetaAnim* GetMetaAnim(u32) const=0;
virtual const std::shared_ptr<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;
@@ -23,4 +23,4 @@ public:
}
#endif // __PSHAG_CANIMATIONDATABASE_HPP__
#endif // __URDE_CANIMATIONDATABASE_HPP__