* Starts a block of sprites, which are "combined" into a single bounding box. * * Subsequent calls to #AddSortableSpriteToDraw will be drawn into the same bounding box. * That is: The first sprite that is not clipped by the viewport defines the bounding box, and * the following sprites will be child sprites to that one. * * That implies: * - The drawing order is definite. No other sprites
| 762 | * You cannot nest "combined" blocks. |
| 763 | */ |
| 764 | void StartSpriteCombine() |
| 765 | { |
| 766 | assert(_vd.combine_sprites == SPRITE_COMBINE_NONE); |
| 767 | _vd.combine_sprites = SPRITE_COMBINE_PENDING; |
| 768 | } |
| 769 | |
| 770 | /** |
| 771 | * Terminates a block of sprites started by #StartSpriteCombine. |
no outgoing calls
no test coverage detected