raze-gles/source
Mitchell Richters 5441272bec - SW: Create inline function pspPresentRetractScale() to scale the rate at which weapons present and retract based on the current tile's height vs. the original asset's height.
* Reported to me by @Phredreeke, who had it reported to him from someone else.
* The sword in the widescreen assets pack we load by default has a height of 216px vs 136px of the default tile.
* Because the game presents and retracts weapons at a set rate, the time it took to swap between the sword and other weapons took ~1.58x longer than the original assets.
* This speeds up the present/retract rate based on the loaded asset's height to ensure the weapon switches in the same elapsed time.
* This may be extended to other weapons if required but the sword is the only one I'm aware of that has more height.
* Confirmed no matter what motion the sword was performing, `psp->picndx` was always 2080 so we shouldn't need a hashtable or anything like this.
2021-07-11 19:22:59 +10:00
..
build Remove useless code introduced in bad17f29 2021-07-07 21:31:32 +02:00
common - Backend update from GZDoom. 2021-07-11 09:50:36 +02:00
core - fixed crash when parsing malformed .def file 2021-07-11 10:16:26 +03:00
games - SW: Create inline function pspPresentRetractScale() to scale the rate at which weapons present and retract based on the current tile's height vs. the original asset's height. 2021-07-11 19:22:59 +10:00
glbackend Give -1 to model light index otherwise mLightIndex in renderstate ends up getting set to 0 which is a valid light index 2021-05-13 10:04:40 +02:00
platform - Remove leftover Ion Fury stuffs causing log errors like "Script error, 'D:/Program Files (x86)/Steam/steamapps/common/Ion Fury/fury.grpinfo" line 10: Warning: GRP without game defined. Ignoring'". 2020-09-25 18:06:06 +10:00
thirdparty - macOS backend update, plus moving base64.cpp around. 2020-09-27 16:12:50 +02:00
CMakeLists.txt - moved all font setup out of the C++ code. 2021-05-31 21:20:31 +02:00
g_pch.h - cleaned up the remaining dependencies on windows.h 2020-02-03 21:30:57 +01:00
gitinfo.cpp