Build 10363
GIT-
Fix OOB access
Nickname SVN e nomi Git sono unificati per persona.
Fix OOB access
update sectors if visibility changed.
Bugged since forever and would have floors and ceilings stay put when alt-wheeling in mapster.
Use a 16-gon instead of an octagon if an ART sky has >8 panels
Backported from NBlood.
Fix smoothness of q16 mouse aiming
Address an oversight in r4600.
Correct an oversight in r3580.
Revert part of r5481. We can't rely on the sprite trackers to tell us when tsprites change.
Fix the oversight in handling tspr->extra from r5400 by setting it to zero in polymer_scansprites.
upload bucket indices through pinned host memory.
fix regression with Y-flipping bit.
add preliminary support for batching draws.
fix synthesis warning.
store map data in a single buffer with a unified vertex type.
fix rendering of middle part of 1-way masked wall.
It does not depend on the "swap bottom wall parts" bit being set. The fix is by matching up the related code with Polymost.
Account for HICTINT_APPLYOVERALTPAL and HICTINT_USEONART.
include wall[].ypanning in wall invalidation logic.
Fixes bug reported here: http://forums.duke4.net/topic/1348-mapster32-problems-and-bugs/page__view__findpost__p__213759
don't draw masked walls with void tile. DONT_BUILD.
This prevents displaying W_FORCEFIELD+1 masks (as e.g. in front of viewscreens) completely black with ART mapping. The old behavior, which is inconsistent with classic, is kept for one-sided masked walls, though.
disable normal/parallax mapping in rotatesprite.
It was plainly noticeable in the editor's tile info display, for example.
factor out polymer_invalidateartmap(), use it in invalidatetile().
This fixes updating the viewscreen in Polymer's ART mapping mode.
factor out polymer_invalidatesprite(), use when viewscreen tex changed.
Also, rewrite invalidatetile() for clarity.
invalidate a wall when its sector's visibility has changed.
in model preprocessing, implement cos/sin by table lookup.
This reduces the proportion of time the trig calculations take of the whole preprocessing from 50% to about 13%.