2016-08-14 21:11:44 +00:00
|
|
|
#ifndef __URDE_CGSFIDGET_HPP__
|
|
|
|
#define __URDE_CGSFIDGET_HPP__
|
|
|
|
|
|
|
|
#include "RetroTypes.hpp"
|
2017-08-26 04:36:25 +00:00
|
|
|
#include "CToken.hpp"
|
2016-08-14 21:11:44 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2016-12-10 02:35:20 +00:00
|
|
|
class CAnimData;
|
|
|
|
class CStateManager;
|
2016-08-14 21:11:44 +00:00
|
|
|
class CGSFidget
|
|
|
|
{
|
2017-08-26 04:36:25 +00:00
|
|
|
std::vector<CToken> x0_anims;
|
|
|
|
s32 x10_ = -1;
|
|
|
|
s32 x14_parm1 = -1;
|
|
|
|
s32 x18_parm2 = -1;
|
2016-12-10 02:35:20 +00:00
|
|
|
public:
|
2017-08-26 04:36:25 +00:00
|
|
|
bool Update(CAnimData& data, float dt, CStateManager& mgr);
|
|
|
|
s32 SetAnim(CAnimData& data, s32 type, s32 parm1, s32 parm2, CStateManager& mgr);
|
|
|
|
void LoadAnimAsync(CAnimData& data, s32 type, s32 parm1, s32 parm2, CStateManager& mgr);
|
2016-12-10 02:35:20 +00:00
|
|
|
void UnLoadAnim();
|
|
|
|
bool IsAnimLoaded() const;
|
2016-08-14 21:11:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CGSFIDGET_HPP__
|