raze/source
Mitchell Richters e474ebc2b7 - multiple input fixes for both games, and for both cl_syncinput 0 and cl_syncinput 1 modes.
* For RR, `processweapon_r()` was performing angle and horizon changes directly which provided a harsh experience with the default `cl_syncinput 0` mode.
* Added `angAdjust` variable to `player_struct` for use with ticrate angle adjustments.
* Renamed `horizAngleAdjust` to `horizAdjust` so that there is less confusion with the new `angAdjust` variable.
* Removed `horizSkew` variable, can just use `horizAdjust` for this.
* Replaced all calls to `addang()` and `addhoriz()` with the appropriate additions/subtractions to `angAdjust` and `horizAdjust` respectively.
* Removed now unused `addang()` and `addhoriz()` setters from `player_struct`.
* Define new function `resetinputhelpers()` to eliminate code duplication between `processinput_d()` and `processinput_r()` functions.
* Remove `p->q16ang` and `p->q16horiz` direct setting from `FinalizeInput()`.
* Change `applylook()` to accept an `fixed_t adjustment` for changing the player's angle. This can either be `input.q16avel` when `cl_syncinput` is 0, or `sync[snum].q16angvel` when `cl_syncinput` is 1.
* Change `sethorizon()` to accept an `fixed_t adjustment` for changing the player's horizon. This can either be `input.q16horz` when `cl_syncinput` is 0, or `sync[snum].q16horz` when `cl_syncinput` is 1.
* Re-work `sethorizon()` to always adjust `p->q16horiz` using the true pitch code. This closer resembles the EDuke32 implementation as per SVN 7342.
* Re-work returning to center to work off the true pitch code and always ensure that the player returns to center.
* Implement work-around for RR where we need to call `sethorizon()` before the call to `fi.doincrements()` like the original game, but also after the call to `processweapon()` to apply any angle or horizon changes due to weapon recoil, etc. We work around this by calling `sethorizon()` from within `doincrements_r()` only if `cl_syncinput` is 1 and only if `doincrements_r()` is to return 1.
2020-08-03 21:19:45 +10:00
..
blood - oops. Missed change of hudDraw() zDelta from int to double while implementing ae2d2c7948. 2020-08-03 10:23:15 +10:00
build - simplified calcSinTableValue and inlined it. 2020-08-02 22:03:22 +02:00
common - get the frame time right at the start of the frame, not when performing interpolations. 2020-08-02 21:16:01 +02:00
core - change division of delta between currentTime and lastTime from 8 to 72 to ensure smoothratio doesn't clip at 65536. 2020-08-03 10:00:06 +10:00
exhumed - removed the last remaining Blood helpers from the file system, also deleted a few short files whose contents could be moved. 2020-07-27 19:38:41 +02:00
games/duke - multiple input fixes for both games, and for both cl_syncinput 0 and cl_syncinput 1 modes. 2020-08-03 21:19:45 +10:00
glbackend - For RR, pass vehicle TiltStatus through to backend as the double that it is. 2020-08-03 11:06:23 +10:00
libsmackerdec - fixed the cheat handler. 2020-07-25 17:25:21 +02:00
platform - Raze is not GZDoom. Changed to something more generic. (Will do the same update to GZDoom) 2020-06-16 08:01:37 -04:00
sw - quick and dirty fix to get SW menu input cranking again (mostly for testing PR #77 under SW since it's the only game with a clock of 120/3). 2020-07-31 16:26:16 +10:00
thirdparty - removed libdivide for good and the unused C++ wrapper for fix16 along with it. 2020-07-14 20:57:42 +02:00
__autostart.cpp - added the softpoly and Vulkan backend code fron GZDoom. 2020-05-31 10:53:11 +02:00
CMakeLists.txt - adapted the MVE player. 2020-07-23 22:26:07 +02:00
g_pch.h - cleaned up the remaining dependencies on windows.h 2020-02-03 21:30:57 +01:00
gitinfo.cpp - rewrote the screenshot code to use m_png as its backend. 2019-11-02 12:59:59 +01:00
zzautozend.cpp - added the softpoly and Vulkan backend code fron GZDoom. 2020-05-31 10:53:11 +02:00