ReGameDLL_CS/regamedll/dlls/bot/states/cs_bot_follow.cpp

123 lines
4.1 KiB
C++
Raw Normal View History

2015-06-30 12:46:07 +03:00
#include "precompiled.h"
/* <56918b> ../cstrike/dlls/bot/states/cs_bot_follow.cpp:16 */
NOBODY void FollowState::__MAKE_VHOOK(OnEnter)(CCSBot *me)
2015-06-30 12:46:07 +03:00
{
// DestroyPath(CCSBot *const this); // 20
// Invalidate(CountdownTimer *const this); // 33
// Invalidate(IntervalTimer *const this); // 37
// Start(CountdownTimer *const this,
// float duration); // 41
}
/* <569268> ../cstrike/dlls/bot/states/cs_bot_follow.cpp:48 */
NOBODY void FollowState::ComputeLeaderMotionState(float leaderSpeed)
{
// {
// float const runWalkThreshold; // 51
// float const walkStopThreshold; // 52
// enum LeaderMotionStateType prevState; // 53
// {
// float const minWalkTime; // 68
// GetElapsedTime(const class IntervalTimer *const this); // 69
// Start(IntervalTimer *const this); // 64
// }
// Start(IntervalTimer *const this); // 83
// }
}
/* <569368> ../cstrike/dlls/bot/states/cs_bot_follow.cpp:164 */
NOBODY void FollowState::__MAKE_VHOOK(OnUpdate)(CCSBot *me)
2015-06-30 12:46:07 +03:00
{
// {
// float leaderSpeed; // 194
// bool isLeaderVisible; // 200
// float const farAwayRange; // 213
// float const longTime; // 231
// bool repath; // 241
// float const nearLeaderRange; // 244
// SetTask(CCSBot *const this,
// enum TaskType task,
// class CBaseEntity *entity); // 177
// IsNotMoving(const class CCSBot *const this); // 190
// Length(const class Vector2D *const this); // 194
// operator-(const Vector *const this,
// const Vector &v); // 214
// IsLengthGreaterThan(const Vector *const this,
// float length); // 214
// GetElapsedTime(const class IntervalTimer *const this); // 245
// operator-(const Vector *const this,
// const Vector &v); // 251
// IsLengthLessThan(const Vector *const this,
// float length); // 251
// {
// float const hideRange; // 253
// }
// IsElapsed(const class CountdownTimer *const this); // 263
// DestroyPath(CCSBot *const this); // 280
// IsElapsed(const class CountdownTimer *const this); // 284
// {
// float const runSpeed; // 291
// float const collectRange; // 293
// class FollowTargetCollector collector; // 294
// FollowTargetCollector(FollowTargetCollector *const this,
// class CBasePlayer *player); // 294
// SearchSurroundingAreas<FollowTargetCollector>(CNavArea *startArea,
// const Vector *startPos,
// class FollowTargetCollector &func,
// float maxRange); // 295
// {
// int i; // 299
// }
// {
// class CNavArea *target; // 306
// Vector targetPos; // 307
// IsElapsed(const class CountdownTimer *const this); // 310
// {
// class CNavArea *area; // 321
// float closeRangeSq; // 322
// Vector close; // 323
// {
// int a; // 325
// {
// float rangeSq;// 331
// operator-(const Vector *const this,
// const Vector &v); // 331
// LengthSquared(const Vector *const this); // 331
// }
// }
// }
// Start(CountdownTimer *const this,
// float duration); // 345
// Reset(CountdownTimer *const this); // 347
// }
// }
// Start(CountdownTimer *const this,
// float duration); // 191
// }
}
/* <569231> ../cstrike/dlls/bot/states/cs_bot_follow.cpp:353 */
NOBODY void FollowState::__MAKE_VHOOK(OnExit)(CCSBot *me)
2015-06-30 12:46:07 +03:00
{
}
#ifdef HOOK_GAMEDLL
void FollowState::OnEnter(CCSBot *me)
{
OnEnter_(me);
}
void FollowState::OnUpdate(CCSBot *me)
{
OnUpdate_(me);
}
void FollowState::OnExit(CCSBot *me)
{
OnExit_(me);
}
#endif // HOOK_GAMEDLL