Combine a list of tiles
PhTile_t * PhCoalesceTiles( PhTile_t *tiles );
ph
PhCoalesceTiles() combines the tiles in the list pointed to by tiles as much as possible. This function works best on a sorted, merged list of tiles.
Don't free() the list of tiles; instead, use PhFreeTiles() to return the tiles to the internal pool. |
A pointer to the list, which is always the same as the pointer given.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhAddMergeTiles(), PhClipTilings(), PhCopyTiles(), PhDeTranslateTiles(), PhFreeTiles(), PhGetTile(), PhIntersectTilings(), PhMergeTiles(), PhRectsToTiles(), PhSortTiles(), PhTile_t, PhTilesToRects(), PhTranslateTiles()
“Using damage tiles” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide