GM.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. // GM - [2020-06-22 11:41:46]
  2. #ifndef _GM_H_
  3. #define _GM_H_
  4. #include "CPlayer.h"
  5. // 0015B0A4
  6. void GM_CheckGoalSide();
  7. // 0015B340
  8. void GM_CalcPlayerDist();
  9. // 0015B7C8
  10. void GM_IsOnPitch(TPoint);
  11. // 0015B7F8
  12. void GM_SwapInt(int &, int &);
  13. // 0015B804
  14. int GM_CalcGoalDist(TPoint, int);
  15. // 0016E0BC
  16. void GM_GetRotPowerTrajectory(TPoint3D, int *, int *, int *);
  17. // 0016E108
  18. void GM_GetVecFromRotPowerTrajectory(TPoint3D *, int, int, int);
  19. // 00171E50
  20. void GM_DeflectBallFromDribbler(CPlayer *, int *);
  21. // 00178C7C
  22. int GM_CheckInterception(CPlayer *, int, int, int);
  23. // 00178D3C
  24. void GM_CheckInterceptionPos(CPlayer *, int, int, TPoint *);
  25. // 00179170
  26. void GM_CheckInterceptionX(CPlayer *, int);
  27. // 0017918C
  28. void GM_CalcPlayerBallInterceptions();
  29. // 00179A44
  30. int GM_GetPlayerNearestPoint(int, TPoint, int, int *);
  31. // 00179AD0
  32. int GM_GetPlayerNearestPoint(int, TPoint, int *);
  33. // 00179B60
  34. void GM_GetPlayerNearestPointF(int, TPoint, int, int, int);
  35. // 00179BE0
  36. void GM_GetPlayerNearestPointFX(int, TPoint, bool *, int, int, int, int);
  37. // 00179C80
  38. void GM_GetPlayerNearestPointRange(int, TPoint, bool *, int, int);
  39. // 00179F90
  40. void GM_GetLineIntersectWeighted(TPoint, TPoint, TPoint, int, int, int *,
  41. int *);
  42. // 0017A04C
  43. void GM_GetPlayerFutureNearestLineWeighted(int, int, bool *, TPoint3D, TPoint3D,
  44. int, int, int *, int *);
  45. // 0017A24C
  46. int GM_GetPlayerFutureNearestLine(int, CPlayer *, TPoint, TPoint, int *, int *);
  47. // 0017A340
  48. void GM_GetPlayerTotalSpace(int, int);
  49. // 0017A510
  50. void GM_GetPointSpace(int, TPoint);
  51. // 0017A558
  52. void GM_GetPlayerSpaceRot(CPlayer *, int, int, int);
  53. // 0017A744
  54. void GM_DistanceSq(TPoint const *, TPoint const *);
  55. // 0017A76A
  56. void GM_Distance(TPoint const *, TPoint const *);
  57. // 0017A796
  58. int GM_Distance3D(TPoint3D const *, TPoint3D const *);
  59. // 0017A7DA
  60. void GM_PlayerLimitDistancePos(CPlayer *, TPoint, int);
  61. // 0017A810
  62. void GM_PlayerLimitDistance(CPlayer *, int);
  63. // 0017A858
  64. void GM_PlayerLimitDistancePosPol(CPlayer *, TPoint, int, int);
  65. // 0017A898
  66. void GM_SetBestPointSpace(int, TPoint *, int, int);
  67. // 0017A9EC
  68. void GM_PointIsBetweenPoints(TPoint, TPoint, TPoint, int);
  69. // 0017AA3A
  70. void GM_TendAngle(int, int);
  71. // 0017AA88
  72. float GM_BlendAngleF(float, float, float);
  73. // 0017AB34
  74. float GM_BlendAngleAroundF(float, float, float, float);
  75. // 0017ABC8
  76. int GM_BlendAngle(int i_0, int i_1, int i2) ;
  77. extern int GM_iInterceptScale[513];
  78. #endif //_GM_H_