Files

32 lines
758 B
C++
Raw Permalink Normal View History

#ifndef _CGSFREELOOK
#define _CGSFREELOOK
2022-10-07 02:28:42 +03:00
#include "types.h"
class CAnimData;
class CStateManager;
class CGSFreeLook {
float x0_delay;
int x4_cueAnimId;
int x8_loopState; // In, loop, out
int xc_gunId;
int x10_setId;
2022-10-09 01:03:50 +03:00
bool x14_idle : 1;
2022-10-07 02:28:42 +03:00
public:
CGSFreeLook();
int GetSetId() const { return x10_setId; }
2026-02-04 15:15:59 -08:00
void SetLoopState(const int l) { x8_loopState = l; }
2022-10-07 02:28:42 +03:00
int GetLoopState() const { return x8_loopState; }
2026-02-04 15:15:59 -08:00
void SetIdle(const bool l) { x14_idle = l; }
2022-10-07 02:28:42 +03:00
int GetGunId() const { return xc_gunId; }
bool Update(CAnimData& data, float dt, CStateManager& mgr);
int SetAnim(CAnimData& data, int gunId, int setId, int loopState, CStateManager& mgr,
float delay);
2022-10-07 02:28:42 +03:00
};
CHECK_SIZEOF(CGSFreeLook, 0x18)
#endif // _CGSFREELOOK