2016-08-14 21:11:44 +00:00
|
|
|
#ifndef __URDE_CGSCOMBOFIRE_HPP__
|
|
|
|
#define __URDE_CGSCOMBOFIRE_HPP__
|
|
|
|
|
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2016-12-10 02:35:20 +00:00
|
|
|
class CAnimData;
|
|
|
|
class CStateManager;
|
2016-08-14 21:11:44 +00:00
|
|
|
class CGSComboFire
|
|
|
|
{
|
2016-12-19 18:27:58 +00:00
|
|
|
float x0_timeRemaining = 0.f;
|
2016-08-14 21:11:44 +00:00
|
|
|
u32 x4_ = -1;
|
|
|
|
u32 x8_ = -1;
|
|
|
|
u32 xc_ = -1;
|
|
|
|
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
bool x10_24_ : 1;
|
|
|
|
bool x10_25_ : 1;
|
|
|
|
};
|
|
|
|
u8 _dummy = 0;
|
|
|
|
};
|
2016-12-10 02:35:20 +00:00
|
|
|
public:
|
|
|
|
bool IsComboOver() const;
|
|
|
|
s32 GetLoopState() const;
|
|
|
|
void SetLoopState(s32);
|
|
|
|
void SetIdle(bool);
|
|
|
|
void GetGunId() const;
|
|
|
|
bool Update(CAnimData&, float, CStateManager&);
|
2016-12-19 18:27:58 +00:00
|
|
|
void SetAnim(CAnimData&, s32, s32, CStateManager&, float);
|
2016-08-14 21:11:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CGSCOMBOFIRE_HPP__
|