2016-08-14 21:11:44 +00:00
|
|
|
#ifndef __URDE_CGSFREELOOK_HPP__
|
|
|
|
#define __URDE_CGSFREELOOK_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 CGSFreeLook
|
|
|
|
{
|
2016-12-10 02:35:20 +00:00
|
|
|
friend class CGunController;
|
2016-08-14 21:11:44 +00:00
|
|
|
float x0_ = 0.f;
|
2016-12-10 02:35:20 +00:00
|
|
|
s32 x4_ = -1;
|
2016-08-14 21:11:44 +00:00
|
|
|
u32 x8_ = -1;
|
|
|
|
u32 xc_ = 0;
|
|
|
|
u32 x10_ = -1;
|
|
|
|
bool x14_ = false;
|
2016-12-10 02:35:20 +00:00
|
|
|
public:
|
|
|
|
s32 GetSetId() const;
|
|
|
|
void SetLoopState(s32);
|
|
|
|
s32 GetLoopState() const;
|
|
|
|
s32 GetGunId() const;
|
|
|
|
bool Update(CAnimData&, float, CStateManager&);
|
|
|
|
u32 SetAnim(CAnimData&, s32, s32, s32, CStateManager&, float);
|
|
|
|
|
2016-08-14 21:11:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CGSFREELOOK_HPP__
|