Advertisement
Guest User

Untitled

a guest
Sep 20th, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 109.75 KB | None | 0 0
  1. [ 10%] Building C object codemp/game/CMakeFiles/jampgamearm.dir/bg_pmove.c.o
  2. /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_SetVelocityforLedgeMov e’:
  3. /home/pi/javision/codemp/game/bg_pmove.c:1764:25: warning: implicit declaration of function ‘BG_GetLegsAnimPoint’ [-Wimplicit-function-declaration]
  4. float animationpoint = BG_GetLegsAnimPoint(ps, pm_entSelf->localAnimIndex);
  5. ^~~~~~~~~~~~~~~~~~~
  6. /home/pi/javision/codemp/game/bg_pmove.c:1769:15: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
  7. VectorClear(&ps->velocity);
  8. ^
  9. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  10. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  11. /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  12. void VectorClear( vec3_t vec );
  13. ^~~~~~~~~~~
  14. /home/pi/javision/codemp/game/bg_pmove.c:1774:14: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
  15. VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0);
  16. ^
  17. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  18. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  19. /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  20. void VectorSet( vec3_t vec, float x, float y, float z );
  21. ^~~~~~~~~
  22. /home/pi/javision/codemp/game/bg_pmove.c:1775:17: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  23. AngleVectors(&fwdAngles, NULL, &moveDir, NULL);
  24. ^
  25. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  26. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  27. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  28. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  29. ^~~~~~~~~~~~
  30. /home/pi/javision/codemp/game/bg_pmove.c:1775:35: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  31. AngleVectors(&fwdAngles, NULL, &moveDir, NULL);
  32. ^
  33. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  34. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  35. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  36. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  37. ^~~~~~~~~~~~
  38. /home/pi/javision/codemp/game/bg_pmove.c:1776:16: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  39. VectorScale(&moveDir, -30, &moveDir);
  40. ^
  41. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  42. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  43. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  44. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  45. ^~~~~~~~~~~
  46. /home/pi/javision/codemp/game/bg_pmove.c:1776:31: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  47. VectorScale(&moveDir, -30, &moveDir);
  48. ^
  49. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  50. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  51. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  52. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  53. ^~~~~~~~~~~
  54. /home/pi/javision/codemp/game/bg_pmove.c:1777:15: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  55. VectorCopy(&moveDir, &ps->velocity);
  56. ^
  57. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  58. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  59. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  60. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  61. ^~~~~~~~~~
  62. /home/pi/javision/codemp/game/bg_pmove.c:1777:25: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  63. VectorCopy(&moveDir, &ps->velocity);
  64. ^
  65. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  66. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  67. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  68. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  69. ^~~~~~~~~~
  70. /home/pi/javision/codemp/game/bg_pmove.c:1780:16: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
  71. VectorClear(&ps->velocity);
  72. ^
  73. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  74. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  75. /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  76. void VectorClear( vec3_t vec );
  77. ^~~~~~~~~~~
  78. /home/pi/javision/codemp/game/bg_pmove.c:1785:14: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
  79. VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0);
  80. ^
  81. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  82. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  83. /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  84. void VectorSet( vec3_t vec, float x, float y, float z );
  85. ^~~~~~~~~
  86. /home/pi/javision/codemp/game/bg_pmove.c:1786:17: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  87. AngleVectors(&fwdAngles, NULL, &moveDir, NULL);
  88. ^
  89. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  90. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  91. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  92. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  93. ^~~~~~~~~~~~
  94. /home/pi/javision/codemp/game/bg_pmove.c:1786:35: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  95. AngleVectors(&fwdAngles, NULL, &moveDir, NULL);
  96. ^
  97. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  98. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  99. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  100. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  101. ^~~~~~~~~~~~
  102. /home/pi/javision/codemp/game/bg_pmove.c:1787:16: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  103. VectorScale(&moveDir, 30, &moveDir);
  104. ^
  105. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  106. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  107. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  108. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  109. ^~~~~~~~~~~
  110. /home/pi/javision/codemp/game/bg_pmove.c:1787:30: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  111. VectorScale(&moveDir, 30, &moveDir);
  112. ^
  113. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  114. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  115. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  116. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  117. ^~~~~~~~~~~
  118. /home/pi/javision/codemp/game/bg_pmove.c:1788:15: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  119. VectorCopy(&moveDir, &ps->velocity);
  120. ^
  121. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  122. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  123. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  124. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  125. ^~~~~~~~~~
  126. /home/pi/javision/codemp/game/bg_pmove.c:1788:25: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  127. VectorCopy(&moveDir, &ps->velocity);
  128. ^
  129. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  130. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  131. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  132. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  133. ^~~~~~~~~~
  134. /home/pi/javision/codemp/game/bg_pmove.c:1791:16: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
  135. VectorClear(&ps->velocity);
  136. ^
  137. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  138. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  139. /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  140. void VectorClear( vec3_t vec );
  141. ^~~~~~~~~~~
  142. /home/pi/javision/codemp/game/bg_pmove.c:1811:14: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
  143. VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0);
  144. ^
  145. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  146. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  147. /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  148. void VectorSet( vec3_t vec, float x, float y, float z );
  149. ^~~~~~~~~
  150. /home/pi/javision/codemp/game/bg_pmove.c:1812:17: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  151. AngleVectors(&fwdAngles, &moveDir, NULL, NULL);
  152. ^
  153. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  154. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  155. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  156. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  157. ^~~~~~~~~~~~
  158. /home/pi/javision/codemp/game/bg_pmove.c:1812:29: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  159. AngleVectors(&fwdAngles, &moveDir, NULL, NULL);
  160. ^
  161. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  162. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  163. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  164. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  165. ^~~~~~~~~~~~
  166. /home/pi/javision/codemp/game/bg_pmove.c:1813:16: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  167. VectorScale(&moveDir, 70, &moveDir);
  168. ^
  169. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  170. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  171. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  172. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  173. ^~~~~~~~~~~
  174. /home/pi/javision/codemp/game/bg_pmove.c:1813:30: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  175. VectorScale(&moveDir, 70, &moveDir);
  176. ^
  177. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  178. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  179. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  180. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  181. ^~~~~~~~~~~
  182. /home/pi/javision/codemp/game/bg_pmove.c:1814:15: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  183. VectorCopy(&moveDir, &ps->velocity);
  184. ^
  185. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  186. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  187. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  188. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  189. ^~~~~~~~~~
  190. /home/pi/javision/codemp/game/bg_pmove.c:1814:25: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  191. VectorCopy(&moveDir, &ps->velocity);
  192. ^
  193. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  194. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  195. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  196. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  197. ^~~~~~~~~~
  198. /home/pi/javision/codemp/game/bg_pmove.c:1817:16: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
  199. VectorClear(&ps->velocity);
  200. ^
  201. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  202. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  203. /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  204. void VectorClear( vec3_t vec );
  205. ^~~~~~~~~~~
  206. /home/pi/javision/codemp/game/bg_pmove.c:1821:15: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
  207. VectorClear(&ps->velocity);
  208. ^
  209. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  210. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  211. /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  212. void VectorClear( vec3_t vec );
  213. ^~~~~~~~~~~
  214. /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_AdjustAngleForWallGra ’:
  215. /home/pi/javision/codemp/game/bg_pmove.c:1837:14: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
  216. VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0);
  217. ^
  218. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  219. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  220. /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  221. void VectorSet( vec3_t vec, float x, float y, float z );
  222. ^~~~~~~~~
  223. /home/pi/javision/codemp/game/bg_pmove.c:1838:17: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  224. AngleVectors(&fwdAngles, &fwd, NULL, NULL);
  225. ^
  226. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  227. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  228. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  229. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  230. ^~~~~~~~~~~~
  231. /home/pi/javision/codemp/game/bg_pmove.c:1838:29: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  232. AngleVectors(&fwdAngles, &fwd, NULL, NULL);
  233. ^
  234. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  235. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  236. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  237. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  238. ^~~~~~~~~~~~
  239. /home/pi/javision/codemp/game/bg_pmove.c:1839:20: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
  240. VectorNormalize(&fwd);
  241. ^
  242. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  243. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  244. /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  245. float VectorNormalize( vec3_t vec );
  246. ^~~~~~~~~~~~~~~
  247. /home/pi/javision/codemp/game/bg_pmove.c:1841:15: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  248. VectorCopy(&ps->origin, &traceFrom);
  249. ^
  250. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  251. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  252. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  253. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  254. ^~~~~~~~~~
  255. /home/pi/javision/codemp/game/bg_pmove.c:1841:28: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  256. VectorCopy(&ps->origin, &traceFrom);
  257. ^
  258. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  259. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  260. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  261. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  262. ^~~~~~~~~~
  263. /home/pi/javision/codemp/game/bg_pmove.c:1844:13: warning: passing argument 1 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  264. VectorMA(&traceFrom, LEDGEGRABDISTANCE, &fwd, &traceTo);
  265. ^
  266. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  267. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  268. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  269. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  270. ^~~~~~~~
  271. /home/pi/javision/codemp/game/bg_pmove.c:1844:44: warning: passing argument 3 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  272. VectorMA(&traceFrom, LEDGEGRABDISTANCE, &fwd, &traceTo);
  273. ^
  274. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  275. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  276. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  277. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  278. ^~~~~~~~
  279. /home/pi/javision/codemp/game/bg_pmove.c:1844:50: warning: passing argument 4 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  280. VectorMA(&traceFrom, LEDGEGRABDISTANCE, &fwd, &traceTo);
  281. ^
  282. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  283. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  284. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  285. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  286. ^~~~~~~~
  287. /home/pi/javision/codemp/game/bg_pmove.c:1846:22: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  288. pm->trace(&trace, &traceFrom, NULL, NULL, &traceTo, ps->clientNum, MASK_SOLI D);
  289. ^
  290. /home/pi/javision/codemp/game/bg_pmove.c:1846:22: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  291. /home/pi/javision/codemp/game/bg_pmove.c:1846:46: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  292. pm->trace(&trace, &traceFrom, NULL, NULL, &traceTo, ps->clientNum, MASK_SOLI D);
  293. ^
  294. /home/pi/javision/codemp/game/bg_pmove.c:1846:46: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  295. /home/pi/javision/codemp/game/bg_pmove.c:1855:33: warning: passing argument 1 of ‘vectoyaw’ from incompatible pointer type [-Wincompatible-pointer-types]
  296. ps->viewangles[1] = vectoyaw(&trace.plane.normal) + 180;
  297. ^
  298. In file included from /home/pi/javision/codemp/game/bg_pmove.c:28:0:
  299. /home/pi/javision/codemp/game/bg_public.h:1191:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  300. float vectoyaw( const vec3_t vec );
  301. ^~~~~~~~
  302. /home/pi/javision/codemp/game/bg_pmove.c:1873:5: error: too many arguments to fu nction ‘PM_SetAnim’
  303. PM_SetAnim(SETANIM_BOTH, BOTH_LEDGE_HOLD, SETANIM_FLAG_OVERRIDE, 0);
  304. ^~~~~~~~~~
  305. In file included from /home/pi/javision/codemp/game/bg_pmove.c:29:0:
  306. /home/pi/javision/codemp/game/bg_local.h:114:6: note: declared here
  307. void PM_SetAnim(int setAnimParts,int anim,int setAnimFlags);
  308. ^~~~~~~~~~
  309. /home/pi/javision/codemp/game/bg_pmove.c:1885:6: error: too many arguments to fu nction ‘PM_SetAnim’
  310. PM_SetAnim(SETANIM_BOTH, BOTH_LEDGE_LEFT, AFLAG_PACE, 0);
  311. ^~~~~~~~~~
  312. In file included from /home/pi/javision/codemp/game/bg_pmove.c:29:0:
  313. /home/pi/javision/codemp/game/bg_local.h:114:6: note: declared here
  314. void PM_SetAnim(int setAnimParts,int anim,int setAnimFlags);
  315. ^~~~~~~~~~
  316. /home/pi/javision/codemp/game/bg_pmove.c:1891:6: error: too many arguments to fu nction ‘PM_SetAnim’
  317. PM_SetAnim(SETANIM_BOTH, BOTH_LEDGE_RIGHT, AFLAG_PACE, 0);
  318. ^~~~~~~~~~
  319. In file included from /home/pi/javision/codemp/game/bg_pmove.c:29:0:
  320. /home/pi/javision/codemp/game/bg_local.h:114:6: note: declared here
  321. void PM_SetAnim(int setAnimParts,int anim,int setAnimFlags);
  322. ^~~~~~~~~~
  323. /home/pi/javision/codemp/game/bg_pmove.c:1901:5: error: too many arguments to fu nction ‘PM_SetAnim’
  324. PM_SetAnim(SETANIM_BOTH, BOTH_LEDGE_MERCPULL, SETANIM_FLAG_OVERRIDE | SETAN IM_FLAG_HOLD | SETANIM_FLAG_HOLDLESS, 0);
  325. ^~~~~~~~~~
  326. In file included from /home/pi/javision/codemp/game/bg_pmove.c:29:0:
  327. /home/pi/javision/codemp/game/bg_local.h:114:6: note: declared here
  328. void PM_SetAnim(int setAnimParts,int anim,int setAnimFlags);
  329. ^~~~~~~~~~
  330. /home/pi/javision/codemp/game/bg_pmove.c: In function ‘LedgeTrace’:
  331. /home/pi/javision/codemp/game/bg_pmove.c:1956:11: warning: passing argument 1 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  332. VectorMA(&pm->ps->origin, LEDGEGRABDISTANCE, dir, &traceTo);
  333. ^
  334. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  335. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  336. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  337. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  338. ^~~~~~~~
  339. /home/pi/javision/codemp/game/bg_pmove.c:1956:47: warning: passing argument 3 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  340. VectorMA(&pm->ps->origin, LEDGEGRABDISTANCE, dir, &traceTo);
  341. ^~~
  342. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  343. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  344. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  345. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  346. ^~~~~~~~
  347. /home/pi/javision/codemp/game/bg_pmove.c:1956:52: warning: passing argument 4 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  348. VectorMA(&pm->ps->origin, LEDGEGRABDISTANCE, dir, &traceTo);
  349. ^
  350. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  351. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  352. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  353. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  354. ^~~~~~~~
  355. /home/pi/javision/codemp/game/bg_pmove.c:1957:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  356. VectorCopy(&pm->ps->origin, &traceFrom);
  357. ^
  358. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  359. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  360. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  361. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  362. ^~~~~~~~~~
  363. /home/pi/javision/codemp/game/bg_pmove.c:1957:30: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  364. VectorCopy(&pm->ps->origin, &traceFrom);
  365. ^
  366. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  367. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  368. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  369. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  370. ^~~~~~~~~~
  371. /home/pi/javision/codemp/game/bg_pmove.c:1962:19: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  372. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DEA DSOLID);
  373. ^
  374. /home/pi/javision/codemp/game/bg_pmove.c:1962:19: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  375. /home/pi/javision/codemp/game/bg_pmove.c:1962:43: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  376. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DEA DSOLID);
  377. ^
  378. /home/pi/javision/codemp/game/bg_pmove.c:1962:43: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  379. /home/pi/javision/codemp/game/bg_pmove.c:1965:12: warning: passing argument 1 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  380. VectorMA(&trace->endpos, 0.5f, dir, &traceTo);
  381. ^
  382. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  383. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  384. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  385. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  386. ^~~~~~~~
  387. /home/pi/javision/codemp/game/bg_pmove.c:1965:34: warning: passing argument 3 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  388. VectorMA(&trace->endpos, 0.5f, dir, &traceTo);
  389. ^~~
  390. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  391. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  392. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  393. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  394. ^~~~~~~~
  395. /home/pi/javision/codemp/game/bg_pmove.c:1965:39: warning: passing argument 4 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  396. VectorMA(&trace->endpos, 0.5f, dir, &traceTo);
  397. ^
  398. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  399. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  400. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  401. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  402. ^~~~~~~~
  403. /home/pi/javision/codemp/game/bg_pmove.c:1967:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  404. VectorCopy(&traceTo, &traceFrom);
  405. ^
  406. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  407. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  408. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  409. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  410. ^~~~~~~~~~
  411. /home/pi/javision/codemp/game/bg_pmove.c:1967:24: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  412. VectorCopy(&traceTo, &traceFrom);
  413. ^
  414. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  415. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  416. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  417. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  418. ^~~~~~~~~~
  419. /home/pi/javision/codemp/game/bg_pmove.c:1971:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  420. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
  421. ^
  422. /home/pi/javision/codemp/game/bg_pmove.c:1971:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  423. /home/pi/javision/codemp/game/bg_pmove.c:1971:44: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  424. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
  425. ^
  426. /home/pi/javision/codemp/game/bg_pmove.c:1971:44: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  427. /home/pi/javision/codemp/game/bg_pmove.c:1978:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  428. VectorCopy(&traceTo, &traceFrom);
  429. ^
  430. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  431. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  432. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  433. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  434. ^~~~~~~~~~
  435. /home/pi/javision/codemp/game/bg_pmove.c:1978:24: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  436. VectorCopy(&traceTo, &traceFrom);
  437. ^
  438. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  439. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  440. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  441. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  442. ^~~~~~~~~~
  443. /home/pi/javision/codemp/game/bg_pmove.c:1981:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  444. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
  445. ^
  446. /home/pi/javision/codemp/game/bg_pmove.c:1981:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  447. /home/pi/javision/codemp/game/bg_pmove.c:1981:44: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  448. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
  449. ^
  450. /home/pi/javision/codemp/game/bg_pmove.c:1981:44: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  451. /home/pi/javision/codemp/game/bg_pmove.c:1987:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  452. VectorCopy(&trace->endpos, &traceFrom);
  453. ^
  454. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  455. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  456. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  457. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  458. ^~~~~~~~~~
  459. /home/pi/javision/codemp/game/bg_pmove.c:1987:30: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  460. VectorCopy(&trace->endpos, &traceFrom);
  461. ^
  462. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  463. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  464. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  465. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  466. ^~~~~~~~~~
  467. /home/pi/javision/codemp/game/bg_pmove.c:1990:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  468. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
  469. ^
  470. /home/pi/javision/codemp/game/bg_pmove.c:1990:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  471. /home/pi/javision/codemp/game/bg_pmove.c:1990:44: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  472. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
  473. ^
  474. /home/pi/javision/codemp/game/bg_pmove.c:1990:44: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  475. /home/pi/javision/codemp/game/bg_pmove.c:1994:14: warning: passing argument 1 of ‘vectoangles’ from incompatible pointer type [-Wincompatible-pointer-types]
  476. vectoangles(&trace->plane.normal, &wallangles);
  477. ^
  478. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  479. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  480. /home/pi/javision/shared/qcommon/q_math.h:146:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  481. void vectoangles( const vec3_t value1, vec3_t angles );
  482. ^~~~~~~~~~~
  483. /home/pi/javision/codemp/game/bg_pmove.c:1994:36: warning: passing argument 2 of ‘vectoangles’ from incompatible pointer type [-Wincompatible-pointer-types]
  484. vectoangles(&trace->plane.normal, &wallangles);
  485. ^
  486. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  487. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  488. /home/pi/javision/shared/qcommon/q_math.h:146:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  489. void vectoangles( const vec3_t value1, vec3_t angles );
  490. ^~~~~~~~~~~
  491. /home/pi/javision/codemp/game/bg_pmove.c:1999:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  492. VectorCopy(&trace->endpos, &traceTo);
  493. ^
  494. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  495. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  496. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  497. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  498. ^~~~~~~~~~
  499. /home/pi/javision/codemp/game/bg_pmove.c:1999:30: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  500. VectorCopy(&trace->endpos, &traceTo);
  501. ^
  502. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  503. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  504. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  505. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  506. ^~~~~~~~~~
  507. /home/pi/javision/codemp/game/bg_pmove.c:2002:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  508. VectorCopy(&pm->ps->origin, &traceFrom);
  509. ^
  510. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  511. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  512. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  513. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  514. ^~~~~~~~~~
  515. /home/pi/javision/codemp/game/bg_pmove.c:2002:31: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  516. VectorCopy(&pm->ps->origin, &traceFrom);
  517. ^
  518. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  519. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  520. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  521. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  522. ^~~~~~~~~~
  523. /home/pi/javision/codemp/game/bg_pmove.c:2007:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  524. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
  525. ^
  526. /home/pi/javision/codemp/game/bg_pmove.c:2007:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  527. /home/pi/javision/codemp/game/bg_pmove.c:2007:44: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  528. pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
  529. ^
  530. /home/pi/javision/codemp/game/bg_pmove.c:2007:44: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  531. /home/pi/javision/codemp/game/bg_pmove.c:2009:15: warning: passing argument 1 of ‘vectoangles’ from incompatible pointer type [-Wincompatible-pointer-types]
  532. vectoangles(&trace->plane.normal, &wallangles);
  533. ^
  534. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  535. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  536. /home/pi/javision/shared/qcommon/q_math.h:146:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  537. void vectoangles( const vec3_t value1, vec3_t angles );
  538. ^~~~~~~~~~~
  539. /home/pi/javision/codemp/game/bg_pmove.c:2009:37: warning: passing argument 2 of ‘vectoangles’ from incompatible pointer type [-Wincompatible-pointer-types]
  540. vectoangles(&trace->plane.normal, &wallangles);
  541. ^
  542. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  543. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  544. /home/pi/javision/shared/qcommon/q_math.h:146:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  545. void vectoangles( const vec3_t value1, vec3_t angles );
  546. ^~~~~~~~~~~
  547. /home/pi/javision/codemp/game/bg_pmove.c:2013:23: warning: passing argument 1 of ‘Distance’ from incompatible pointer type [-Wincompatible-pointer-types]
  548. *lerpfwd = Distance(&trace->endpos, &traceFrom) - LEDGEHOROFFSET;
  549. ^
  550. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  551. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  552. /home/pi/javision/shared/qcommon/q_math.h:268:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  553. float Distance( const vec3_t p1, const vec3_t p2 );
  554. ^~~~~~~~
  555. /home/pi/javision/codemp/game/bg_pmove.c:2013:39: warning: passing argument 2 of ‘Distance’ from incompatible pointer type [-Wincompatible-pointer-types]
  556. *lerpfwd = Distance(&trace->endpos, &traceFrom) - LEDGEHOROFFSET;
  557. ^
  558. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  559. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  560. /home/pi/javision/shared/qcommon/q_math.h:268:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  561. float Distance( const vec3_t p1, const vec3_t p2 );
  562. ^~~~~~~~
  563. /home/pi/javision/codemp/game/bg_pmove.c:2014:23: warning: passing argument 1 of ‘vectoyaw’ from incompatible pointer type [-Wincompatible-pointer-types]
  564. *lerpyaw = vectoyaw(&trace->plane.normal) + 180;
  565. ^
  566. In file included from /home/pi/javision/codemp/game/bg_pmove.c:28:0:
  567. /home/pi/javision/codemp/game/bg_public.h:1191:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  568. float vectoyaw( const vec3_t vec );
  569. ^~~~~~~~
  570. /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_CheckGrab’:
  571. /home/pi/javision/codemp/game/bg_pmove.c:2047:12: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
  572. VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0.0f);
  573. ^
  574. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  575. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  576. /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  577. void VectorSet( vec3_t vec, float x, float y, float z );
  578. ^~~~~~~~~
  579. /home/pi/javision/codemp/game/bg_pmove.c:2048:15: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  580. AngleVectors(&fwdAngles, &checkDir, NULL, NULL);
  581. ^
  582. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  583. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  584. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  585. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  586. ^~~~~~~~~~~~
  587. /home/pi/javision/codemp/game/bg_pmove.c:2048:27: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  588. AngleVectors(&fwdAngles, &checkDir, NULL, NULL);
  589. ^
  590. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  591. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  592. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  593. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  594. ^~~~~~~~~~~~
  595. /home/pi/javision/codemp/game/bg_pmove.c:2050:21: warning: passing argument 1 of ‘VectorCompare’ from incompatible pointer type [-Wincompatible-pointer-types]
  596. if (!VectorCompare(&pm->ps->velocity, &vec3_origin)) {//player is moving
  597. ^
  598. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  599. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  600. /home/pi/javision/shared/qcommon/q_math.h:264:10: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  601. qboolean VectorCompare( const vec3_t vec1, const vec3_t vec2 );
  602. ^~~~~~~~~~~~~
  603. /home/pi/javision/codemp/game/bg_pmove.c:2050:40: warning: passing argument 2 of ‘VectorCompare’ from incompatible pointer type [-Wincompatible-pointer-types]
  604. if (!VectorCompare(&pm->ps->velocity, &vec3_origin)) {//player is moving
  605. ^
  606. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  607. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  608. /home/pi/javision/shared/qcommon/q_math.h:264:10: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  609. qboolean VectorCompare( const vec3_t vec1, const vec3_t vec2 );
  610. ^~~~~~~~~~~~~
  611. /home/pi/javision/codemp/game/bg_pmove.c:2064:19: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  612. AngleVectors(&fwdAngles, NULL, &checkDir, NULL);
  613. ^
  614. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  615. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  616. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  617. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  618. ^~~~~~~~~~~~
  619. /home/pi/javision/codemp/game/bg_pmove.c:2064:37: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  620. AngleVectors(&fwdAngles, NULL, &checkDir, NULL);
  621. ^
  622. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  623. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  624. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  625. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  626. ^~~~~~~~~~~~
  627. /home/pi/javision/codemp/game/bg_pmove.c:2065:22: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
  628. VectorNormalize(&checkDir);
  629. ^
  630. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  631. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  632. /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  633. float VectorNormalize( vec3_t vec );
  634. ^~~~~~~~~~~~~~~
  635. /home/pi/javision/codemp/game/bg_pmove.c:2068:19: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  636. AngleVectors(&fwdAngles, NULL, &checkDir, NULL);
  637. ^
  638. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  639. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  640. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  641. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  642. ^~~~~~~~~~~~
  643. /home/pi/javision/codemp/game/bg_pmove.c:2068:37: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  644. AngleVectors(&fwdAngles, NULL, &checkDir, NULL);
  645. ^
  646. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  647. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  648. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  649. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  650. ^~~~~~~~~~~~
  651. /home/pi/javision/codemp/game/bg_pmove.c:2069:18: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  652. VectorScale(&checkDir, -1, &checkDir);
  653. ^
  654. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  655. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  656. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  657. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  658. ^~~~~~~~~~~
  659. /home/pi/javision/codemp/game/bg_pmove.c:2069:33: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  660. VectorScale(&checkDir, -1, &checkDir);
  661. ^
  662. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  663. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  664. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  665. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  666. ^~~~~~~~~~~
  667. /home/pi/javision/codemp/game/bg_pmove.c:2070:22: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
  668. VectorNormalize(&checkDir);
  669. ^
  670. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  671. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  672. /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  673. float VectorNormalize( vec3_t vec );
  674. ^~~~~~~~~~~~~~~
  675. /home/pi/javision/codemp/game/bg_pmove.c:2077:18: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  676. AngleVectors(&fwdAngles, &checkDir, NULL, NULL);
  677. ^
  678. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  679. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  680. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  681. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  682. ^~~~~~~~~~~~
  683. /home/pi/javision/codemp/game/bg_pmove.c:2077:30: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  684. AngleVectors(&fwdAngles, &checkDir, NULL, NULL);
  685. ^
  686. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  687. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  688. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  689. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  690. ^~~~~~~~~~~~
  691. /home/pi/javision/codemp/game/bg_pmove.c:2078:17: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  692. VectorScale(&checkDir, -1, &checkDir);
  693. ^
  694. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  695. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  696. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  697. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  698. ^~~~~~~~~~~
  699. /home/pi/javision/codemp/game/bg_pmove.c:2078:32: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  700. VectorScale(&checkDir, -1, &checkDir);
  701. ^
  702. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  703. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  704. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  705. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  706. ^~~~~~~~~~~
  707. /home/pi/javision/codemp/game/bg_pmove.c:2079:21: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
  708. VectorNormalize(&checkDir);
  709. ^
  710. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  711. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  712. /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  713. float VectorNormalize( vec3_t vec );
  714. ^~~~~~~~~~~~~~~
  715. /home/pi/javision/codemp/game/bg_pmove.c:2088:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  716. VectorCopy(&pm->ps->origin, &traceTo);
  717. ^
  718. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  719. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  720. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  721. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  722. ^~~~~~~~~~
  723. /home/pi/javision/codemp/game/bg_pmove.c:2088:30: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  724. VectorCopy(&pm->ps->origin, &traceTo);
  725. ^
  726. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  727. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  728. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  729. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  730. ^~~~~~~~~~
  731. /home/pi/javision/codemp/game/bg_pmove.c:2089:11: warning: passing argument 1 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  732. VectorMA(&pm->ps->origin, lerpfwd, &checkDir, &traceTo);
  733. ^
  734. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  735. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  736. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  737. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  738. ^~~~~~~~
  739. /home/pi/javision/codemp/game/bg_pmove.c:2089:37: warning: passing argument 3 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  740. VectorMA(&pm->ps->origin, lerpfwd, &checkDir, &traceTo);
  741. ^
  742. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  743. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  744. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  745. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  746. ^~~~~~~~
  747. /home/pi/javision/codemp/game/bg_pmove.c:2089:48: warning: passing argument 4 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
  748. VectorMA(&pm->ps->origin, lerpfwd, &checkDir, &traceTo);
  749. ^
  750. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  751. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  752. /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  753. void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
  754. ^~~~~~~~
  755. /home/pi/javision/codemp/game/bg_pmove.c:2093:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  756. pm->trace(&trace, &pm->ps->origin, &pm->mins, &pm->maxs, &traceTo, pm->ps->cli entNum, MASK_PLAYERSOLID);
  757. ^
  758. /home/pi/javision/codemp/game/bg_pmove.c:2093:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  759. /home/pi/javision/codemp/game/bg_pmove.c:2093:37: warning: passing argument 3 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  760. pm->trace(&trace, &pm->ps->origin, &pm->mins, &pm->maxs, &traceTo, pm->ps->cli entNum, MASK_PLAYERSOLID);
  761. ^
  762. /home/pi/javision/codemp/game/bg_pmove.c:2093:37: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  763. /home/pi/javision/codemp/game/bg_pmove.c:2093:48: warning: passing argument 4 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  764. pm->trace(&trace, &pm->ps->origin, &pm->mins, &pm->maxs, &traceTo, pm->ps->cli entNum, MASK_PLAYERSOLID);
  765. ^
  766. /home/pi/javision/codemp/game/bg_pmove.c:2093:48: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  767. /home/pi/javision/codemp/game/bg_pmove.c:2093:59: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
  768. pm->trace(&trace, &pm->ps->origin, &pm->mins, &pm->maxs, &traceTo, pm->ps->cli entNum, MASK_PLAYERSOLID);
  769. ^
  770. /home/pi/javision/codemp/game/bg_pmove.c:2093:59: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  771. /home/pi/javision/codemp/game/bg_pmove.c:2100:28: warning: passing argument 2 of ‘PM_SetPMViewAngle’ from incompatible pointer type [-Wincompatible-pointer-type s]
  772. PM_SetPMViewAngle(pm->ps, &pm->ps->viewangles, &pm->cmd);
  773. ^
  774. /home/pi/javision/codemp/game/bg_pmove.c:1317:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  775. void PM_SetPMViewAngle(playerState_t *ps, vec3_t angle, usercmd_t *ucmd)
  776. ^~~~~~~~~~~~~~~~~
  777. /home/pi/javision/codemp/game/bg_pmove.c:2106:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  778. VectorCopy(&trace.endpos, &pm->ps->origin);
  779. ^
  780. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  781. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  782. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  783. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  784. ^~~~~~~~~~
  785. /home/pi/javision/codemp/game/bg_pmove.c:2106:28: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  786. VectorCopy(&trace.endpos, &pm->ps->origin);
  787. ^
  788. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  789. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  790. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  791. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  792. ^~~~~~~~~~
  793. /home/pi/javision/codemp/game/bg_pmove.c:2107:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  794. VectorCopy(&vec3_origin, &pm->ps->velocity);
  795. ^
  796. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  797. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  798. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  799. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  800. ^~~~~~~~~~
  801. /home/pi/javision/codemp/game/bg_pmove.c:2107:27: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  802. VectorCopy(&vec3_origin, &pm->ps->velocity);
  803. ^
  804. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  805. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  806. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  807. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  808. ^~~~~~~~~~
  809. /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_GrappleMove’:
  810. /home/pi/javision/codemp/game/bg_pmove.c:3639:14: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  811. VectorScale(&pml.forward, -16, &v);
  812. ^
  813. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  814. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  815. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  816. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  817. ^~~~~~~~~~~
  818. /home/pi/javision/codemp/game/bg_pmove.c:3639:33: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  819. VectorScale(&pml.forward, -16, &v);
  820. ^
  821. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  822. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  823. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  824. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  825. ^~~~~~~~~~~
  826. /home/pi/javision/codemp/game/bg_pmove.c:3640:12: warning: passing argument 1 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
  827. VectorAdd(&pm->ps->lastHitLoc, &v, &v);
  828. ^
  829. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  830. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  831. /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  832. void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  833. ^~~~~~~~~
  834. /home/pi/javision/codemp/game/bg_pmove.c:3640:33: warning: passing argument 2 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
  835. VectorAdd(&pm->ps->lastHitLoc, &v, &v);
  836. ^
  837. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  838. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  839. /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  840. void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  841. ^~~~~~~~~
  842. /home/pi/javision/codemp/game/bg_pmove.c:3640:37: warning: passing argument 3 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
  843. VectorAdd(&pm->ps->lastHitLoc, &v, &v);
  844. ^
  845. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  846. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  847. /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  848. void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  849. ^~~~~~~~~
  850. /home/pi/javision/codemp/game/bg_pmove.c:3641:17: warning: passing argument 1 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
  851. VectorSubtract(&v, &pm->ps->origin, &vel);
  852. ^
  853. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  854. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  855. /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  856. void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  857. ^~~~~~~~~~~~~~
  858. /home/pi/javision/codemp/game/bg_pmove.c:3641:21: warning: passing argument 2 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
  859. VectorSubtract(&v, &pm->ps->origin, &vel);
  860. ^
  861. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  862. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  863. /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  864. void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  865. ^~~~~~~~~~~~~~
  866. /home/pi/javision/codemp/game/bg_pmove.c:3641:38: warning: passing argument 3 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
  867. VectorSubtract(&v, &pm->ps->origin, &vel);
  868. ^
  869. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  870. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  871. /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  872. void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  873. ^~~~~~~~~~~~~~
  874. /home/pi/javision/codemp/game/bg_pmove.c:3642:22: warning: passing argument 1 of ‘VectorLength’ from incompatible pointer type [-Wincompatible-pointer-types]
  875. vLen = VectorLength(&vel);
  876. ^
  877. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  878. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  879. /home/pi/javision/shared/qcommon/q_math.h:253:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  880. float VectorLength( const vec3_t vec );
  881. ^~~~~~~~~~~~
  882. /home/pi/javision/codemp/game/bg_pmove.c:3643:18: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
  883. VectorNormalize(&vel);
  884. ^
  885. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  886. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  887. /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  888. float VectorNormalize( vec3_t vec );
  889. ^~~~~~~~~~~~~~~
  890. /home/pi/javision/codemp/game/bg_pmove.c:3646:15: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  891. VectorScale(&vel, 10 * vLen, &vel);
  892. ^
  893. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  894. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  895. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  896. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  897. ^~~~~~~~~~~
  898. /home/pi/javision/codemp/game/bg_pmove.c:3646:32: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  899. VectorScale(&vel, 10 * vLen, &vel);
  900. ^
  901. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  902. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  903. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  904. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  905. ^~~~~~~~~~~
  906. /home/pi/javision/codemp/game/bg_pmove.c:3648:15: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  907. VectorScale(&vel, 800, &vel);
  908. ^
  909. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  910. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  911. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  912. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  913. ^~~~~~~~~~~
  914. /home/pi/javision/codemp/game/bg_pmove.c:3648:26: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  915. VectorScale(&vel, 800, &vel);
  916. ^
  917. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  918. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  919. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  920. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  921. ^~~~~~~~~~~
  922. /home/pi/javision/codemp/game/bg_pmove.c:3650:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  923. VectorCopy(&vel, &pm->ps->velocity);
  924. ^
  925. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  926. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  927. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  928. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  929. ^~~~~~~~~~
  930. /home/pi/javision/codemp/game/bg_pmove.c:3650:19: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
  931. VectorCopy(&vel, &pm->ps->velocity);
  932. ^
  933. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  934. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  935. /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  936. void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
  937. ^~~~~~~~~~
  938. /home/pi/javision/codemp/game/bg_pmove.c:3654:12: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
  939. VectorSet(&facingAngles, 0, pm->ps->viewangles[1], 0);
  940. ^
  941. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  942. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  943. /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  944. void VectorSet( vec3_t vec, float x, float y, float z );
  945. ^~~~~~~~~
  946. /home/pi/javision/codemp/game/bg_pmove.c:3656:15: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  947. AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
  948. ^
  949. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  950. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  951. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  952. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  953. ^~~~~~~~~~~~
  954. /home/pi/javision/codemp/game/bg_pmove.c:3656:30: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  955. AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
  956. ^
  957. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  958. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  959. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  960. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  961. ^~~~~~~~~~~~
  962. [ 11%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_char.cpp.o
  963. /home/pi/javision/codemp/game/bg_pmove.c:3656:42: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  964. AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
  965. ^
  966. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  967. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  968. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  969. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  970. ^~~~~~~~~~~~
  971. /home/pi/javision/codemp/game/bg_pmove.c:3657:20: warning: passing argument 1 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
  972. dotR = DotProduct(&facingRight, &pm->ps->velocity);
  973. ^
  974. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  975. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  976. /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  977. float DotProduct( const vec3_t vec1, const vec3_t vec2 );
  978. ^~~~~~~~~~
  979. /home/pi/javision/codemp/game/bg_pmove.c:3657:34: warning: passing argument 2 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
  980. dotR = DotProduct(&facingRight, &pm->ps->velocity);
  981. ^
  982. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  983. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  984. /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  985. float DotProduct( const vec3_t vec1, const vec3_t vec2 );
  986. ^~~~~~~~~~
  987. /home/pi/javision/codemp/game/bg_pmove.c:3658:20: warning: passing argument 1 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
  988. dotF = DotProduct(&facingFwd, &pm->ps->velocity);
  989. ^
  990. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  991. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  992. /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  993. float DotProduct( const vec3_t vec1, const vec3_t vec2 );
  994. ^~~~~~~~~~
  995. /home/pi/javision/codemp/game/bg_pmove.c:3658:32: warning: passing argument 2 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
  996. dotF = DotProduct(&facingFwd, &pm->ps->velocity);
  997. ^
  998. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  999. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1000. /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1001. float DotProduct( const vec3_t vec1, const vec3_t vec2 );
  1002. ^~~~~~~~~~
  1003. /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_GrappleSwing’:
  1004. /home/pi/javision/codemp/game/bg_pmove.c:3693:17: warning: passing argument 1 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
  1005. VectorSubtract(&pm->ps->lastHitLoc, &pml.previous_origin, &dist);
  1006. ^
  1007. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1008. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1009. /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1010. void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  1011. ^~~~~~~~~~~~~~
  1012. /home/pi/javision/codemp/game/bg_pmove.c:3693:38: warning: passing argument 2 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
  1013. VectorSubtract(&pm->ps->lastHitLoc, &pml.previous_origin, &dist);
  1014. ^
  1015. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1016. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1017. /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1018. void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  1019. ^~~~~~~~~~~~~~
  1020. /home/pi/javision/codemp/game/bg_pmove.c:3693:60: warning: passing argument 3 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
  1021. VectorSubtract(&pm->ps->lastHitLoc, &pml.previous_origin, &dist);
  1022. ^
  1023. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1024. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1025. /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  1026. void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  1027. ^~~~~~~~~~~~~~
  1028. /home/pi/javision/codemp/game/bg_pmove.c:3695:24: warning: passing argument 1 of ‘VectorLength’ from incompatible pointer type [-Wincompatible-pointer-types]
  1029. length = VectorLength(&dist);
  1030. ^
  1031. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1032. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1033. /home/pi/javision/shared/qcommon/q_math.h:253:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1034. float VectorLength( const vec3_t vec );
  1035. ^~~~~~~~~~~~
  1036. /home/pi/javision/codemp/game/bg_pmove.c:3701:18: warning: passing argument 1 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
  1037. VectorSubtract(&pm->ps->lastHitLoc, &pm->ps->origin, &dist);
  1038. ^
  1039. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1040. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1041. /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1042. void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  1043. ^~~~~~~~~~~~~~
  1044. /home/pi/javision/codemp/game/bg_pmove.c:3701:39: warning: passing argument 2 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
  1045. VectorSubtract(&pm->ps->lastHitLoc, &pm->ps->origin, &dist);
  1046. ^
  1047. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1048. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1049. /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1050. void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  1051. ^~~~~~~~~~~~~~
  1052. /home/pi/javision/codemp/game/bg_pmove.c:3701:56: warning: passing argument 3 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
  1053. VectorSubtract(&pm->ps->lastHitLoc, &pm->ps->origin, &dist);
  1054. ^
  1055. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1056. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1057. /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  1058. void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  1059. ^~~~~~~~~~~~~~
  1060. /home/pi/javision/codemp/game/bg_pmove.c:3702:26: warning: passing argument 1 of ‘VectorLength’ from incompatible pointer type [-Wincompatible-pointer-types]
  1061. length2 = VectorLength(&dist);
  1062. ^
  1063. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1064. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1065. /home/pi/javision/shared/qcommon/q_math.h:253:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1066. float VectorLength( const vec3_t vec );
  1067. ^~~~~~~~~~~~
  1068. /home/pi/javision/codemp/game/bg_pmove.c:3703:19: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
  1069. VectorNormalize(&dist);
  1070. ^
  1071. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1072. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1073. /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  1074. float VectorNormalize( vec3_t vec );
  1075. ^~~~~~~~~~~~~~~
  1076. /home/pi/javision/codemp/game/bg_pmove.c:3707:15: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  1077. VectorScale(&dist, Unknown1, &UnknownVec);
  1078. ^
  1079. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1080. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1081. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1082. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  1083. ^~~~~~~~~~~
  1084. /home/pi/javision/codemp/game/bg_pmove.c:3707:32: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
  1085. VectorScale(&dist, Unknown1, &UnknownVec);
  1086. ^
  1087. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1088. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1089. /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  1090. void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
  1091. ^~~~~~~~~~~
  1092. /home/pi/javision/codemp/game/bg_pmove.c:3708:13: warning: passing argument 1 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
  1093. VectorAdd(&UnknownVec, &pm->ps->velocity, &UnknownVec);
  1094. ^
  1095. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1096. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1097. /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1098. void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  1099. ^~~~~~~~~
  1100. /home/pi/javision/codemp/game/bg_pmove.c:3708:26: warning: passing argument 2 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
  1101. VectorAdd(&UnknownVec, &pm->ps->velocity, &UnknownVec);
  1102. ^
  1103. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1104. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1105. /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1106. void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  1107. ^~~~~~~~~
  1108. /home/pi/javision/codemp/game/bg_pmove.c:3708:45: warning: passing argument 3 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
  1109. VectorAdd(&UnknownVec, &pm->ps->velocity, &UnknownVec);
  1110. ^
  1111. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1112. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1113. /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  1114. void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
  1115. ^~~~~~~~~
  1116. /home/pi/javision/codemp/game/bg_pmove.c:3721:12: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
  1117. VectorSet(&facingAngles, 0, pm->ps->viewangles[1], 0);
  1118. ^
  1119. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1120. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1121. /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  1122. void VectorSet( vec3_t vec, float x, float y, float z );
  1123. ^~~~~~~~~
  1124. /home/pi/javision/codemp/game/bg_pmove.c:3723:15: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  1125. AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
  1126. ^
  1127. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1128. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1129. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1130. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  1131. ^~~~~~~~~~~~
  1132. /home/pi/javision/codemp/game/bg_pmove.c:3723:30: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  1133. AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
  1134. ^
  1135. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1136. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1137. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  1138. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  1139. ^~~~~~~~~~~~
  1140. /home/pi/javision/codemp/game/bg_pmove.c:3723:42: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
  1141. AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
  1142. ^
  1143. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1144. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1145. /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
  1146. void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
  1147. ^~~~~~~~~~~~
  1148. /home/pi/javision/codemp/game/bg_pmove.c:3724:20: warning: passing argument 1 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
  1149. dotR = DotProduct(&facingRight, &pm->ps->velocity);
  1150. ^
  1151. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1152. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1153. /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1154. float DotProduct( const vec3_t vec1, const vec3_t vec2 );
  1155. ^~~~~~~~~~
  1156. /home/pi/javision/codemp/game/bg_pmove.c:3724:34: warning: passing argument 2 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
  1157. dotR = DotProduct(&facingRight, &pm->ps->velocity);
  1158. ^
  1159. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1160. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1161. /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1162. float DotProduct( const vec3_t vec1, const vec3_t vec2 );
  1163. ^~~~~~~~~~
  1164. /home/pi/javision/codemp/game/bg_pmove.c:3725:20: warning: passing argument 1 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
  1165. dotF = DotProduct(&facingFwd, &pm->ps->velocity);
  1166. ^
  1167. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1168. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1169. /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1170. float DotProduct( const vec3_t vec1, const vec3_t vec2 );
  1171. ^~~~~~~~~~
  1172. /home/pi/javision/codemp/game/bg_pmove.c:3725:32: warning: passing argument 2 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
  1173. dotF = DotProduct(&facingFwd, &pm->ps->velocity);
  1174. ^
  1175. In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
  1176. from /home/pi/javision/codemp/game/bg_pmove.c:27:
  1177. /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
  1178. float DotProduct( const vec3_t vec1, const vec3_t vec2 );
  1179. ^~~~~~~~~~
  1180. codemp/game/CMakeFiles/jampgamearm.dir/build.make:230: die Regel für Ziel „codem p/game/CMakeFiles/jampgamearm.dir/bg_pmove.c.o“ scheiterte
  1181. make[2]: *** [codemp/game/CMakeFiles/jampgamearm.dir/bg_pmove.c.o] Fehler 1
  1182. make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet...
  1183. [ 11%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_chat.cpp.o
  1184. CMakeFiles/Makefile2:273: die Regel für Ziel „codemp/game/CMakeFiles/jampgamearm .dir/all“ scheiterte
  1185. make[1]: *** [codemp/game/CMakeFiles/jampgamearm.dir/all] Fehler 2
  1186. make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet...
  1187. [ 12%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_gen.cpp.o
  1188. [ 12%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_goal.cpp.o
  1189. [ 13%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_move.cpp.o
  1190. [ 13%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_weap.cpp.o
  1191. [ 14%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_weight.cpp. o
  1192. [ 14%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ea.cpp.o
  1193. [ 15%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_interface.cpp. o
  1194. [ 15%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_crc.cpp.o
  1195. [ 16%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_libvar.cpp.o
  1196. [ 16%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_log.cpp.o
  1197. [ 17%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_memory.cpp.o
  1198. [ 17%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_precomp.cpp.o
  1199. [ 18%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_script.cpp.o
  1200. [ 18%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_struct.cpp.o
  1201. [ 19%] Building C object codemp/CMakeFiles/botlib.dir/__/shared/qcommon/q_color. c.o
  1202. [ 19%] Building C object codemp/CMakeFiles/botlib.dir/__/shared/qcommon/q_math.c .o
  1203. [ 20%] Building C object codemp/CMakeFiles/botlib.dir/__/shared/qcommon/q_string .c.o
  1204. [ 20%] Building CXX object codemp/CMakeFiles/botlib.dir/__/shared/qcommon/safe/s tring.cpp.o
  1205. [ 21%] Linking CXX static library libbotlib.a
  1206. [ 21%] Built target botlib
  1207. Makefile:149: die Regel für Ziel „all“ scheiterte
  1208. make: *** [all] Fehler 2
  1209. pi@raspberrypi:~/javision/build $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement