[Ohrrpgce] SVN: teeemcee/11198 DrawSlice now skips recursing to children of clipping slices that are of

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sat Aug 3 23:42:22 PDT 2019


teeemcee
2019-08-03 23:42:22 -0700 (Sat, 03 Aug 2019)
579
DrawSlice now skips recursing to children of clipping slices that are off-screen

(Or more precisely, whenever the cliprect has zero size)

Collision detection already made this optimisation (but it's broken! it ignores
padding, which affects the cliprect!)

There is a small compatibility break here: slice autosorting may no longer
happen when it did before. Very unlikely to be noticed.
But the fact that slices aren't refreshed when they were before isn't a problem,
because slice script commands and various functions like collision detection
do an immediate refresh anyway.
---
U   wip/allmodex.bas
U   wip/allmodex.bi
U   wip/ohrhelp/sliceedit_clip.txt
U   wip/slices.bas


More information about the Ohrrpgce mailing list