Commit Graph

60 Commits

Author SHA1 Message Date
Bastien Bouclet
23339184ce GRIM: Clean up float data loading 2018-04-14 11:49:35 +02:00
Vincent Pelletier
84f83fe6ea ALL: Rename get_float to READ_LE_FLOAT
For consistency with other functions/macros from common/endian.h .
2017-05-12 13:57:16 +00:00
Joseph Jezak
e34d0ddba3 MATH: Replace Quaternion XYZ with Euler. 2014-09-11 13:38:30 -04:00
Joni Vähämäki
dbfec3b1e8 GRIM: Use quaternions for animation. 2014-07-02 22:29:37 +03:00
Joseph Jezak
78772c999b MATH: Rename getVector3d and add comments for the Vector3d class. 2014-07-01 11:27:02 -04:00
Joel Teichroeb
0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Joel Teichroeb
c0cb2f1f9c GRIM: Use a consitent style for constructor initializers 2013-10-26 13:57:55 -07: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
Giulio Camuffo
920875909d GRIM: Make TextSplitter tell the file name on error 2013-02-04 21:36:38 +01: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
77f4978a42 GRIM: Remove unneeded forbidden symbol exceptions 2012-05-05 22:19:45 -07:00
Joel Teichroeb
0dcfaf8fb1 GRIM: Do not include unneeded headers 2012-04-04 16:11:05 -07:00
jj
fb0f68f634 GRIM: Rewrote Costume::moveHead to generate character head target orientations by using a lookat matrix construction.
Commented places where parent-child transforms are concatenated simply by summing up euler angles, which is not mathematically correct. Also more simplification on Costume::moveHead, and documented a hack in Costume::moveHead.
2012-03-21 11:32:17 +01:00
Joel Teichroeb
af7f68db76 GRIM: Fix some memory leaks related to not always freeing streams 2012-01-20 12:06:01 -08:00
Paweł Kołodziejski
e350c7f777 renames 2012-01-06 23:29:45 +01:00
Andrea Corna
5ca6e3f9e1 GRIM: Make KeyFrame load from a stream instead of a data Block 2011-12-30 17:17:08 +01:00
Andrea Corna
49071ee661 GRIM: Make Costume and TextSplitter load from a stream instead of a data Block 2011-12-30 17:17:08 +01:00
Giulio Camuffo
7b1f87f928 GRIM: Boost of the debug system, using debug channels. 2011-10-10 18:17:22 +02:00
Giulio Camuffo
3e08fb915b GRIM: Fix angles handling in keyframe animations. 2011-09-30 17:43:20 +02:00
Giulio Camuffo
3299ee448a GRIM: Adapt to the function names changes in math. 2011-09-18 19:15:06 +02:00
Giulio Camuffo
d036ca27dc GRIM: Use the new Math::Angle class. 2011-09-18 16:24:08 +02:00
Giulio Camuffo
0083c8619c MATH: Move the math classes to their own math/ dir and Math namespace. 2011-09-14 23:05:52 +02:00
Giulio Camuffo
9b8f540ccd GRIM: Properly implemented the costume marker callback function. 2011-09-03 18:27:53 +02:00
Giulio Camuffo
5f59fff5b3 GRIM: Move the debug levels enum in a separate header. 2011-07-23 15:37:14 +02:00
Giulio Camuffo
692ce7685f GRIM: Some header cleanups. 2011-07-22 22:40:49 +02:00
Giulio Camuffo
784f9ce5b9 GRIM: Move Model::HierNode, Mesh and Face outside of Model. 2011-07-22 22:09:49 +02:00
Giulio Camuffo
244e273050 GRIM: Force the fps of the keyframe anims to 15. Fix #51 2011-07-14 22:12:04 +02:00
Giulio Camuffo
cb257c400a GRIM: Keyframe anims have null nodes sometimes. 2011-06-01 22:52:30 +02:00
Joni Vähämäki
dc82edc787 GRIM: Ignore delta if the flag 256 is set in the animation. Fixes #80 2011-05-28 00:25:34 +03:00
Joni Vähämäki
d095dd96e3 GRIM: Only add the weight to the weight sum if the node was really animated. 2011-05-25 00:12:47 +03:00
Joni Vähämäki
6a40b43f16 GRIM: Apply animations in priority order. 2011-05-24 19:47:39 +03:00
Giulio Camuffo
48232f6311 GRIM: Make sure we don't try to animate nodes which don't exist. 2011-05-23 19:08:07 +02:00
Joel Teichroeb
733b34febc Changed const char * to const Common::String &. 2011-05-22 12:56:37 +08:00
Pawel Kolodziejski
356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Giulio Camuffo
adce38b8bf GRIM: Fix some animations. 2011-05-14 23:10:05 +02:00
Joel Teichroeb
4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07:00
Joel Teichroeb
54d9ad429f Fixed two small issues. 2011-05-13 06:45:35 +08:00
Giulio Camuffo
4caf803b8e GRIM: Sometimes KeyframeAnim::loadBinary overwrites frame nodes. 2011-05-09 21:55:30 +02:00
Giulio Camuffo
d641e8607d GRIM: Fix some memory leaks. 2011-05-09 21:53:41 +02:00
Pawel Kolodziejski
0f5de71f70 sync with scummvm 2011-05-08 15:38:26 +02:00
Giulio Camuffo
1b1d0e0b58 GRIM: Rename TextSplitter's getters. 2011-05-05 11:56:36 +02:00
Joni Vhmki
d7a821ebe0 GRIM: Fixed fading so that it works correctly in the case where a chore is faded out and another is faded in simultaneously. 2011-05-02 23:01:43 +08:00
Pawel Kolodziejski
74796a5de7 strcasecmp->scumm_stricmp 2011-05-01 18:39:28 +02:00
Giulio Camuffo
c0b32c3bcb GRIM: Fix the prorities of certain keyframe animations. 2011-04-30 21:38:20 +02:00
Giulio Camuffo
a3aca9d05a GRIM: Implemented support for fading chores. Might still need adjusting. 2011-04-25 22:08:32 +02:00
Pawel Kolodziejski
b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02:00
Pawel Kolodziejski
0640dcf2c7 synced with scummvm to 2011-Apr-13 2011-04-14 12:41:26 +02:00
Pawel Kolodziejski
55415ee174 fix compilation using msvc 2011-04-10 11:24:03 +02:00
Giulio Camuffo
59dcece9ae Working savegame support.
Implemented also the movement of Manny's head when looking at usable items.
This commit also introduces a new Object class with a ObjectPtr used for
caching the resources loaded by ResourceLoader. This fixes also the lipsync
regression.
2011-03-21 05:41:30 +08:00