Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 10%] Building C object codemp/game/CMakeFiles/jampgamearm.dir/bg_pmove.c.o
- /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_SetVelocityforLedgeMov e’:
- /home/pi/javision/codemp/game/bg_pmove.c:1764:25: warning: implicit declaration of function ‘BG_GetLegsAnimPoint’ [-Wimplicit-function-declaration]
- float animationpoint = BG_GetLegsAnimPoint(ps, pm_entSelf->localAnimIndex);
- ^~~~~~~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1769:15: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorClear(&ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorClear( vec3_t vec );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1774:14: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSet( vec3_t vec, float x, float y, float z );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1775:17: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, NULL, &moveDir, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1775:35: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, NULL, &moveDir, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1776:16: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&moveDir, -30, &moveDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1776:31: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&moveDir, -30, &moveDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1777:15: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&moveDir, &ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1777:25: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&moveDir, &ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1780:16: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorClear(&ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorClear( vec3_t vec );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1785:14: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSet( vec3_t vec, float x, float y, float z );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1786:17: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, NULL, &moveDir, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1786:35: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, NULL, &moveDir, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1787:16: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&moveDir, 30, &moveDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1787:30: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&moveDir, 30, &moveDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1788:15: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&moveDir, &ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1788:25: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&moveDir, &ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1791:16: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorClear(&ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorClear( vec3_t vec );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1811:14: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSet( vec3_t vec, float x, float y, float z );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1812:17: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, &moveDir, NULL, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1812:29: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, &moveDir, NULL, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1813:16: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&moveDir, 70, &moveDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1813:30: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&moveDir, 70, &moveDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1814:15: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&moveDir, &ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1814:25: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&moveDir, &ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1817:16: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorClear(&ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorClear( vec3_t vec );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1821:15: warning: passing argument 1 of ‘VectorClear’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorClear(&ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:251:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorClear( vec3_t vec );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_AdjustAngleForWallGra ’:
- /home/pi/javision/codemp/game/bg_pmove.c:1837:14: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSet( vec3_t vec, float x, float y, float z );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1838:17: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, &fwd, NULL, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1838:29: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, &fwd, NULL, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1839:20: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorNormalize(&fwd);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- float VectorNormalize( vec3_t vec );
- ^~~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1841:15: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&ps->origin, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1841:28: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&ps->origin, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1844:13: warning: passing argument 1 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&traceFrom, LEDGEGRABDISTANCE, &fwd, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1844:44: warning: passing argument 3 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&traceFrom, LEDGEGRABDISTANCE, &fwd, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1844:50: warning: passing argument 4 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&traceFrom, LEDGEGRABDISTANCE, &fwd, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1846:22: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(&trace, &traceFrom, NULL, NULL, &traceTo, ps->clientNum, MASK_SOLI D);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1846:22: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1846:46: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(&trace, &traceFrom, NULL, NULL, &traceTo, ps->clientNum, MASK_SOLI D);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1846:46: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1855:33: warning: passing argument 1 of ‘vectoyaw’ from incompatible pointer type [-Wincompatible-pointer-types]
- ps->viewangles[1] = vectoyaw(&trace.plane.normal) + 180;
- ^
- In file included from /home/pi/javision/codemp/game/bg_pmove.c:28:0:
- /home/pi/javision/codemp/game/bg_public.h:1191:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float vectoyaw( const vec3_t vec );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1873:5: error: too many arguments to fu nction ‘PM_SetAnim’
- PM_SetAnim(SETANIM_BOTH, BOTH_LEDGE_HOLD, SETANIM_FLAG_OVERRIDE, 0);
- ^~~~~~~~~~
- In file included from /home/pi/javision/codemp/game/bg_pmove.c:29:0:
- /home/pi/javision/codemp/game/bg_local.h:114:6: note: declared here
- void PM_SetAnim(int setAnimParts,int anim,int setAnimFlags);
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1885:6: error: too many arguments to fu nction ‘PM_SetAnim’
- PM_SetAnim(SETANIM_BOTH, BOTH_LEDGE_LEFT, AFLAG_PACE, 0);
- ^~~~~~~~~~
- In file included from /home/pi/javision/codemp/game/bg_pmove.c:29:0:
- /home/pi/javision/codemp/game/bg_local.h:114:6: note: declared here
- void PM_SetAnim(int setAnimParts,int anim,int setAnimFlags);
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1891:6: error: too many arguments to fu nction ‘PM_SetAnim’
- PM_SetAnim(SETANIM_BOTH, BOTH_LEDGE_RIGHT, AFLAG_PACE, 0);
- ^~~~~~~~~~
- In file included from /home/pi/javision/codemp/game/bg_pmove.c:29:0:
- /home/pi/javision/codemp/game/bg_local.h:114:6: note: declared here
- void PM_SetAnim(int setAnimParts,int anim,int setAnimFlags);
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1901:5: error: too many arguments to fu nction ‘PM_SetAnim’
- PM_SetAnim(SETANIM_BOTH, BOTH_LEDGE_MERCPULL, SETANIM_FLAG_OVERRIDE | SETAN IM_FLAG_HOLD | SETANIM_FLAG_HOLDLESS, 0);
- ^~~~~~~~~~
- In file included from /home/pi/javision/codemp/game/bg_pmove.c:29:0:
- /home/pi/javision/codemp/game/bg_local.h:114:6: note: declared here
- void PM_SetAnim(int setAnimParts,int anim,int setAnimFlags);
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c: In function ‘LedgeTrace’:
- /home/pi/javision/codemp/game/bg_pmove.c:1956:11: warning: passing argument 1 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&pm->ps->origin, LEDGEGRABDISTANCE, dir, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1956:47: warning: passing argument 3 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&pm->ps->origin, LEDGEGRABDISTANCE, dir, &traceTo);
- ^~~
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1956:52: warning: passing argument 4 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&pm->ps->origin, LEDGEGRABDISTANCE, dir, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1957:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&pm->ps->origin, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1957:30: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&pm->ps->origin, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1962:19: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DEA DSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1962:19: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1962:43: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DEA DSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1962:43: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1965:12: warning: passing argument 1 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&trace->endpos, 0.5f, dir, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1965:34: warning: passing argument 3 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&trace->endpos, 0.5f, dir, &traceTo);
- ^~~
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1965:39: warning: passing argument 4 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&trace->endpos, 0.5f, dir, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1967:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&traceTo, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1967:24: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&traceTo, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1971:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1971:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1971:44: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1971:44: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1978:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&traceTo, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1978:24: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&traceTo, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1981:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1981:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1981:44: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1981:44: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1987:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&trace->endpos, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1987:30: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&trace->endpos, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1990:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1990:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1990:44: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1990:44: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:1994:14: warning: passing argument 1 of ‘vectoangles’ from incompatible pointer type [-Wincompatible-pointer-types]
- vectoangles(&trace->plane.normal, &wallangles);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:146:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void vectoangles( const vec3_t value1, vec3_t angles );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1994:36: warning: passing argument 2 of ‘vectoangles’ from incompatible pointer type [-Wincompatible-pointer-types]
- vectoangles(&trace->plane.normal, &wallangles);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:146:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void vectoangles( const vec3_t value1, vec3_t angles );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1999:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&trace->endpos, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:1999:30: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&trace->endpos, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2002:14: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&pm->ps->origin, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2002:31: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&pm->ps->origin, &traceFrom);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2007:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:2007:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:2007:44: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(trace, &traceFrom, NULL, NULL, &traceTo, pm->ps->clientNum, MASK_DE ADSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:2007:44: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:2009:15: warning: passing argument 1 of ‘vectoangles’ from incompatible pointer type [-Wincompatible-pointer-types]
- vectoangles(&trace->plane.normal, &wallangles);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:146:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void vectoangles( const vec3_t value1, vec3_t angles );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2009:37: warning: passing argument 2 of ‘vectoangles’ from incompatible pointer type [-Wincompatible-pointer-types]
- vectoangles(&trace->plane.normal, &wallangles);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:146:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void vectoangles( const vec3_t value1, vec3_t angles );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2013:23: warning: passing argument 1 of ‘Distance’ from incompatible pointer type [-Wincompatible-pointer-types]
- *lerpfwd = Distance(&trace->endpos, &traceFrom) - LEDGEHOROFFSET;
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:268:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float Distance( const vec3_t p1, const vec3_t p2 );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2013:39: warning: passing argument 2 of ‘Distance’ from incompatible pointer type [-Wincompatible-pointer-types]
- *lerpfwd = Distance(&trace->endpos, &traceFrom) - LEDGEHOROFFSET;
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:268:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float Distance( const vec3_t p1, const vec3_t p2 );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2014:23: warning: passing argument 1 of ‘vectoyaw’ from incompatible pointer type [-Wincompatible-pointer-types]
- *lerpyaw = vectoyaw(&trace->plane.normal) + 180;
- ^
- In file included from /home/pi/javision/codemp/game/bg_pmove.c:28:0:
- /home/pi/javision/codemp/game/bg_public.h:1191:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float vectoyaw( const vec3_t vec );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_CheckGrab’:
- /home/pi/javision/codemp/game/bg_pmove.c:2047:12: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSet(&fwdAngles, 0, pm->ps->viewangles[1], 0.0f);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSet( vec3_t vec, float x, float y, float z );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2048:15: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, &checkDir, NULL, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2048:27: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, &checkDir, NULL, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2050:21: warning: passing argument 1 of ‘VectorCompare’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (!VectorCompare(&pm->ps->velocity, &vec3_origin)) {//player is moving
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:264:10: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- qboolean VectorCompare( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2050:40: warning: passing argument 2 of ‘VectorCompare’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (!VectorCompare(&pm->ps->velocity, &vec3_origin)) {//player is moving
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:264:10: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- qboolean VectorCompare( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2064:19: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, NULL, &checkDir, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2064:37: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, NULL, &checkDir, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2065:22: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorNormalize(&checkDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- float VectorNormalize( vec3_t vec );
- ^~~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2068:19: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, NULL, &checkDir, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2068:37: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, NULL, &checkDir, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2069:18: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&checkDir, -1, &checkDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2069:33: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&checkDir, -1, &checkDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2070:22: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorNormalize(&checkDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- float VectorNormalize( vec3_t vec );
- ^~~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2077:18: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, &checkDir, NULL, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2077:30: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&fwdAngles, &checkDir, NULL, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2078:17: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&checkDir, -1, &checkDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2078:32: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&checkDir, -1, &checkDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2079:21: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorNormalize(&checkDir);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- float VectorNormalize( vec3_t vec );
- ^~~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2088:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&pm->ps->origin, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2088:30: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&pm->ps->origin, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2089:11: warning: passing argument 1 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&pm->ps->origin, lerpfwd, &checkDir, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2089:37: warning: passing argument 3 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&pm->ps->origin, lerpfwd, &checkDir, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2089:48: warning: passing argument 4 of ‘VectorMA’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorMA(&pm->ps->origin, lerpfwd, &checkDir, &traceTo);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:249:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorMA( const vec3_t vec1, float scale, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2093:20: warning: passing argument 2 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(&trace, &pm->ps->origin, &pm->mins, &pm->maxs, &traceTo, pm->ps->cli entNum, MASK_PLAYERSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:2093:20: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:2093:37: warning: passing argument 3 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(&trace, &pm->ps->origin, &pm->mins, &pm->maxs, &traceTo, pm->ps->cli entNum, MASK_PLAYERSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:2093:37: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:2093:48: warning: passing argument 4 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(&trace, &pm->ps->origin, &pm->mins, &pm->maxs, &traceTo, pm->ps->cli entNum, MASK_PLAYERSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:2093:48: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /home/pi/javision/codemp/game/bg_pmove.c:2093:59: warning: passing argument 5 of ‘pm->trace’ from incompatible pointer type [-Wincompatible-pointer-types]
- pm->trace(&trace, &pm->ps->origin, &pm->mins, &pm->maxs, &traceTo, pm->ps->cli entNum, MASK_PLAYERSOLID);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:2093:59: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- /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]
- PM_SetPMViewAngle(pm->ps, &pm->ps->viewangles, &pm->cmd);
- ^
- /home/pi/javision/codemp/game/bg_pmove.c:1317:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void PM_SetPMViewAngle(playerState_t *ps, vec3_t angle, usercmd_t *ucmd)
- ^~~~~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2106:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&trace.endpos, &pm->ps->origin);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2106:28: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&trace.endpos, &pm->ps->origin);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2107:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&vec3_origin, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:2107:27: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&vec3_origin, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_GrappleMove’:
- /home/pi/javision/codemp/game/bg_pmove.c:3639:14: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&pml.forward, -16, &v);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3639:33: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&pml.forward, -16, &v);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3640:12: warning: passing argument 1 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorAdd(&pm->ps->lastHitLoc, &v, &v);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3640:33: warning: passing argument 2 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorAdd(&pm->ps->lastHitLoc, &v, &v);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3640:37: warning: passing argument 3 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorAdd(&pm->ps->lastHitLoc, &v, &v);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3641:17: warning: passing argument 1 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSubtract(&v, &pm->ps->origin, &vel);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3641:21: warning: passing argument 2 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSubtract(&v, &pm->ps->origin, &vel);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3641:38: warning: passing argument 3 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSubtract(&v, &pm->ps->origin, &vel);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3642:22: warning: passing argument 1 of ‘VectorLength’ from incompatible pointer type [-Wincompatible-pointer-types]
- vLen = VectorLength(&vel);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:253:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float VectorLength( const vec3_t vec );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3643:18: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorNormalize(&vel);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- float VectorNormalize( vec3_t vec );
- ^~~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3646:15: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&vel, 10 * vLen, &vel);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3646:32: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&vel, 10 * vLen, &vel);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3648:15: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&vel, 800, &vel);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3648:26: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&vel, 800, &vel);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3650:13: warning: passing argument 1 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&vel, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3650:19: warning: passing argument 2 of ‘VectorCopy’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorCopy(&vel, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:252:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorCopy( const vec3_t vecIn, vec3_t vecOut );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3654:12: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSet(&facingAngles, 0, pm->ps->viewangles[1], 0);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSet( vec3_t vec, float x, float y, float z );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3656:15: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3656:30: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- [ 11%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_char.cpp.o
- /home/pi/javision/codemp/game/bg_pmove.c:3656:42: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3657:20: warning: passing argument 1 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
- dotR = DotProduct(&facingRight, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float DotProduct( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3657:34: warning: passing argument 2 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
- dotR = DotProduct(&facingRight, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float DotProduct( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3658:20: warning: passing argument 1 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
- dotF = DotProduct(&facingFwd, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float DotProduct( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3658:32: warning: passing argument 2 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
- dotF = DotProduct(&facingFwd, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float DotProduct( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c: In function ‘PM_GrappleSwing’:
- /home/pi/javision/codemp/game/bg_pmove.c:3693:17: warning: passing argument 1 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSubtract(&pm->ps->lastHitLoc, &pml.previous_origin, &dist);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3693:38: warning: passing argument 2 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSubtract(&pm->ps->lastHitLoc, &pml.previous_origin, &dist);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3693:60: warning: passing argument 3 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSubtract(&pm->ps->lastHitLoc, &pml.previous_origin, &dist);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3695:24: warning: passing argument 1 of ‘VectorLength’ from incompatible pointer type [-Wincompatible-pointer-types]
- length = VectorLength(&dist);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:253:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float VectorLength( const vec3_t vec );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3701:18: warning: passing argument 1 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSubtract(&pm->ps->lastHitLoc, &pm->ps->origin, &dist);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3701:39: warning: passing argument 2 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSubtract(&pm->ps->lastHitLoc, &pm->ps->origin, &dist);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3701:56: warning: passing argument 3 of ‘VectorSubtract’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSubtract(&pm->ps->lastHitLoc, &pm->ps->origin, &dist);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:247:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSubtract( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3702:26: warning: passing argument 1 of ‘VectorLength’ from incompatible pointer type [-Wincompatible-pointer-types]
- length2 = VectorLength(&dist);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:253:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float VectorLength( const vec3_t vec );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3703:19: warning: passing argument 1 of ‘VectorNormalize’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorNormalize(&dist);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:256:7: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- float VectorNormalize( vec3_t vec );
- ^~~~~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3707:15: warning: passing argument 1 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&dist, Unknown1, &UnknownVec);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3707:32: warning: passing argument 3 of ‘VectorScale’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorScale(&dist, Unknown1, &UnknownVec);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:248:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorScale( const vec3_t vecIn, float scale, vec3_t vecOut );
- ^~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3708:13: warning: passing argument 1 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorAdd(&UnknownVec, &pm->ps->velocity, &UnknownVec);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3708:26: warning: passing argument 2 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorAdd(&UnknownVec, &pm->ps->velocity, &UnknownVec);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3708:45: warning: passing argument 3 of ‘VectorAdd’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorAdd(&UnknownVec, &pm->ps->velocity, &UnknownVec);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:246:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorAdd( const vec3_t vec1, const vec3_t vec2, vec3_t vecOut );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3721:12: warning: passing argument 1 of ‘VectorSet’ from incompatible pointer type [-Wincompatible-pointer-types]
- VectorSet(&facingAngles, 0, pm->ps->viewangles[1], 0);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:250:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void VectorSet( vec3_t vec, float x, float y, float z );
- ^~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3723:15: warning: passing argument 1 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3723:30: warning: passing argument 2 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3723:42: warning: passing argument 3 of ‘AngleVectors’ from incompatible pointer type [-Wincompatible-pointer-types]
- AngleVectors(&facingAngles, &facingFwd, &facingRight, NULL);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:274:6: note: expected ‘float *’ but ar gument is of type ‘float (*)[3]’
- void AngleVectors( const vec3_t angles, vec3_t forward, vec3_t right, vec3_t up );
- ^~~~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3724:20: warning: passing argument 1 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
- dotR = DotProduct(&facingRight, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float DotProduct( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3724:34: warning: passing argument 2 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
- dotR = DotProduct(&facingRight, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float DotProduct( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3725:20: warning: passing argument 1 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
- dotF = DotProduct(&facingFwd, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float DotProduct( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~
- /home/pi/javision/codemp/game/bg_pmove.c:3725:32: warning: passing argument 2 of ‘DotProduct’ from incompatible pointer type [-Wincompatible-pointer-types]
- dotF = DotProduct(&facingFwd, &pm->ps->velocity);
- ^
- In file included from /home/pi/javision/codemp/qcommon/q_shared.h:51:0,
- from /home/pi/javision/codemp/game/bg_pmove.c:27:
- /home/pi/javision/shared/qcommon/q_math.h:263:7: note: expected ‘const float *’ but argument is of type ‘float (*)[3]’
- float DotProduct( const vec3_t vec1, const vec3_t vec2 );
- ^~~~~~~~~~
- codemp/game/CMakeFiles/jampgamearm.dir/build.make:230: die Regel für Ziel „codem p/game/CMakeFiles/jampgamearm.dir/bg_pmove.c.o“ scheiterte
- make[2]: *** [codemp/game/CMakeFiles/jampgamearm.dir/bg_pmove.c.o] Fehler 1
- make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet...
- [ 11%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_chat.cpp.o
- CMakeFiles/Makefile2:273: die Regel für Ziel „codemp/game/CMakeFiles/jampgamearm .dir/all“ scheiterte
- make[1]: *** [codemp/game/CMakeFiles/jampgamearm.dir/all] Fehler 2
- make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet...
- [ 12%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_gen.cpp.o
- [ 12%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_goal.cpp.o
- [ 13%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_move.cpp.o
- [ 13%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_weap.cpp.o
- [ 14%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ai_weight.cpp. o
- [ 14%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_ea.cpp.o
- [ 15%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/be_interface.cpp. o
- [ 15%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_crc.cpp.o
- [ 16%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_libvar.cpp.o
- [ 16%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_log.cpp.o
- [ 17%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_memory.cpp.o
- [ 17%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_precomp.cpp.o
- [ 18%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_script.cpp.o
- [ 18%] Building CXX object codemp/CMakeFiles/botlib.dir/botlib/l_struct.cpp.o
- [ 19%] Building C object codemp/CMakeFiles/botlib.dir/__/shared/qcommon/q_color. c.o
- [ 19%] Building C object codemp/CMakeFiles/botlib.dir/__/shared/qcommon/q_math.c .o
- [ 20%] Building C object codemp/CMakeFiles/botlib.dir/__/shared/qcommon/q_string .c.o
- [ 20%] Building CXX object codemp/CMakeFiles/botlib.dir/__/shared/qcommon/safe/s tring.cpp.o
- [ 21%] Linking CXX static library libbotlib.a
- [ 21%] Built target botlib
- Makefile:149: die Regel für Ziel „all“ scheiterte
- make: *** [all] Fehler 2
- pi@raspberrypi:~/javision/build $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement