mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
670a53c402
- Define new boolean 'on_vehicle' in PLAYERp struct for use with interpolating while on vehicle and other checks. - Move horizon code back into separate DoPlayerHorizon() function. Adjusting horizon while in vehicle must come at the end of the DoPlayerOperate*() function. - Make DoPlayerHorizon() accessible in game.cpp. - Change code in DoPlayerHorizon() to process according how 'pp->on_vehicle' is set. - Make scaleAdjustmentToInterval available outside of getinput(). - Don't process input at frame-rate while on a vehicle. Vehicle code is too difficult to process outside of the game's clock. Partially based on NY00123's upstream implementation of tying player input to frame-rate. |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt |