-
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for num_plays in animatedTexture (.aPNG) files (#398)
Addition of new functionality to the software by introducing support for the 'num_plays' variable in 'animatedTexture' (.aPNG) files. This variable determines the number of times an animation should loop, and was not previously supported by the software. These changes affect multiple files and include the addition of a new function, as well as modifications to existing functions, in order to fully implement the new feature. The new feature allows for greater flexibility in using animated textures, such as using them for effects on widgets in addition to just backgrounds.
- Loading branch information
Showing
5 changed files
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It crashes if used with classic theme which uses some hack.
m_imageTexture
is NULL in this case:Where
noimage
is empty fileFix: replace with 1x1 transparent png