summaryrefslogtreecommitdiffstats
path: root/scene/resources/sprite_frames.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Optimise Object's `get_argument_options`Micky2024-02-291-1/+3
|
* Add autocompletion for SpriteFrames' methodsMicky2024-01-031-0/+17
|
* Fix `SpriteFrames` data loss on 3-to-4 conversionDanil Alexeev2023-02-221-0/+2
|
* Make AnimatedSprite's playback API consistent with AnimationPlayerSilc Renew2023-01-261-3/+3
|
* Merge pull request #65609 from dalexeev/animated-spriteRémi Verschelde2023-01-051-10/+52
|\ | | | | | | `AnimatedSprite{2D,3D}` improvements
| * `AnimatedSprite{2D,3D}` improvementsDanil Alexeev2023-01-051-10/+52
| | | | | | | | | | * Add support for individual frame duration to `SpriteFrames`. * Various minor improvements.
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
|/ | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-3/+3
| | | | change warnings=all to use /W4.
* Add tests for empty/unnamed arguments to ClassDB, Variant, GDScriptYuri Sizov2022-08-081-1/+1
|
* SpriteFrames: Sort animations alphabeticallyRémi Verschelde2022-07-131-37/+14
| | | | | | | | | | | And finally remove the 'frames' property which was added for compatibility with 2.1 in bed3efb17ede58a2bfc177b47cb3a49091aea30a. Fixes #21765. The 'animations' property on the other hand is needed, contrarily to what its comment said (copy-paste mistake probably). Also removes unused '_get_animation_list'.
* Replace most uses of Map by HashMapreduz2022-05-161-22/+22
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-031-1/+1
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-1/+1
|
* Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio2021-11-031-1/+1
| | | | | This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
* Use range iterators for `Map`Lightning_A2021-09-301-10/+10
|
* Use doubles for time in many other placesAaron Franke2021-08-091-2/+2
|
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-1/+1
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-2/+2
|
* Add PROPERTY_USAGE_NONE and use itAaron Franke2021-06-171-1/+1
|
* Move SpriteFrames to its own file in the resources folderAaron Franke2021-03-161-0/+241