metaforce/Runtime/Weapon/CGSFidget.hpp

28 lines
637 B
C++
Raw Normal View History

#ifndef __URDE_CGSFIDGET_HPP__
#define __URDE_CGSFIDGET_HPP__
#include "RetroTypes.hpp"
2017-08-26 04:36:25 +00:00
#include "CToken.hpp"
namespace urde
{
class CAnimData;
class CStateManager;
class CGSFidget
{
2017-08-26 04:36:25 +00:00
std::vector<CToken> x0_anims;
s32 x10_ = -1;
s32 x14_gunId = -1;
2017-09-04 02:22:46 +00:00
s32 x18_animSet = -1;
public:
2017-08-26 04:36:25 +00:00
bool Update(CAnimData& data, float dt, CStateManager& mgr);
2017-09-04 02:22:46 +00:00
s32 SetAnim(CAnimData& data, s32 type, s32 gunId, s32 animSet, CStateManager& mgr);
void LoadAnimAsync(CAnimData& data, s32 type, s32 gunId, s32 animSet, CStateManager& mgr);
void UnLoadAnim();
bool IsAnimLoaded() const;
};
}
#endif // __URDE_CGSFIDGET_HPP__