Commit Graph

88 Commits (cb1569345a6f17da08241e645ab03cb2e1b78d2f)

Author SHA1 Message Date
Silc Lizard (Tokage) Renew afd12e32ad Make AnimationLibrary serialization unuse Dictionary 2025-11-05 11:36:42 +07:00
Lukas Tenbrink d6036462b1 Remove `hash_map.h` include from `a_hash_map.h`, and remove cross conversion operators. 2025-10-06 17:20:31 +07:00
Aaron Franke 3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 +07:00
Thaddeus Crews 2557b0da9f
Merge pull request #101285 from Nazarwadim/use_LocalVector_in_animation
Use `LocalVector` in `Animation`
2025-09-16 20:28:52 +07:00
Luo Zhihao adbd78af91
AnimationTree: Fix `libraries` is stored 2025-09-11 09:41:22 +07:00
Nazarii 1964918e46 Use LocalVector in Animation 2025-06-18 18:37:55 +07:00
LuoZhihao 8ba4656ea3 Compile out editor-only logic within `validate_property` in games 2025-06-12 12:54:19 +07:00
LuoZhihao 713ed59a77 Remove unnecessary `_validate_property()` calling 2025-06-03 21:57:36 +07:00
Rémi Verschelde b7f75578db
Merge pull request #104419 from Ryan-000/fix_animation_mixer_errors
Remove incorrect errors in AnimationMixer
2025-05-13 01:04:33 +07:00
Hugo Locurcio 006c9bb39a
Use a type-hinted dictionary for AnimationLibrary's `libraries` property
This is done at a editor property hint level so that it doesn't break compatibility.
In other words, the actual `libraries` property exposed to the scripting API
remains an untyped Dictionary.
2025-05-06 00:32:30 +07:00
lawnjelly f8f350a32a Add `GLOBAL_GET` cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +07:00
Thaddeus Crews ad40939b6f
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 +07:00
Thaddeus Crews 94282d88f9
Core: Use `Math` namespace for constants 2025-04-10 16:29:30 +07:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +07:00
kobewi bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +07:00
Ryan 8df0234101 Remove incorrect errors in AnimationMixer 2025-03-20 20:00:07 +07:00
Yufeng Ying bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +07:00
Aarni Koskela f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +07:00
Yufeng Ying 73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +07:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +07:00
Thaddeus Crews 37305e40bc Merge pull request #95711 from TokageItLab/warn-oneshot-prop
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 +07:00
Thaddeus Crews fe1c044c73 Merge pull request #99394 from TokageItLab/root-local
Add `root_motion_local` option to AnimationMixer to pre-multiply root motion rotation accumulator before blending
2024-11-22 14:54:24 +07:00
Illauriel 5de38f7fd3 Add persistent folding to Animation Library Editor 2024-11-19 20:01:30 +07:00
Silc Lizard (Tokage) Renew 755bcf4737 Add root_motion_local option to AnimationMixer 2024-11-19 08:25:31 +07:00
Silc Lizard (Tokage) Renew 761a20f7a7 Add hint for oneshot & warning when it will be updated continuously 2024-11-11 01:12:45 +07:00
Nazarii d1dc7afdd5 Fix `capture_cache.animation` was not cached 2024-10-31 19:26:02 +07:00
nazarii 76208f7155 Implement array based hash map 2024-10-24 21:34:12 +07:00
chocola-mint ed13a840fa Add markers to animation 2024-09-29 17:27:36 +07:00
Rémi Verschelde 493f3edce7
Merge pull request #96572 from adamscott/fix-samples-leak
Fix leak when using audio samples instead of streams
2024-09-09 17:51:42 +07:00
kobewi d25e36b015 Fix AnimationLibrary loading 2024-09-05 00:07:23 +07:00
Adam Scott d3ddce6b88
Fix leak when using audio samples instead of streams 2024-09-04 12:56:03 +07:00
Nazarii 660e28f5cb Use static LocalVector for processed_hashes 2024-08-30 19:41:38 +07:00
nazarii 3580ced21e Optimize animations 2024-08-30 19:18:56 +07:00
Silc Lizard (Tokage) Renew 7c4bc0a378 Fix processed_hashes type to Animation::TypeHash from int 2024-07-25 16:21:59 +07:00
Silc Lizard (Tokage) Renew 04ac6a74df Fix total weight calculation to separate track types 2024-07-25 11:23:15 +07:00
Silc Lizard (Tokage) Renew 88e590c9d3 Add approx comparing methods to Animation, use them on time comparison 2024-07-24 01:18:06 +07:00
Silc Lizard (Tokage) Renew e8c2edefd1 Fix Bezier track init value on caching 2024-07-01 01:20:43 +07:00
Silc Lizard (Tokage) Renew e82ec1a8ce Make AnimationTrackCaches invalid when animation is added 2024-06-23 23:33:55 +07:00
Adam Scott 52fa4f05f3
Add samples playback support 2024-06-18 11:06:31 +07:00
Silc Lizard (Tokage) Renew 049c1a5699 Fix force continuous un-interpolatable value is not applied correctly 2024-06-15 11:38:52 +07:00
Silc Lizard (Tokage) Renew bea47d877b Fix seeking Animation immediate after playback for Discrete track 2024-06-08 22:09:37 +07:00
Silc Lizard (Tokage) Renew 3fde32a67e Fix Deterministic blending with Dominant doesn't have init value 2024-05-21 05:23:53 +07:00
kobewi 413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +07:00
kobewi a262d2d881 Add shorthand for using singleton string names 2024-05-11 18:53:08 +07:00
Silc Lizard (Tokage) Renew 36abb55dd2 Add auto_capture option to AnimationPlayer 2024-05-02 19:57:36 +07:00
Silc Lizard (Tokage) Renew b346e2a722 Make seeking animation playback track consider internal seeking 2024-05-01 06:39:17 +07:00
Silc Lizard (Tokage) Renew 9855ffd2e4 Separate value/bezier track caching process in AnimationMixer 2024-04-10 01:37:23 +07:00
Silc Lizard (Tokage) Renew 21082a6834 Make AnimationMixer consider Discrete for RESET track 2024-04-06 05:37:45 +07:00
Silc Lizard (Tokage) Renew 04dd299cba Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB 2024-04-05 01:28:26 +07:00
Silc Lizard (Tokage) Renew c1741fe98e Fix AnimationPlaybackTrack seeking behavior overall
Co-authored-by: jsjtxietian <jsjtxietian@outlook.com>
Co-authored-by: Miguel0312 <miguel.vpereira14@gmail.com>
Co-authored-by: BruceLiCong <citb_li@163.com>
2024-03-23 18:48:29 +07:00