Commit graph

32 commits

Author SHA1 Message Date
Paweł Kołodziejski
06902574b4
GRIM: Janitorial 2022-06-08 01:12:00 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Joni Vähämäki
3adbd1fdcf EMI: Implement head tracking. 2014-07-02 22:43:50 +03:00
Joni Vähämäki
eb26094de1 EMI: Move methods that require animation state information from AnimationEmi to AnimationStateEmi. 2014-06-15 03:13:30 +03:00
Joni Vähämäki
af7bc0679c EMI: Use a hash map for joint lookup by name. 2014-06-15 03:13:29 +03:00
Joel Teichroeb
0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Joni Vähämäki
47aa1ace87 EMI: Added support for animation priorities and implemented blending. 2014-05-31 02:50:06 +03:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Christian Krause
95bceeb216 EMI: Handling of invalid bone names
Two animations (guy_puton_cap, guy_holdstickystuff) contain bone names
which which don't match any joints. To avoid that the holding actor is
drawn with a wrong orientation, ingore the unknown bone names when
running the animations.

Skeleton::getJointNamed() will now return null for unknown names.
The original behaviour for Actor::getWorldPos and
Actor::getRotationQuat is kept.

This patch fixes the problem, that Guybrush is "lying down" once he
holds the bottle of glue.
2014-02-02 14:26:12 +01:00
Dries Harnie
cfd580bbfa EMI: Draw attached actors w/ joint-relative rotation 2013-08-04 15:15:41 +02:00
Einar Johan Trøan Sømåen
fe3883cecd GRIM: Reformat code to be closer to convention. 2013-07-09 21:12:55 +02:00
Dries Harnie
db48705fbb EMI: Share skeleton transformation among ANIM components 2013-07-06 13:04:03 +02:00
Dries Harnie
10b98b1ce9 EMI: Move skeletal animation to AnimationEmi 2013-07-06 13:04:03 +02:00
Dries Harnie
3bbc66dbf2 EMI: Add Skeleton::{getParentJoint,getJointIndex} 2013-07-06 13:04:02 +02:00
Einar Johan T. Sømåen
e729ab69e8 GRIM/EMI: Reformat Skeleton-class. 2013-05-23 14:20:19 +02:00
Dries Harnie
7fb1ff8085 EMI: Handle missing bones gracefully 2013-05-22 20:26:30 +02:00
Paweł Kołodziejski
175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Joel Teichroeb
639da48924 EMI: Make _rotations and _translations * instead of a ** 2012-04-27 10:17:21 -07:00
Joel Teichroeb
30a2ee7bb5 EMI: Make _bones a * instead of a ** 2012-04-27 10:17:21 -07:00
Joel Teichroeb
c226c2224e EMI: Don't reset joints when resetting the animation 2012-04-27 10:17:20 -07:00
Joel Teichroeb
64a87b6b27 EMI: Fix whitespace in skeleton.cpp 2012-04-27 10:17:19 -07:00
Dries Harnie
34a0a1a82c EMI: Add attaching functionality to actors 2012-03-11 15:24:52 +01:00
Dries Harnie
31bdb231dc EMI: Support multiple animation-operations per joint 2012-03-04 22:52:49 +01:00
Joel Teichroeb
1226e45ac3 EMI: Initial work on getting costumes to draw animations.
Also, an initial split-off for EMI from the costume-class,
now uses it as a base class. (somaen)
2012-02-02 22:01:09 +01:00
Einar Johan T. Sømåen
ede1d61d92 EMI: Add the math to initBone in skeleton. 2012-01-30 23:55:56 +01:00
Einar Johan T. Sømåen
2e0b3ca04d EMI: Add the math for Skeleton::Animate. 2012-01-30 23:48:47 +01:00
Einar Johan T. Sømåen
e78fd28356 EMI: Add in the actual animation code.
We still don't have all the math, but this atleast supplies the logic.
2012-01-30 23:33:34 +01:00
Einar Johan T. Sømåen
a2027a48c9 EMI: Make modelemi load the bone-info contained in the meshbs. 2012-01-30 22:59:18 +01:00
Einar Johan T. Sømåen
27d82c192e EMI: Add a component for the animations in emi. 2012-01-30 22:24:09 +01:00
Einar Johan T. Sømåen
55dc002079 EMI: Add in JohnDoe's load-code for skeleton and animation. 2012-01-30 21:40:19 +01:00
Einar Johan T. Sømåen
76bac36b7d EMI: Move the emi-specifics into its own subfolder 2012-01-29 16:14:36 +01:00
Renamed from engines/grim/skeleton.cpp (Browse further)