Build 2416
SVN-
General
Fix apparent horizon not being independent of viewingrange (classic/Polymost).
Show details
The apparent horizon (in units proportional to pixels by a constant factor) was being calculated without normalizing to viewingrange, resulting a discrepancy between the drawn and actual up/down angle with non-default viewingranges (e.g. with r_usenewaspect=1, or when setting it from setaspect). This also means that the center-of-aim will now be the same regardless of the aspect. This fixes many derived bugs: * inconsistency w/ crosshair when shooting a gun and aiming up/down (obviously) * bugs resulting from being able to look up/down too far (garbage non-slope texture-mapping and viewing BIGORBIT skies above the borders in classic). Note: mods that had workaround logic for this bug will have to remove it...
-
General
sector.c: fix a possible oob access of a local array.
-
General
More utils tweaks.
Show details
- remove the objects too on 'clean' - fix warning with 'transpal' on x64 (generates translucency and shade tables)