Sprite.AddNewFrames ignores the extaSpace argument
| Project: | AgateLib |
| Version: | 0.3.1 |
| Component: | Display |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Jump to:
Description
In the Sprite class in the fully implemented AddNewFrames method, the function argument extraSpace is completely ignored.
In addition, the startingPoint does not influence the next row's X properly when doing the 'line wrap' thing. The row starts again at 0, which if the sprites are separated into a grib with space all around them isn't exactly good.
I have committed an untested patch in rev. 1236 to fix the extraSpace issue. Let me know if it works for you.
The line wrap issue is by design, although I recognize the need for this to be more flexible.