2015-06-30 12:46:07 +03:00
|
|
|
#include "precompiled.h"
|
|
|
|
|
2016-01-21 20:36:05 +03:00
|
|
|
// Move towards currently heard noise
|
|
|
|
|
2015-06-30 12:46:07 +03:00
|
|
|
/* <5b3114> ../cstrike/dlls/bot/states/cs_bot_investigate_noise.cpp:17 */
|
|
|
|
NOBODY void InvestigateNoiseState::AttendCurrentNoise(CCSBot *me)
|
|
|
|
{
|
|
|
|
// IsNoiseHeard(const class CCSBot *const this); // 19
|
|
|
|
}
|
|
|
|
|
|
|
|
/* <5b2f37> ../cstrike/dlls/bot/states/cs_bot_investigate_noise.cpp:38 */
|
2016-01-19 14:54:31 +03:00
|
|
|
NOBODY void InvestigateNoiseState::__MAKE_VHOOK(OnEnter)(CCSBot *me)
|
2015-06-30 12:46:07 +03:00
|
|
|
{
|
|
|
|
// AttendCurrentNoise(InvestigateNoiseState *const this,
|
|
|
|
// class CCSBot *me); // 40
|
|
|
|
}
|
|
|
|
|
|
|
|
/* <5b2fa2> ../cstrike/dlls/bot/states/cs_bot_investigate_noise.cpp:47 */
|
2016-01-19 14:54:31 +03:00
|
|
|
NOBODY void InvestigateNoiseState::__MAKE_VHOOK(OnUpdate)(CCSBot *me)
|
2015-06-30 12:46:07 +03:00
|
|
|
{
|
|
|
|
// {
|
|
|
|
// float newNoiseDist; // 50
|
|
|
|
// float noiseDist; // 74
|
|
|
|
// float const nearDist; // 111
|
|
|
|
// {
|
|
|
|
// Vector toOldNoise; // 54
|
|
|
|
// float const muchCloserDist; // 56
|
|
|
|
// operator-(const Vector *const this,
|
|
|
|
// const Vector &v); // 54
|
|
|
|
// IsLengthGreaterThan(const Vector *const this,
|
|
|
|
// float length); // 57
|
|
|
|
// AttendCurrentNoise(InvestigateNoiseState *const this,
|
|
|
|
// class CCSBot *me); // 60
|
|
|
|
// }
|
|
|
|
// operator-(const Vector *const this,
|
|
|
|
// const Vector &v); // 74
|
|
|
|
// Length(const Vector *const this); // 74
|
|
|
|
// {
|
|
|
|
// float const closeToNoiseRange; // 85
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
|
|
|
|
/* <5b2e95> ../cstrike/dlls/bot/states/cs_bot_investigate_noise.cpp:129 */
|
2016-01-19 14:54:31 +03:00
|
|
|
NOBODY void InvestigateNoiseState::__MAKE_VHOOK(OnExit)(CCSBot *me)
|
2015-06-30 12:46:07 +03:00
|
|
|
{
|
|
|
|
}
|
2016-01-19 14:54:31 +03:00
|
|
|
|
|
|
|
#ifdef HOOK_GAMEDLL
|
|
|
|
|
|
|
|
void InvestigateNoiseState::OnEnter(CCSBot *me)
|
|
|
|
{
|
|
|
|
OnEnter_(me);
|
|
|
|
}
|
|
|
|
|
|
|
|
void InvestigateNoiseState::OnUpdate(CCSBot *me)
|
|
|
|
{
|
|
|
|
OnUpdate_(me);
|
|
|
|
}
|
|
|
|
|
|
|
|
void InvestigateNoiseState::OnExit(CCSBot *me)
|
|
|
|
{
|
|
|
|
OnExit_(me);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // HOOK_GAMEDLL
|