Home
last modified time | relevance | path

Searched refs:fix16_sdiv (Results 1 – 9 of 9) sorted by relevance

/dports/games/NBlood/NBlood-a1689a4/source/build/include/
H A Dfix16.hpp120 const Fix16 sdiv(const Fix16 & other) const { return fix16_sdiv(m_value, other.m_value); } in sdiv()
121 const Fix16 sdiv(const fix16_t other) const { return fix16_sdiv(m_value, other); } in sdiv()
122 … const Fix16 sdiv(const double other) const { return fix16_sdiv(m_value, fix16_from_dbl(other)); } in sdiv()
123 …const Fix16 sdiv(const float other) const { return fix16_sdiv(m_value, fix16_from_float(other));… in sdiv()
124 … const Fix16 sdiv(const int16_t other) const { return fix16_sdiv(m_value, fix16_from_int(other)); } in sdiv()
H A Dfix16.h90 extern fix16_t fix16_sdiv(fix16_t inArg0, fix16_t inArg1) FIXMATH_FUNC_ATTRS;
/dports/games/NBlood/NBlood-a1689a4/source/blood/src/
H A Dcontrols.cpp478 input.q16turn = fix16_sadd(input.q16turn, fix16_sdiv(fix16_from_int(info.mousex), F16(32))); in ctrlGetInput()
489 … input.q16mlook = fix16_sadd(input.q16mlook, fix16_sdiv(fix16_from_int(info.mousey), F16(128))); in ctrlGetInput()
504 …im ? gInput.forward : clamp(gInput.forward + fix16_sadd(input.forward, fix16_sdiv(fix16_from_int(-… in ctrlGetInput()
/dports/games/dunelegacy/dunelegacy-0.96.4/src/fixmath/
H A Dfix16_trig.c116 return fix16_sdiv(fix16_sin(inAngle), fix16_cos(inAngle)); in fix16_tan()
H A Dfix16.c448 fix16_t fix16_sdiv(fix16_t inArg0, fix16_t inArg1) in fix16_sdiv() function
/dports/games/dunelegacy/dunelegacy-0.96.4/include/fixmath/
H A Dfix16.h134 extern fix16_t fix16_sdiv(fix16_t inArg0, fix16_t inArg1) FIXMATH_FUNC_ATTRS;
/dports/games/NBlood/NBlood-a1689a4/source/build/src/
H A Dfix16.cpp194 FIXMATH_FUNC_ATTRS fix16_t fix16_sdiv(fix16_t inArg0, fix16_t inArg1) in fix16_sdiv() function
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/
H A Dplayer.cpp3103 input.q16avel = fix16_sadd(input.q16avel, fix16_sdiv(fix16_from_int(info.mousex), F16(32))); in P_GetInput()
3108 input.q16horz = fix16_sadd(input.q16horz, fix16_sdiv(fix16_from_int(info.mousey), F16(64))); in P_GetInput()
3318 …ix16_from_float(scaleAdjustmentToInterval(fix16_to_float(F16(66.666) - fix16_sdiv(pPlayer->q16hori… in P_GetInput()
/dports/games/NBlood/NBlood-a1689a4/source/sw/src/
H A Dplayer.cpp1652 q16angvel += fix16_sdiv(q16angvel, fix16_from_int(4)); in DoPlayerTurn()
1654 *pq16ang += fix16_sdiv(fix16_mul(q16angvel, fix16_from_int(synctics)), fix16_from_int(32)); in DoPlayerTurn()
2044 …caleAdjustmentToInterval(fix16_to_float(fix16_ssub(fix16_from_int(25), fix16_sdiv(pp->q16horizbase… in DoPlayerHorizon()